Skip to content

Commit b6486a1

Browse files
authored
Update welcome-new-users.yml
Fix issue permissions for pr-opened and pr-merged Signed-off-by: Yacine Kheddache <yacine@microcks.io>
1 parent 849beb2 commit b6486a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/welcome-new-users.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
if: github.event_name == 'pull_request' && github.event.action == 'opened'
4747
runs-on: ubuntu-latest
4848
permissions:
49-
pull-requests: write
49+
issues: write
5050
steps:
5151
- uses: wow-actions/welcome@68019c2c271561f63162fea75bb7707ef8a02c85 # To pin v1.3.1
5252
with:
@@ -64,7 +64,7 @@ jobs:
6464
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true
6565
runs-on: ubuntu-latest
6666
permissions:
67-
pull-requests: write
67+
issues: write
6868
steps:
6969
- uses: wow-actions/welcome@68019c2c271561f63162fea75bb7707ef8a02c85 # To pin v1.3.1
7070
with:

0 commit comments

Comments
 (0)