From b69002694fc698a7a6a0db277288cc97d03e91c8 Mon Sep 17 00:00:00 2001 From: Matthew Jackson <1085847+MattJackson@users.noreply.github.com> Date: Mon, 21 Sep 2026 16:39:26 -0700 Subject: [PATCH] ci: add OpenSSF Scorecard workflow (publish_results on default branch) --- .github/workflows/scorecard.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/scorecard.yml diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml new file mode 100644 index 00000000..8bb761d1 --- /dev/null +++ b/.github/workflows/scorecard.yml @@ -0,0 +1,27 @@ +name: Scorecard +on: + branch_protection_rule: + schedule: + - cron: '22 9 * * 2' + push: + branches: ["dev"] +permissions: read-all +jobs: + analysis: + name: Scorecard analysis + runs-on: ubuntu-latest + permissions: + security-events: write + id-token: write + steps: + - uses: actions/checkout@v4 + with: + persist-credentials: false + - uses: ossf/scorecard-action@v2.4.0 + with: + results_file: results.sarif + results_format: sarif + publish_results: true + - uses: github/codeql-action/upload-sarif@v3 + with: + sarif_file: results.sarif