From b69426f3f688d4ae906bc1743d8eca6313165e2b Mon Sep 17 00:00:00 2001 From: Ivan Sanchez Date: Sat, 28 Feb 2026 02:58:15 -0600 Subject: [PATCH] feat: add OpenSSF Scorecard security analysis --- .github/workflows/scorecard.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 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 0000000..b475e8a --- /dev/null +++ b/.github/workflows/scorecard.yml @@ -0,0 +1,33 @@ +name: OpenSSF Scorecard + +on: + push: + branches: [main] + schedule: + - cron: '30 1 * * 6' # Weekly Saturday + +permissions: read-all + +jobs: + analysis: + name: Scorecard analysis + runs-on: ubuntu-latest + permissions: + security-events: write + id-token: write + contents: read + actions: read + steps: + - uses: actions/checkout@v6 + 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@v4 + with: + sarif_file: results.sarif