Skip to content

Commit 6d8406f

Browse files
Merge pull request #81 from ansible-lockdown/pub_welcome
updated workflow permissions
2 parents ffd1682 + 9cee2be commit 6d8406f

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/devel_pipeline_validation.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,17 @@
1717
# Allow manual running of workflow
1818
workflow_dispatch:
1919

20-
# Allow permissions for AWS auth
21-
permissions:
22-
id-token: write
23-
contents: read
24-
pull-requests: read
25-
2620
# A workflow run is made up of one or more jobs
2721
# that can run sequentially or in parallel
2822
jobs:
2923
# This will create messages for first time contributers and direct them to the Discord server
3024
welcome:
3125
runs-on: ubuntu-latest
3226

27+
permissions:
28+
issues: write
29+
pull-requests: write
30+
3331
steps:
3432
- uses: actions/first-interaction@main
3533
with:
@@ -45,6 +43,13 @@
4543
playbook-test:
4644
# The type of runner that the job will run on
4745
runs-on: self-hosted
46+
47+
# Allow permissions for AWS auth
48+
permissions:
49+
id-token: write
50+
contents: read
51+
pull-requests: read
52+
4853
env:
4954
ENABLE_DEBUG: ${{ vars.ENABLE_DEBUG }}
5055
# Imported as a variable by terraform

0 commit comments

Comments
 (0)