Add full commit sha instead of tags in workflow#2908
Open
Aniketsy wants to merge 3 commits intomicrosoft:mainfrom
Open
Add full commit sha instead of tags in workflow#2908Aniketsy wants to merge 3 commits intomicrosoft:mainfrom
Aniketsy wants to merge 3 commits intomicrosoft:mainfrom
Conversation
Aniketsy
commented
May 4, 2026
Aniketsy
commented
May 4, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2908 +/- ##
=======================================
Coverage 72.49% 72.49%
=======================================
Files 258 258
Lines 31471 31471
Branches 2973 2973
=======================================
Hits 22814 22814
Misses 7647 7647
Partials 1010 1010 ☔ View full report in Codecov by Sentry. |
Contributor
There was a problem hiding this comment.
Pull request overview
Pins GitHub Actions used by the repo’s CI/lint/pages/code-scanning workflows to immutable commit SHAs (instead of mutable version tags) to reduce supply-chain risk (fixes #2903).
Changes:
- Replaces
uses: ...@v*references with full commit SHAs across core workflows. - Pins Codecov and Reviewdog actions used in CI and linting.
- Pins CodeQL init/autobuild/analyze steps used for code scanning.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| .github/workflows/pages.yaml | Pins Pages-related actions to SHAs (checkout/configure-pages/setup-python/upload-pages-artifact/deploy-pages). |
| .github/workflows/main.yaml | Pins CI actions to SHAs (checkout/setup-python/codecov/test-results/upload-artifact). |
| .github/workflows/lint.yaml | Pins lint workflow actions to SHAs (checkout/reviewdog actions/setup-python). |
| .github/workflows/codeql-analysis.yml | Pins CodeQL scanning actions (checkout + codeql init/autobuild/analyze) to SHAs. |
| with: | ||
| python-version: "3.10" | ||
| - uses: actions/checkout@v6 | ||
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 |
Comment on lines
+47
to
50
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | ||
| - name: Setup Python | ||
| uses: actions/setup-python@v6 | ||
| uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6 | ||
| with: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes #2903