From ba99ddfd822ed50b7e58543b48e9f6126042db23 Mon Sep 17 00:00:00 2001 From: John Westcott IV <32551173+john-westcott-iv@users.noreply.github.com> Date: Thu, 15 Jun 2023 14:56:40 -0400 Subject: Fix PR and issue labeler job permissions (#14134) --- .github/workflows/label_issue.yml | 6 +++--- .github/workflows/label_pr.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to '.github/workflows') 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: -- cgit v1.2.3