File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ permissions:
99
1010on :
1111 pull_request_target :
12- types : [opened, synchronize]
12+ types : [opened, synchronize, reopened ]
1313 push :
1414 branches : [ 'main' ]
1515concurrency :
2727
2828 steps :
2929 # From https://michaelheap.com/access-secrets-from-forks/
30+ # Also see https://securitylab.github.com/resources/github-actions-preventing-pwn-requests/
3031 - name : Get User Permission
3132 id : checkAccess
3233 uses : actions-cool/check-user-permission@v2
4647 # This is dangerous without the first access check
4748 - name : Checkout
4849 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
50+ with :
51+ ref : ${{ github.event.pull_request.head.sha }}
4952
5053 - name : Install dependencies
5154 run : |
You can’t perform that action at this time.
0 commit comments