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 66 paths-ignore :
77 - " .github/workflows/docs-build-and-publish.yml"
88 - " docs/**"
9- pull_request_target :
9+ pull_request :
1010 paths :
1111 - ' **/*.c'
1212 - ' **/*.h'
@@ -24,14 +24,14 @@ jobs:
2424 CMAKE_PREFIX_PATH : /opt/toolchains
2525 steps :
2626 - uses : actions/checkout@v4
27- if : github.event_name == 'pull_request_target '
27+ if : github.event_name == 'pull_request '
2828 with :
2929 ref : ${{ github.event.pull_request.head.sha }}
3030 fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
3131 path : thingy91x-oob
3232
3333 - uses : actions/checkout@v4
34- if : github.event_name != 'pull_request_target '
34+ if : github.event_name != 'pull_request '
3535 with :
3636 fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
3737 path : thingy91x-oob
6666
6767 - name : Run sonar-scanner on main
6868 working-directory : thingy91x-oob
69- if : github.event_name != 'pull_request_target '
69+ if : github.event_name != 'pull_request '
7070 env :
7171 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
7272 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
8080
8181 - name : Run sonar-scanner on PR
8282 working-directory : thingy91x-oob
83- if : github.event_name == 'pull_request_target '
83+ if : github.event_name == 'pull_request '
8484 env :
8585 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8686 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
You can’t perform that action at this time.
0 commit comments