Add authorization scriptlet #2274
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Triaging | |
on: | |
- pull_request_target | |
permissions: | |
contents: read | |
jobs: | |
label: | |
permissions: | |
contents: read # for actions/labeler to determine modified files | |
pull-requests: write # for actions/labeler to add labels to PRs | |
name: PR labels | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/labeler@v5 | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
sync-labels: true |