fix(ci): pin the organization on attestation init in GitHub workflows - #3318
Merged
jiparis merged 1 commit intoJul 31, 2026
Conversation
Attestations that authenticate via OIDC could resolve a different organization than intended, causing the runs to fail. Pass --org chainloop explicitly to `chainloop attestation init` so the organization is fixed for the whole attestation lifecycle. Assisted-by: Claude Code Signed-off-by: Jose I. Paris <jiparis@chainloop.dev>
javirln
approved these changes
Jul 31, 2026
jiparis
deleted the
jiparis/pfm-6860-add-the-org-name-to-all-chainloop-attestations
branch
July 31, 2026 10:33
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.
Attestations authenticating via OIDC could resolve an organization other than the intended one, causing several workflow runs to fail.
chainloop attestation initnow receives an explicit--org chainloopin all GitHub workflows that craft attestations, which pins the organization for the whole attestation lifecycle. Onlyinitneeds the flag: the organization is persisted afterwards, so the remainingadd/push/resetcommands resolve it on their own.Workflows updated: author verification, codeql, helm chart packaging, release (release gate and release jobs), SCM configuration check, and the daily secrets scan.
Note that
scorecards.ymlis not covered here, since it delegates attestation crafting to a reusable workflow inchainloop-dev/labsthat does not expose an organization input.Resolves PFM-6860.
AI disclosure: this change was produced with the assistance of Claude Code.