Merge pull request #5990 from turrisxyz/setup-permissions

chore: Set permissions for GitHub actions
This commit is contained in:
Clinton Wolfe 2022-04-27 20:41:50 -04:00 committed by GitHub
commit cb0a6c8197
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,8 +2,14 @@ name: "Pull Request Labeler"
on:
- pull_request_target
permissions:
contents: read
jobs:
triage:
permissions:
contents: read # for actions/labeler to determine modified files
pull-requests: write # for actions/labeler to add labels to PRs
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@main