Skip to content

[pull] main from freeCodeCamp:main #8131

[pull] main from freeCodeCamp:main

[pull] main from freeCodeCamp:main #8131

name: GitHub - Label PRs

Check warning on line 1 in .github/workflows/github-labeler.yaml

View workflow run for this annotation

GitHub Actions / GitHub - Label PRs

Workflow execution policy warning (evaluate mode)

On November 2, 2026, GitHub will restrict `pull_request_target` on public repositories by default. To continue allowing the event trigger, configure an Actions policy. Learn more: https://gh.io/securely-using-pull_request_target#default-policy-for-pull_request_target
on:
- pull_request_target
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.workflow_run.head_branch || github.ref }}
cancel-in-progress: true
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-24.04
steps:
- uses: actions/labeler@b8dd2d9be0f68b860e7dae5dae7d772984eacd6d # v6
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
sync-labels: true