Skip to content

Commit 88a9971

Browse files
chore: add token-permissions annotation to scorecard config
Write permissions are required for: - checks: write - GameCI publishes test results as check runs - statuses: write - Setting commit status for branch protection - pull-requests: write - Commenting test results on PRs - contents: write - Release workflow creates tags and commits Signed-off-by: JasonXuDeveloper <jasonxudeveloper@gmail.com> Signed-off-by: JasonXuDeveloper - 傑 <jason@xgamedev.net>
1 parent ea41344 commit 88a9971

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.scorecard.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,13 @@ annotations:
3737
- sast
3838
reasons:
3939
- reason: not-detected # CodeQL is configured but may not be recognized
40+
41+
# Token permissions: Write permissions required for CI functionality
42+
# - checks: write - GameCI publishes test results as check runs
43+
# - statuses: write - Setting commit status for branch protection
44+
# - pull-requests: write - Commenting test results on PRs
45+
# - contents: write - Release workflow creates tags and commits
46+
- checks:
47+
- token-permissions
48+
reasons:
49+
- reason: not-applicable # Write permissions required for test reporting and release automation

0 commit comments

Comments
 (0)