Skip to content

Merge pull request #1030 from KFilipek/test-icx #685

Merge pull request #1030 from KFilipek/test-icx

Merge pull request #1030 from KFilipek/test-icx #685

Workflow file for this run

# Scorecard analysis, looking for vulnerabilities and bad practices in the repo.
name: Scorecard
on:
# For Branch-Protection check. Only the default branch is supported. See
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection
branch_protection_rule:
workflow_dispatch:
schedule:
# Runs at 01:00 UTC on Saturday.
- cron: '0 1 * * 6'
push:
branches: [ "main" ]
permissions: read-all
jobs:
analyze:
name: Scorecard analysis
runs-on: ubuntu-latest
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
# Needed to publish results and get a badge (see publish_results below).
id-token: write
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 0
- name: Run analysis
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1
with:
results_file: scorecard_results.sarif
results_format: sarif
publish_results: true
# Upload the results as artifacts to the repository Actions tab.
- name: Upload artifact
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # 4.3.1
with:
name: Scorecard results
path: scorecard_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@05963f47d870e2cb19a537396c1f668a348c7d8f # v3.24.8
with:
sarif_file: scorecard_results.sarif