Attach Forgejo PR merge commits for Ward validation #715

Closed
opened 2026-08-01 05:31:43 +00:00 by coilyco-ops · 0 comments
Member

Forgejo pull-request runs check out the synthetic merge commit at detached HEAD. Ward repository verbs require a named branch with an upstream, so the lint workflow exits before ansible-sync-test or pre-commit executes.

Observed in PR 710 run 1973. The exact merge commit passes both Ward validation verbs after it is attached to a temporary local branch tracking origin/main.

Update the lint workflow to fetch branch refs and attach pull-request merge commits to an ephemeral local branch before invoking Ward. Preserve validation of the synthetic merge result rather than switching checkout to the pull-request head.

Ward product support for audited detached CI commits is tracked in coilyco-flight-deck/ward#1632.

Forgejo pull-request runs check out the synthetic merge commit at detached HEAD. Ward repository verbs require a named branch with an upstream, so the lint workflow exits before ansible-sync-test or pre-commit executes. Observed in PR 710 run 1973. The exact merge commit passes both Ward validation verbs after it is attached to a temporary local branch tracking origin/main. Update the lint workflow to fetch branch refs and attach pull-request merge commits to an ephemeral local branch before invoking Ward. Preserve validation of the synthetic merge result rather than switching checkout to the pull-request head. Ward product support for audited detached CI commits is tracked in coilyco-flight-deck/ward#1632.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
coilyco-flight-deck/infrastructure#715
No description provided.