File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,12 @@ name: Welcome New Users with Thanks and Tip non-stargazers ;-)
88on :
99 issues :
1010 types : [opened]
11- pull_request :
11+ pull_request_target :
1212 types : [opened, closed]
1313
1414# Explicitly disable all default GITHUB_TOKEN permissions at the workflow level.
1515# Each job then declares only the minimal required permissions (principle of least privilege),
16- # e.g., `issues: write` for posting comments. This improves security, especially for PRs from forks .
16+ # e.g., `issues: write` for posting comments. This improves security.
1717permissions : {}
1818
1919jobs :
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 ' && github.event.action == 'opened'
49+ if : github.event_name == 'pull_request_target ' && github.event.action == 'opened'
5050 runs-on : ubuntu-latest
5151 permissions :
5252 issues : write
@@ -61,10 +61,10 @@ jobs:
6161
6262 Thanks and congrats 🎉 for opening your first pull request here! Be sure to follow the pull request template or please update it accordingly.
6363
64- Hope you have a great time there!
64+ Hope you have a great time there!
6565
6666 welcome-pr-merged :
67- if : github.event_name == 'pull_request ' && github.event.action == 'closed' && github.event.pull_request.merged == true
67+ if : github.event_name == 'pull_request_target ' && github.event.action == 'closed' && github.event.pull_request.merged == true
6868 runs-on : ubuntu-latest
6969 permissions :
7070 issues : write
You can’t perform that action at this time.
0 commit comments