Skip to content

Commit e810e66

Browse files
authored
Delete the token instead
1 parent 9edb790 commit e810e66

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/scorecards-analysis.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: Scorecards supply-chain security
22

3-
on: workflow_dispatch
4-
# push:
5-
# branches: [ main ]
6-
# pull_request:
7-
# branches: [ main ]
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
88

99
# Declare default permissions as read only.
1010
permissions: read-all
@@ -32,9 +32,6 @@ jobs:
3232
with:
3333
results_file: results.sarif
3434
results_format: sarif
35-
# Read-only PAT token. To create it,
36-
# follow the steps in https://github.com/ossf/scorecard-action#pat-token-creation.
37-
repo_token: ${{ secrets.SCORECARD_READ_TOKEN }}
3835
# Publish the results to enable scorecard badges. For more details, see
3936
# https://github.com/ossf/scorecard-action#publishing-results.
4037
# For private repositories, `publish_results` will automatically be set to `false`,

0 commit comments

Comments
 (0)