diff --git a/.github/workflows/label_issue.yml b/.github/workflows/label_issue.yml index d5b00d1d29..2e55d961b1 100644 --- a/.github/workflows/label_issue.yml +++ b/.github/workflows/label_issue.yml @@ -6,9 +6,9 @@ on: - opened - reopened - permissions: - contents: read # to fetch code - issues: write # to label issues +permissions: + contents: write # to fetch code + issues: write # to label issues jobs: triage: diff --git a/.github/workflows/label_pr.yml b/.github/workflows/label_pr.yml index cd6036958f..fc7f99debb 100644 --- a/.github/workflows/label_pr.yml +++ b/.github/workflows/label_pr.yml @@ -8,7 +8,7 @@ on: - synchronize permissions: - contents: read # to determine modified files (actions/labeler) + contents: write # to determine modified files (actions/labeler) pull-requests: write # to add labels to PRs (actions/labeler) jobs: