Sonarque security - #2422
Merged
Merged
Conversation
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR hardens the repository’s GitHub Actions supply-chain security by pinning workflow uses: references to immutable commit SHAs (instead of mutable tags/branches), aligning with common “pinned actions” security guidance.
Changes:
- Pin core GitHub-maintained actions (
checkout,setup-python,cache,upload/download-artifact) to specific commit SHAs across CI workflows. - Pin third-party actions used in CI/doc/publish workflows (e.g.,
gh-action-pypi-publish,pre-commit-autoupdate-action,cffconvert-github-action,github-pages-deploy-action) to commit SHAs. - Preserve the prior tag/branch intent as inline comments (e.g.,
# v7,# release/v1) for traceability.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/pypi.yml | Pins PyPI publish workflow actions to commit SHAs. |
| .github/workflows/CI-unittests.yml | Pins unit test + SonarQube-related workflow actions to commit SHAs. |
| .github/workflows/CI-software-update.yml | Pins software update workflow actions to commit SHAs. |
| .github/workflows/CI-schema-validation.yml | Pins schema validation workflow actions to commit SHAs. |
| .github/workflows/CI-linter.yml | Pins linter workflow actions to commit SHAs. |
| .github/workflows/CI-integrationtests.yml | Pins integration test workflow actions (including cache/artifacts) to commit SHAs. |
| .github/workflows/CI-docs.yml | Pins docs build/deploy workflow actions to commit SHAs. |
| .github/workflows/changelog.yml | Pins changelog-check workflow checkout action to a commit SHA. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.





Replace versions by sha.