Update README.md #23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # SPDX-FileCopyrightText: 2026 The Botanu Authors | |
| # SPDX-License-Identifier: Apache-2.0 | |
| name: OpenSSF Scorecard | |
| on: | |
| push: | |
| branches: [main] | |
| schedule: | |
| - cron: "30 1 * * 1" # Weekly Monday 01:30 UTC | |
| permissions: read-all | |
| jobs: | |
| analysis: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| security-events: write # upload SARIF | |
| id-token: write # publish results | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - name: Run OpenSSF Scorecard | |
| uses: ossf/scorecard-action@v2 | |
| with: | |
| results_file: results.sarif | |
| results_format: sarif | |
| publish_results: true | |
| - name: Upload SARIF to GitHub Security tab | |
| uses: github/codeql-action/upload-sarif@v3 | |
| with: | |
| sarif_file: results.sarif |