-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (30 loc) · 895 Bytes
/
scorecard.yml
File metadata and controls
36 lines (30 loc) · 895 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Scorecard analysis workflow
on:
push:
branches:
- main
schedule:
# Weekly on Saturdays.
- cron: "30 1 * * 6"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
analysis:
name: Scorecard analysis
runs-on: ubuntu-latest
permissions:
security-events: write # Upload Scorecard SARIF to Code Scanning
id-token: write # GitHub OIDC token for publish_results
actions: read # Required by Scorecard to evaluate workflow security posture
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: ./
with:
enable_scorecard: 'true'
enable_zizmor: 'false'
enable_osv: 'false'