File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 11name : CI Build Test
22
33on :
4- pull_request :
4+ pull_request_target :
55 branches-ignore :
66 - /^release\/.*/
77 - master
3333 - name : Setup Action
3434 uses : actions/checkout@v3
3535 with :
36- ref : ${{github.event.pull_request.head.ref}}
37- repository : ${{github.event.pull_request.head.repo.full_name}}
36+ ref : ${{github.event.pull_request.head.sha}}
3837 - name : run fossa anlyze and create report
3938 run : |
4039 curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash
6362 - name : Setup Action
6463 uses : actions/checkout@v3
6564 with :
66- ref : ${{github.event.pull_request.head.ref }}
65+ ref : ${{github.event.pull_request.head.sha }}
6766 repository : ${{github.event.pull_request.head.repo.full_name}}
6867 - name : Semgrep
6968 id : semgrep
8079 - name : Setup Action
8180 uses : actions/checkout@v2
8281 with :
83- ref : ${{github.event.pull_request.head.ref }}
82+ ref : ${{github.event.pull_request.head.sha }}
8483 repository : ${{github.event.pull_request.head.repo.full_name}}
8584
8685 - name : Get maven dependencies
@@ -151,7 +150,7 @@ jobs:
151150 - name : Setup Action
152151 uses : actions/checkout@v2
153152 with :
154- ref : ${{github.event.pull_request.head.ref }}
153+ ref : ${{github.event.pull_request.head.sha }}
155154 repository : ${{github.event.pull_request.head.repo.full_name}}
156155
157156 - name : Install Splunk
You can’t perform that action at this time.
0 commit comments