Skip to content

Commit 5a0d922

Browse files
committed
fix: allow rerun on forked PRs
1 parent ca194d6 commit 5a0d922

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/checkmarx.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ permissions:
1010
on:
1111
pull_request_target:
1212
types: [opened, synchronize, reopened]
13+
branches: [ '**' ]
1314
push:
1415
branches: [ 'main' ]
1516
concurrency:
@@ -48,6 +49,7 @@ jobs:
4849
- name: Checkout
4950
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0
5051
with:
52+
# Yes we do need to specify head explicitly here (read github article)
5153
ref: ${{ github.event.pull_request.head.sha }}
5254

5355
- name: Install dependencies

0 commit comments

Comments
 (0)