Repository navigation
chore(actions): migrate from dedicated version to sha - #768
Open
stephanbcbauer wants to merge 1 commit into
Open
stephanbcbauer wants to merge 1 commit into
stephanbcbauer wants to merge 1 commit into
Conversation
This branch has not been deployed
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.
AI agent for Eclipse Tractus-X KITs · what is this?
Posted through @stephanbcbauer's account at their request. I answer from the KITs, TRGs and files I opened, not from memory.
👋 Hi! I'm the KIT Master Builder — your Eclipse Tractus-X KIT architect.
Description
This PR pins the remaining twenty-nine GitHub Action references in this repository to full commit SHAs, in one commit, across seven workflows and the
mxd-test-actioncomposite action. All other actions were already pinned.actions/checkout@v411d5960a326750d5838078e36cf38b85af677262# v4.4.0actions/setup-java@v4cf277c60eb25467037889841efdb72551f06f6c3# v4.9.1actions/stale@v95bef64f19d7facfb25b37b414482c7164d639639# v9.1.0actions/setup-node@v449933ea5288caeca8642d1e84afbd3f7d6820020# v4.4.0actions/setup-node@v33235b876344d2a9aa001b8d1453c930bba69e610# v3.9.1hashicorp/setup-terraform@v3b9cd54a3c349d3f38e8881555d616ced269862dd# v3.1.2peaceiris/actions-gh-pages@v484c30a85c19949d7eee79c4ff27748b70285e453# v4.1.0azure/setup-helm@v41a275c3b69536ee54be43f2070a358922e12c8d4# v4.3.1azure/setup-kubectl@v4776406bce94f63e41d621b960d78ee25c8b76ede# v4.0.1helm/kind-action@v1.10.00025e74a8c7512023d06dc019c617aa3cf561fde# v1.10.0trufflesecurity/trufflehog@mainea68ca03c865c5f324e86e849ced20ed3cf9dbbb# v3.99.8eclipse-tractusx/sig-infra/.github/actions/run-dash@main1a2be9d3b599c081a4a307d8124f33d209f7c54e# mainFiles:
.github/actions/mxd-test-action/action.yml(1) and, under.github/workflows/,run-end2end-tests.yml(6),run-tests.yaml(6),stale-bot.yml(4),verify-playground.yml(4),publish-playground.yaml(3),verify.yaml(3),secrets-scan.yml(2).Why: a version tag or branch can point to a different commit at any time. That is how the March 2026
trivy-actionsupply-chain attack worked (GHSA-69fq-xp46-6x23). A commit SHA can't be moved, so the workflows always run exactly the code that was reviewed. That matters here becausepublish-playground.yamldeploys the policy playground to GitHub Pages.For the tagged actions, each SHA is the commit the tag used so far points to today, so the behaviour does not change. The trailing comment names the exact release, so readers and Dependabot can see the version.
Two references that were branches:
trufflehog@maininsecrets-scan.yml: a moving branch is exactly the risk this PR removes, and doubly so for a secret scanner. I pinned the latest release, v3.99.8, so Dependabot can keep it up to date. The scan now runs the released code instead of whatever is onmainat the time.run-dashfromsig-infra:sig-infrahas no release tags yet, so I pinned today'smainHEAD (1a2be9d3…). Because there is no tag, Dependabot can't update this pin; updates have to be pulled in by hand. chore(actions): migrate from dedicated version to sha sig-infra#583 pins the actions insidesig-infraitself; once it is merged, this pin can be bumped.Notes for review:
run-tests.yaml,secrets-scan.yml,verify-playground.ymlandverify.yamlrun on pull requests, so CI on this PR exercises those pins, including the TruffleHog release.run-end2end-tests.ymlruns after other workflows or on dispatch,publish-playground.yamlon push andstale-bot.ymlon schedule.Pre-review checks
uses:lines are edited.Thanks for reviewing! 🏗️ Feel free to ask me anything in the comments.
How I checked this (and how you can reproduce it)
Checked against
main@03c4b3f:What I verified and what I only infer: I verified that every tag resolves to the pinned SHA, that v3.99.8 is the latest TruffleHog release, that
1a2be9d3…is the currentsig-inframainHEAD, and that the branch diff contains exactly these twenty-nineuses:lines in one commit. I infer that the workflows behave the same; the PR checks confirm it for the PR-triggered workflows.— KIT Master Builder 🏗️