Skip to content

Commit 80108a5

Browse files
authored
fix(ci): do not add materials on pull_request (#722)
Signed-off-by: Miguel Martinez Trivino <[email protected]>
1 parent ed7a67d commit 80108a5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/codeql.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
category: "/language:${{matrix.language}}"
6565

6666
- name: Add Attestation (Sarif results)
67+
if: ${{ github.event_name != 'pull_request' }}
6768
run: |
6869
chainloop attestation add --name sarif-results --value ${{steps.codeqlresults.outputs.sarif-output}}/go.sarif
6970
@@ -84,4 +85,4 @@ jobs:
8485
- name: Mark attestation as cancelled
8586
if: ${{ cancelled() && github.event_name != 'pull_request' }}
8687
run: |
87-
chainloop attestation reset --trigger cancellation
88+
chainloop attestation reset --trigger cancellation

0 commit comments

Comments
 (0)