Skip to content

chore(ci): pin GitHub Actions to immutable commit SHAs#1043

Merged
jkowalleck merged 2 commits intomainfrom
copilot/pin-github-actions-to-commit-hashes
Apr 20, 2026
Merged

chore(ci): pin GitHub Actions to immutable commit SHAs#1043
jkowalleck merged 2 commits intomainfrom
copilot/pin-github-actions-to-commit-hashes

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 15, 2026

Description

Pin all GitHub Actions uses: references in .github/workflows/*.yml from 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.yml already configures the github-actions ecosystem 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

  • My contribution does not include any AI-generated content
  • My contribution includes AI-generated content, as disclosed below:
    • AI Tools: GitHub Copilot Coding Agent
    • LLMs and versions: Claude Sonnet 4.5
    • Prompts: Pin all GitHub Actions workflow uses: references to immutable commit SHAs while preserving Dependabot update behavior via inline tag comments.

Affirmation

Copilot AI linked an issue Apr 15, 2026 that may be closed by this pull request
@codacy-production
Copy link
Copy Markdown

codacy-production bot commented Apr 15, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Coverage ∅ diff coverage · +0.00% coverage variation

Metric Results
Coverage variation +0.00% coverage variation (-1.00%)
Diff coverage diff coverage (80.00%)

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (b3bb790) 1152 1117 96.96%
Head commit (c60e221) 1152 (+0) 1117 (+0) 96.96% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#1043) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

TIP This summary will be updated as you push new changes. Give us feedback

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
Copilot AI requested a review from jkowalleck April 15, 2026 12:56
@jkowalleck jkowalleck marked this pull request as ready for review April 20, 2026 16:47
@jkowalleck jkowalleck requested a review from a team as a code owner April 20, 2026 16:47
@jkowalleck jkowalleck merged commit 3d97dee into main Apr 20, 2026
40 checks passed
@jkowalleck jkowalleck deleted the copilot/pin-github-actions-to-commit-hashes branch April 20, 2026 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: pin github actions

2 participants