Commit 89d20b00f for imagemagick.org
commit 89d20b00fe6fad7a35f0e860890853818822d4e0
Author: Dirk Lemstra <dirk@lemstra.org>
Date: Thu Feb 5 18:28:45 2026 +0100
Added workflow for the OpenSSF Scorecard.
diff --git a/.github/workflows/scorecard-analysis.yml b/.github/workflows/scorecard-analysis.yml
new file mode 100644
index 000000000..899818369
--- /dev/null
+++ b/.github/workflows/scorecard-analysis.yml
@@ -0,0 +1,36 @@
+on:
+ workflow_dispatch:
+ schedule:
+ - cron: 0 6 * * 1
+ push:
+ branches:
+ - main
+ paths:
+ - .github/workflows/scorecard-analysis.yml
+
+permissions: read-all
+
+jobs:
+ analysis:
+ name: Scorecard analysis
+ runs-on: ubuntu-latest
+ permissions:
+ security-events: write
+ id-token: write
+
+ steps:
+ - uses: actions/checkout@v6
+ with:
+ persist-credentials: false
+
+ - name: Run analysis
+ uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3
+ with:
+ results_file: results.sarif
+ results_format: sarif
+ publish_results: true
+
+ - name: Upload to code-scanning
+ uses: github/codeql-action/upload-sarif@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4.32.0
+ with:
+ sarif_file: results.sarif