freeCodeCamp/.github/workflows/labeler.yaml

21 lines
482 B
YAML

name: GitHub - Label PRs
on:
- pull_request_target
permissions:
contents: read
jobs:
triage:
permissions:
# for actions/labeler to determine modified files
contents: read
# for actions/labeler to add labels to PRs
pull-requests: write
runs-on: ubuntu-20.04
steps:
- uses: actions/labeler@9fd24f1f9d6ceb64ba34d181b329ee72f99978a0 # tag=v4
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
sync-labels: true