Conventional labeler will label your PR based on your PR's feature if it follows the conventional commit's guideline
- access_token: can be set by using
${{ secrets.GITHUB_TOKEN }}
label:
runs-on: ubuntu-latest
name: Lint PR
steps:
- name: label
uses: action-runner/conventional-labeler@v1
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Get the output
run: echo "The labels were ${{ steps.label.outputs.labels }}"