.github/workflows/pr-auto-tag.yaml
raw| 1 | name: PR AutoTag |
| 2 | on: |
| 3 | pull_request_target: |
| 4 | types: [opened, reopened, synchronized, edited] |
| 5 | permissions: |
| 6 | contents: read # to determine modified files (actions/labeler) |
| 7 | |
| 8 | jobs: |
| 9 | triage: |
| 10 | permissions: |
| 11 | contents: read # to determine modified files (actions/labeler) |
| 12 | pull-requests: write # to add labels to PRs (actions/labeler) |
| 13 | |
| 14 | runs-on: ubuntu-latest |
| 15 | steps: |
| 16 | - uses: actions/labeler@v3 |
| 17 | with: |
| 18 | repo-token: "${{ secrets.GITHUB_TOKEN }}" |
| 19 |