Skip to content

build(deps): update actions/setup-go action to v7 (#713) #439

build(deps): update actions/setup-go action to v7 (#713)

build(deps): update actions/setup-go action to v7 (#713) #439

Workflow file for this run

name: 'Scorecard'
on:
branch_protection_rule: {}
schedule:
- cron: '20 7 * * 2'
push:
branches:
- 'master'
permissions: 'read-all'
jobs:
analysis:
name: 'Analysis'
runs-on: 'ubuntu-latest'
permissions:
security-events: 'write'
id-token: 'write'
contents: 'read'
actions: 'read'
steps:
- name: 'Harden Runner'
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
egress-policy: 'audit'
- name: 'Checkout'
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- name: 'Run'
uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3
with:
results_file: 'results.sarif'
results_format: 'sarif'
publish_results: true
- name: 'Upload'
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: 'SARIF file'
path: 'results.sarif'
retention-days: 5
- name: 'Upload to Code Scanning Dashboard'
uses: github/codeql-action/upload-sarif@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4.37.0
with:
sarif_file: 'results.sarif'