-
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (27 loc) · 747 Bytes
/
Copy pathscorecard.yml
File metadata and controls
31 lines (27 loc) · 747 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
# This workflow is managed by gh actions-lock.
# SPDX-License-Identifier: MPL-2.0
# This workflow is managed by gh actions-lock.
name: Scorecard
on:
push:
branches: [main]
pull_request:
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# Must cover everything scorecard-reusable's job requests (see codeql.yml).
# id-token: write is the OIDC token Scorecard uses to publish results;
# security-events: write uploads the SARIF.
permissions:
contents: read
jobs:
scorecard:
permissions:
actions: read
contents: read
security-events: write
id-token: write
uses: ./.github/workflows/scorecard-reusable.yml