Skip to content

Commit d1705b9

Browse files
committed
Simplify scorecard
1 parent fd420d3 commit d1705b9

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

.github/workflows/scorecard.yml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# This workflow uses actions that are not certified by GitHub. They are provided
2-
# by a third-party and are governed by separate terms of service, privacy
3-
# policy, and support documentation.
4-
51
name: Scorecard supply-chain security
62
on:
73
# For Branch-Protection check. Only the default branch is supported. See
@@ -28,9 +24,6 @@ jobs:
2824
security-events: write
2925
# Needed to publish results and get a badge (see publish_results below).
3026
id-token: write
31-
# Uncomment the permissions below if installing in a private repository.
32-
# contents: read
33-
# actions: read
3427

3528
steps:
3629
- name: Harden the runner (Audit all outbound calls)
@@ -48,35 +41,15 @@ jobs:
4841
with:
4942
results_file: results.sarif
5043
results_format: sarif
51-
# (Optional) "write" PAT token. Uncomment the `repo_token` line below if:
52-
# - you want to enable the Branch-Protection check on a *public* repository, or
53-
# - you are installing Scorecard on a *private* repository
54-
# To create the PAT, follow the steps in https://github.com/ossf/scorecard-action?tab=readme-ov-file#authentication-with-fine-grained-pat-optional.
55-
# repo_token: ${{ secrets.SCORECARD_TOKEN }}
56-
57-
# Public repositories:
58-
# - Publish results to OpenSSF REST API for easy access by consumers
59-
# - Allows the repository to include the Scorecard badge.
60-
# - See https://github.com/ossf/scorecard-action#publishing-results.
61-
# For private repositories:
62-
# - `publish_results` will always be set to `false`, regardless
63-
# of the value entered here.
6444
publish_results: true
6545

66-
# (Optional) Uncomment file_mode if you have a .gitattributes with files marked export-ignore
67-
# file_mode: git
68-
69-
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
70-
# format to the repository Actions tab.
7146
- name: "Upload artifact"
7247
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
7348
with:
7449
name: SARIF file
7550
path: results.sarif
7651
retention-days: 5
7752

78-
# Upload the results to GitHub's code scanning dashboard (optional).
79-
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
8053
- name: "Upload to code-scanning"
8154
uses: github/codeql-action/upload-sarif@17783bfb99b07f70fae080b654aed0c514057477 # v3.30.7
8255
with:

0 commit comments

Comments
 (0)