Skip to content

ci: re-dispatch PR checks after Claude pushes autoupdate fixes - #29

Merged
siarheidudko merged 1 commit into
mainfrom
claude/stuck-prs-dependency-update-18rrre
Jul 25, 2026
Merged

ci: re-dispatch PR checks after Claude pushes autoupdate fixes#29
siarheidudko merged 1 commit into
mainfrom
claude/stuck-prs-dependency-update-18rrre

Conversation

@siarheidudko

Copy link
Copy Markdown
Member

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:

  1. Claude pushes with GITHUB_TOKEN, and a GITHUB_TOKEN push creates no workflow run, so the push: trigger never fires.
  2. The pull_request runs GitHub does queue for that commit (both PR checks and CI) end in action_required and never execute — hence no checks at all rather than a red one.
  3. autoupdate.yml dispatched pr-checks exactly 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 on inputs.branch after the Claude Code step (workflow_dispatch is the only ungated trigger). Guarded with always() so a failed Claude session leaves a red check instead of an empty list.
  • claude.ymlactions: readactions: write, required for gh 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.yml and test.yml (CI), so both are dispatched — declared via a new ci_workflows key in the template config rather than hardcoded. release.yml is untouched.


Generated by Claude Code

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
siarheidudko marked this pull request as ready for review July 25, 2026 18:20
@siarheidudko
siarheidudko merged commit f5b5eb2 into main Jul 25, 2026
8 checks passed
@siarheidudko
siarheidudko deleted the claude/stuck-prs-dependency-update-18rrre branch July 25, 2026 18:20
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