summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorJohn Westcott IV <32551173+john-westcott-iv@users.noreply.github.com>2023-06-15 20:56:40 +0200
committerGitHub <noreply@github.com>2023-06-15 20:56:40 +0200
commitba99ddfd822ed50b7e58543b48e9f6126042db23 (patch)
tree4147801fe48610fc2611b58b5747ee30bb31eac5 /.github/workflows
parentAdd AWS Secretsmanager plugin (#13778) (diff)
downloadawx-ba99ddfd822ed50b7e58543b48e9f6126042db23.tar.xz
awx-ba99ddfd822ed50b7e58543b48e9f6126042db23.zip
Fix PR and issue labeler job permissions (#14134)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/label_issue.yml6
-rw-r--r--.github/workflows/label_pr.yml2
2 files changed, 4 insertions, 4 deletions
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: