chore(deps): update quay.io/petr_ruzicka/malware-cryptominer-containe… #457
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
| --- | |
| # GitHub Actions workflow for OSSF Scorecard security analysis | |
| # OSSF Scorecard evaluates open source projects for security best practices | |
| # and provides a score and recommendations for improvement | |
| name: scorecards | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: ["main"] | |
| schedule: | |
| - cron: 30 1 * * 6 | |
| permissions: read-all | |
| jobs: | |
| scorecards: | |
| # ossf/scorecard-action doesn't support arm64 | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| permissions: | |
| # Required for uploading SARIF results to GitHub Security tab | |
| security-events: write | |
| # Required for OIDC token generation | |
| id-token: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| # Disable credential persistence for security | |
| persist-credentials: false | |
| - name: Run OSSF Scorecard Analysis | |
| uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3 | |
| with: | |
| results_file: results.sarif | |
| results_format: sarif | |
| # Publish results to OpenSSF Scorecard API (optional) | |
| publish_results: true | |
| - name: Upload SARIF results to GitHub Security | |
| uses: github/codeql-action/upload-sarif@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2 | |
| with: | |
| sarif_file: results.sarif | |
| # Set category to distinguish from other security scans | |
| category: ossf-scorecard |