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: [PATCH] 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(-) diff --git a/.github/workflows/label_issue.yml b/.github/workflows/label_issue.yml index d5b00d1d295f..2e55d961b10e 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 cd6036958ff1..fc7f99debbf7 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: