-
Notifications
You must be signed in to change notification settings - Fork 24
fix: pin GitHub Actions to commit SHA hashes for supply chain security #479
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
11ddeb9
b41452a
a239735
71791c1
5577639
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| --- | ||
| # line length | ||
| MD013: false | ||
| # singe h1 | ||
| # single h1 | ||
| MD025: false | ||
| # duplicate headers | ||
| MD024: false | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,19 +19,19 @@ jobs: | |
|
|
||
| steps: | ||
| - name: Checkout Code | ||
| uses: actions/checkout@v6.0.2 | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
| with: | ||
| fetch-depth: 0 | ||
| persist-credentials: false | ||
| - name: Setup Python | ||
| uses: actions/setup-python@v6.2.0 | ||
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 | ||
| with: | ||
| python-version: "3.12" | ||
| - name: Install dependencies | ||
| run: | | ||
| pip install -r requirements.txt -r requirements-test.txt | ||
| - name: Lint Code Base | ||
| uses: super-linter/super-linter@d5b0a2ab116623730dd094f15ddc1b6b25bf7b99 # v8.3.2 | ||
| uses: super-linter/super-linter@61abc07d755095a68f4987d1c2c3d1d64408f1f9 # v8.5.0 | ||
|
||
| env: | ||
| DEFAULT_BRANCH: main | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The github/codeql-action/upload-sarif action is using a SHA hash without a version tag comment. Following the pattern established in this PR, this should include a comment indicating which version the SHA corresponds to. This makes it easier to track versions and perform updates.