Skip to content

Commit 4de5076

Browse files
[core] Sync scorecards.yml across codebase
1 parent c70698f commit 4de5076

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Diff for: .github/workflows/scorecards.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Scorecards supply-chain security
2+
23
on:
34
# Only the default branch is supported.
45
branch_protection_rule:
@@ -19,13 +20,11 @@ jobs:
1920
# Needs for private repositories.
2021
contents: read
2122
actions: read
22-
2323
steps:
2424
- name: Checkout code
2525
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2626
with:
2727
persist-credentials: false
28-
2928
- name: Run analysis
3029
uses: ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
3130
with:
@@ -36,11 +35,9 @@ jobs:
3635
# - you are installing Scorecards on a *private* repository
3736
# To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.
3837
repo_token: ${{ secrets.SCORECARD_READ_TOKEN }}
39-
4038
# Publish the results for public repositories to enable scorecard badges. For more details, see
4139
# https://github.com/ossf/scorecard-action#publishing-results.
4240
publish_results: true
43-
4441
# Upload the results to GitHub's code scanning dashboard.
4542
- name: Upload to code-scanning
4643
uses: github/codeql-action/upload-sarif@5f8171a638ada777af81d42b55959a643bb29017 # v3.28.12

0 commit comments

Comments
 (0)