Skip to content

ci: wire CASCADE_STATE_TOKEN for protected-trunk state writes - #96

Merged
joshua-temple merged 1 commit into
mainfrom
chore/activate-state-token
Jun 10, 2026
Merged

joshua-temple merged 1 commit into
mainfrom
chore/activate-state-token

Conversation

@joshua-temple

Copy link
Copy Markdown
Collaborator

Activates the protected-trunk state write added in #94. Sets the manifest state_token to the CASCADE_STATE_TOKEN secret and regenerates the self-host orchestrate and promote workflows.

With this, the Finalize state write authenticates with a token that can update the protected main branch, so the chore: update state [skip ci] commit lands through the GitHub Contents API instead of the direct git push that branch protection was rejecting (GH006: Required status check "PR Gate" is expected). The API-created commit is also signed (Verified).

This is the commit that should turn the self-host Finalize job green. The first Orchestrate run on main after merge confirms the token can write through branch protection; if it can't, the fallback is a GitHub App on a ruleset bypass.

Set the manifest state_token to the CASCADE_STATE_TOKEN secret and regenerate the
self-host orchestrate and promote workflows. Finalize now writes manifest state
through the GitHub Contents API with a token that can update the protected trunk,
replacing the direct push that branch protection rejected.

Signed-off-by: Joshua Temple <joshua.temple@stablekernel.com>
@joshua-temple
joshua-temple enabled auto-merge (squash) June 10, 2026 22:51
@joshua-temple
joshua-temple merged commit d890683 into main Jun 10, 2026
5 checks passed
@joshua-temple joshua-temple added the ci CI/CD pipeline and workflow changes label Jun 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci CI/CD pipeline and workflow changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant