Skip to content

Commit ec0a24f

Browse files
committed
ci: update WELCOME-NEW-USERS workflow from global .github repo
Signed-off-by: microcks-bot <info@microcks.io>
1 parent 42d94c9 commit ec0a24f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ name: Welcome New Users with Thanks and Tip non-stargazers ;-)
88
on:
99
issues:
1010
types: [opened]
11-
pull_request_target:
11+
pull_request:
1212
types: [opened, closed]
1313

1414
# Explicitly disable all default GITHUB_TOKEN permissions at the workflow level.
@@ -46,10 +46,10 @@ jobs:
4646
🙏 It really helps the project to gain momentum and credibility. It's a small contribution back to the project with a big impact.
4747
4848
welcome-pr-opened:
49-
if: github.event_name == 'pull_request_target' && github.event.action == 'opened'
49+
if: github.event_name == 'pull_request' && github.event.action == 'opened'
5050
runs-on: ubuntu-latest
5151
permissions:
52-
issues: write
52+
pull-requests: write
5353
steps:
5454
- uses: wow-actions/welcome@68019c2c271561f63162fea75bb7707ef8a02c85 # To pin v1.3.1
5555
with:
@@ -64,10 +64,10 @@ jobs:
6464
Hope you have a great time there!
6565
6666
welcome-pr-merged:
67-
if: github.event_name == 'pull_request_target' && github.event.action == 'closed' && github.event.pull_request.merged == true
67+
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true
6868
runs-on: ubuntu-latest
6969
permissions:
70-
issues: write
70+
pull-requests: write
7171
steps:
7272
- uses: wow-actions/welcome@68019c2c271561f63162fea75bb7707ef8a02c85 # To pin v1.3.1
7373
with:

0 commit comments

Comments
 (0)