Skip to content

ci: add trusted Guard attestations with v0.14.0 - #26

Merged
vladzdev merged 1 commit into
mainfrom
codapult-guard/trusted-attestation-0.14.0
Nov 9, 2026
Merged

vladzdev merged 1 commit into
mainfrom
codapult-guard/trusted-attestation-0.14.0

Conversation

@vladzdev

@vladzdev vladzdev commented Nov 9, 2026

Copy link
Copy Markdown
Member

What this adds

  • Installs Guard's trusted pull_request_target verifier from the released 0.14.0 template.
  • Pins that verifier to release commit c060de9f834d05f74ee6666508c23fa698b625c0 using the repository Actions variables, which are already configured.
  • Adds the GitHub Actions integrity contract for the existing codapult-guard.yml workflow and assigns Guard policy files to the repository's existing CODEOWNERS.
  • Keeps project checks separate; this attestation covers Guard architecture and policy verification only.

Guard 0.14.0 verification of the new policy contract passes locally (ciIntegrity.status=ok).

Before and after merge

main is currently unprotected. The active branch rulesets API does not show a rule for it, and the existing Test merge queue ruleset is disabled. The token used for this setup cannot create repository rulesets (GitHub requires Administration: write).

Before merging, protect main with a repository ruleset that requires one independent approval, CODEOWNER review for .github/** and .codapult/guard/**, and the existing Architecture Guard check. After this workflow has merged and emitted its check, add Guard trusted verification as a required check. Keep project tests/builds required separately when those workflows are enabled.

After merge, open a same-repository PR to produce and download the signed .intoto.jsonl and .sigstore.jsonl artifacts. The setup PR itself cannot produce its own trusted attestation because GitHub loads pull_request_target workflows from the default branch.

@vladzdev
vladzdev marked this pull request as ready for review November 9, 2026 12:14
@vladzdev vladzdev self-assigned this Nov 9, 2026

@vladzdev vladzdev left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

OK

@vladzdev vladzdev removed their assignment Nov 9, 2026
@vladzdev
vladzdev merged commit a29b9d9 into main Nov 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant