Skip to content

Commit 29eae11

Browse files
🔧 chore: Add classic PAT support for Scorecard branch protection check
1 parent f5fd5ff commit 29eae11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
runs-on: ubuntu-latest
1717
permissions:
1818
contents: read
19-
administration: read
2019
security-events: write
2120
id-token: write
2221

@@ -32,6 +31,7 @@ jobs:
3231
results_file: results.sarif
3332
results_format: sarif
3433
publish_results: true
34+
repo_token: ${{ secrets.SCORECARD_TOKEN }}
3535

3636
- name: "Upload artifact"
3737
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0

0 commit comments

Comments
 (0)