Skip to content

chore(deps): Bump actions/checkout from 4.1.1 to 4.1.2 #248

chore(deps): Bump actions/checkout from 4.1.1 to 4.1.2

chore(deps): Bump actions/checkout from 4.1.1 to 4.1.2 #248

Workflow file for this run

name: "scorecards"
permissions: read-all
on:
branch_protection_rule:
schedule:
- cron: '38 12 * * 1'
push:
branches: [ "main" ]
jobs:
analysis:
name: "scorecards analysis"
runs-on: ubuntu-latest
permissions:
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
id-token: write # for ossf/scorecard-action to access GitHub's OIDC token when publishing
steps:
- uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit
- name: "Checkout code"
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
with:
persist-credentials: false
- name: "Run analysis"
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1
with:
results_file: results.sarif
results_format: sarif
repo_token: ${{ secrets.SCORECARD_TOKEN }}
publish_results: true
- name: "Upload artifact"
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: SARIF file
path: results.sarif
retention-days: 5
# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@3ab4101902695724f9365a384f86c1074d94e18c # v3.24.7
with:
sarif_file: results.sarif