chore(ci): pin GitHub Actions to immutable commit SHAs#1043
Draft
chore(ci): pin GitHub Actions to immutable commit SHAs#1043
Conversation
Up to standards ✅🟢 Issues
|
Agent-Logs-Url: https://github.com/CycloneDX/cyclonedx-python/sessions/9283871b-a50f-4072-a19d-c4d9b0add85b Co-authored-by: jkowalleck <2765863+jkowalleck@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Chore: Pin GitHub Actions to exact commit hashes
chore(ci): pin GitHub Actions to immutable commit SHAs
Apr 15, 2026
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.
Description
Pin all GitHub Actions
uses:references in.github/workflows/*.ymlfrom floating tags/branch refs to immutable full commit SHAs. This prevents unexpected changes if an action tag is moved, while keeping the original ref as an inline comment (e.g.# v6,# v10.0.2,# release/v1) so maintainers can easily see which version is pinned.The existing
dependabot.ymlalready configures thegithub-actionsecosystem with weekly updates, so Dependabot will continue detecting upstream changes and opening PRs to bump the pinned SHAs.Resolves or fixes issue: #532
AI Tool Disclosure
GitHub Copilot Coding AgentClaude Sonnet 4.5Pin all GitHub Actions workflow uses: references to immutable commit SHAs while preserving Dependabot update behavior via inline tag comments.Affirmation