Skip to content

Commit 6fcfa09

Browse files
ci(scorecard): code-scanning alerts vermeiden (#60)
* ci(scorecard): sarif upload zu code-scanning entfernen (vermeidet token-permissions alerts) * ci(scorecard): dokumentiere artifact-only modus --------- Co-authored-by: GitHub Copilot Agent <github-actions[bot]@users.noreply.github.com>
1 parent a1878b5 commit 6fcfa09

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

.github/workflows/scorecard.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
runs-on: ubuntu-latest
1717
permissions:
1818
contents: read
19-
security-events: write
2019
steps:
2120
- name: Checkout repository
2221
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
@@ -30,15 +29,11 @@ jobs:
3029
repo_token: ${{ secrets.SECURITY_CLAIMS_TOKEN }}
3130
results_file: artifacts/ci/scorecard/results.sarif
3231
results_format: sarif
32+
# Intentionally do not upload SARIF to Code Scanning; Scorecard findings are kept as artifacts only.
3333
# Keep deterministic local evidence + SARIF upload, avoid remote publish rejection
3434
# when workflow permissions include security-events write for SARIF upload.
3535
publish_results: false
3636

37-
- name: Upload SARIF to code scanning
38-
uses: github/codeql-action/upload-sarif@f5c2471be782132e47a6e6f9c725e56730d6e9a3 # v3
39-
with:
40-
sarif_file: artifacts/ci/scorecard/results.sarif
41-
4237
- name: Upload Artifact
4338
if: always()
4439
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4

0 commit comments

Comments
 (0)