summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorAlex <aleksandrosansan@gmail.com>2022-09-25 18:12:14 +0200
committerAlex <aleksandrosansan@gmail.com>2022-09-25 18:12:14 +0200
commitb3bda415da6b91865ee371bf27e97f7dc0992c04 (patch)
tree7c47ce72e9507cdd29906c26071a9e3415894482 /.github
parentbuild: harden label_pr.yml permissions (diff)
downloadawx-b3bda415da6b91865ee371bf27e97f7dc0992c04.tar.xz
awx-b3bda415da6b91865ee371bf27e97f7dc0992c04.zip
build: harden label_issue.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/label_issue.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/label_issue.yml b/.github/workflows/label_issue.yml
index ead15724bb..d5b00d1d29 100644
--- a/.github/workflows/label_issue.yml
+++ b/.github/workflows/label_issue.yml
@@ -6,6 +6,10 @@ on:
- opened
- reopened
+ permissions:
+ contents: read # to fetch code
+ issues: write # to label issues
+
jobs:
triage:
runs-on: ubuntu-latest