Skip to content

Scorecard analysis workflow #39

Scorecard analysis workflow

Scorecard analysis workflow #39

name: Scorecard analysis workflow
on:
push:
branches:
- master
schedule:
# Weekly on Saturdays.
- cron: '30 1 * * 6'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: read-all
jobs:
analysis:
if: github.repository_owner == 'eclipse'
name: Scorecard analysis
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: "Checkout code"
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
- name: "Run analysis"
uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3
with:
results_file: results.sarif
results_format: sarif
publish_results: true