Skip to content

fix(ci): pin the organization on attestation init in GitHub workflows - #3318

Merged
jiparis merged 1 commit into
chainloop-dev:mainfrom
jiparis:jiparis/pfm-6860-add-the-org-name-to-all-chainloop-attestations
Jul 31, 2026
Merged

fix(ci): pin the organization on attestation init in GitHub workflows#3318
jiparis merged 1 commit into
chainloop-dev:mainfrom
jiparis:jiparis/pfm-6860-add-the-org-name-to-all-chainloop-attestations

Conversation

@jiparis

@jiparis jiparis commented Jul 31, 2026

Copy link
Copy Markdown
Member

Attestations authenticating via OIDC could resolve an organization other than the intended one, causing several workflow runs to fail.

chainloop attestation init now receives an explicit --org chainloop in all GitHub workflows that craft attestations, which pins the organization for the whole attestation lifecycle. Only init needs the flag: the organization is persisted afterwards, so the remaining add/push/reset commands 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.yml is not covered here, since it delegates attestation crafting to a reusable workflow in chainloop-dev/labs that does not expose an organization input.

Resolves PFM-6860.

AI disclosure: this change was produced with the assistance of Claude Code.

Review in cubic

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>
@jiparis
jiparis requested a review from a team July 31, 2026 09:20

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No issues found across 6 files

Re-trigger cubic

@jiparis
jiparis merged commit 0f9c58f into chainloop-dev:main Jul 31, 2026
15 checks passed
@jiparis
jiparis deleted the jiparis/pfm-6860-add-the-org-name-to-all-chainloop-attestations branch July 31, 2026 10: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.

2 participants