mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-29 09:01:04 -05:00
25 lines
646 B
YAML
25 lines
646 B
YAML
name: GitHub - Label PRs
|
|
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-22.04
|
|
steps:
|
|
- uses: actions/labeler@ac9175f8a1f3625fd0d4fb234536d26811351594 # v4
|
|
with:
|
|
repo-token: '${{ secrets.GITHUB_TOKEN }}'
|
|
sync-labels: true
|