Set more specific GitHub token permissions on workflows. #796
Workflow file for this run
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: "Pull Request Labeler" | |
permissions: | |
contents: read | |
pull-requests: write | |
on: | |
- pull_request | |
jobs: | |
triage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: DataDog/labeler@glob-all | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" |