ci: re-dispatch PR checks after Claude pushes autoupdate fixes - #29
Merged
Merged
Conversation
Autoupdate PRs that needed a Claude fix ended up with zero checks and sat stuck: Claude pushes with GITHUB_TOKEN, which creates no workflow run, and the pull_request run GitHub queues for those commits stays in action_required and never executes. autoupdate.yml only dispatched pr-checks once, against the broken baseline before the fix existed. claude.yml now dispatches the repo's CI explicitly after the Claude step, since workflow_dispatch is the only ungated trigger. Needs actions: write. Also corrects the PR body text that claimed checks re-run automatically on each push. Generated from siarheidudko/claude templates. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PfHHX2WrotHCt9djnk6tMZ
siarheidudko
marked this pull request as ready for review
July 25, 2026 18:20
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.
Rolls out the workflow fix from
siarheidudko/claude#4.Problem
Autoupdate PRs that needed a Claude fix ended up with zero check runs and sat stuck — #28 was one of them. The fix Claude pushed was correct; nothing ever ran CI on it:
GITHUB_TOKEN, and aGITHUB_TOKENpush creates no workflow run, so thepush:trigger never fires.pull_requestruns GitHub does queue for that commit (bothPR checksandCI) end inaction_requiredand never execute — hence no checks at all rather than a red one.autoupdate.ymldispatchedpr-checksexactly once, right after opening the PR, i.e. against the broken baseline before Claude's fix existed.Changes
claude.yml— new final step dispatching this repo's CI oninputs.branchafter the Claude Code step (workflow_dispatchis the only ungated trigger). Guarded withalways()so a failed Claude session leaves a red check instead of an empty list.claude.yml—actions: read→actions: write, required forgh workflow run.autoupdate.yml— PR body no longer claims checks re-run automatically on each push.This repo is gated by two workflows,
pr-checks.ymlandtest.yml(CI), so both are dispatched — declared via a newci_workflowskey in the template config rather than hardcoded.release.ymlis untouched.Generated by Claude Code