Skip to content

Commit d12c3ad

Browse files
committed
Revert "fix: accept-forks (#49)"
This reverts commit eedf511.
1 parent eedf511 commit d12c3ad

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/checkmarx.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
steps:
3737
- name: Check access
38-
if: ${{ github.event.pull_request.author_association != 'COLLABORATOR' && github.event.pull_request.author_association != 'OWNER' && github.event.pull_request.author_association != 'MEMBER' }}
38+
if: ${{ github.event.pull_request.author_association != 'COLLABORATOR' && github.event.pull_request.author_association != 'OWNER' }}
3939
run: |
4040
echo "This job needs re-running by someone with collaboration permissions."
4141
exit 1
@@ -109,11 +109,6 @@ jobs:
109109
mv ./cx_result.sarif ./cx_result.sarif.orig
110110
jq '.runs |= map(.results |= map(.locations |= map(if .physicalLocation.artifactLocation.uri == "" then .physicalLocation.artifactLocation.uri = "file:/README.md" else . end)))' cx_result.sarif.orig > cx_result.sarif
111111
112-
- uses: actions/upload-artifact@v4
113-
with:
114-
name: cx_result-sarif
115-
path: cx_result.sarif
116-
117112
# Upload results to github
118113
- name: Upload SARIF file
119114
uses: github/codeql-action/upload-sarif@7273f08caa1dcf2c2837f362f1982de0ab4dc344 # v3.29.2

0 commit comments

Comments
 (0)