Skip to content

Sonarque security - #2422

Merged
GernotMaier merged 4 commits into
mainfrom
sonarque-security
Aug 7, 2026
Merged

Sonarque security#2422
GernotMaier merged 4 commits into
mainfrom
sonarque-security

Conversation

@GernotMaier

Copy link
Copy Markdown
Contributor

Replace versions by sha.

@GernotMaier GernotMaier self-assigned this Aug 7, 2026
@GernotMaier GernotMaier added no-changelog-needed No Changelog entry required for this PR Copilot review AI-supported Copilot review labels Aug 7, 2026
@ctao-sonarqube

ctao-sonarqube Bot commented Aug 7, 2026

Copy link
Copy Markdown

@GernotMaier
GernotMaier requested a lite review from Copilot August 7, 2026 11:27
@GernotMaier
GernotMaier marked this pull request as ready for review August 7, 2026 11:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@GernotMaier
GernotMaier merged commit 6d13b4f into main Aug 7, 2026
16 checks passed
@GernotMaier
GernotMaier deleted the sonarque-security branch August 7, 2026 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Copilot review AI-supported Copilot review no-changelog-needed No Changelog entry required for this PR

Development

Successfully merging this pull request may close these issues.

2 participants