Debian Codegraph @

.github/workflows/scorecard.yml

raw
1 name: Scorecard supply-chain security
2 on:
3 # (Optional) For Branch-Protection check. Only the default branch is supported. See
4 # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection
5 # branch_protection_rule:
6 # To guarantee Maintained check is occasionally updated. See
7 # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
8 schedule:
9 - cron: '36 0 * * 0'
10 push:
11 branches:
12 - "main"
13
14 # Declare default permissions as none.
15 permissions: {}
16
17 jobs:
18 analysis:
19 name: Scorecard analysis
20 permissions:
21 # Needed to upload the results to code-scanning dashboard.
22 security-events: write
23 # Needed to publish results and get a badge (see publish_results below).
24 id-token: write
25 uses: sigstore/community/.github/workflows/reusable-scorecard.yml@main
26 # (Optional) Disable publish results:
27 # with:
28 # publish_results: false
29
30 # (Optional) Enable Branch-Protection check:
31 # secrets:
32 # scorecard_token: ${{ secrets.SCORECARD_TOKEN }}