You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ci): pin GitHub Actions to commit SHAs and restrict GITHUB_TOKEN permissions
Resolve OpenSSF Scorecard alerts for TokenPermissions and PinnedDependencies
by pinning all GitHub Actions to commit SHAs, hash-pinning pip install commands,
and moving write permissions from workflow-level to job-level.
Copy file name to clipboardExpand all lines: .github/workflows/codeql.yml
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,8 @@ on:
19
19
schedule:
20
20
- cron: '35 11 * * 6'
21
21
22
+
permissions: read-all
23
+
22
24
jobs:
23
25
analyze:
24
26
name: Analyze (${{ matrix.language }})
@@ -57,7 +59,7 @@ jobs:
57
59
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
0 commit comments