Skip to content

Commit

Permalink
GH-35706: [CI] Set minimal permissions on pr_review_trigger.yml (#35708)
Browse files Browse the repository at this point in the history
Closes #35706 
* Closes: #35706

Authored-by: Diogo Teles Sant'Anna <[email protected]>
Signed-off-by: Raúl Cumplido <[email protected]>
  • Loading branch information
diogoteles08 authored May 24, 2023
1 parent dcdeab7 commit c4ea194
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pr_review_trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
name: "Label when reviewed"
on: pull_request_review

permissions:
contents: read

jobs:
# due to GitHub Actions permissions we can't change labels on the pull_request_review
# workflow. We trigger a new workflow run which will have permissions to add labels.
Expand Down

0 comments on commit c4ea194

Please sign in to comment.