Skip to content

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

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#19
siarheidudko merged 1 commit into
mainfrom
claude/stuck-prs-dependency-update-18rrre

Conversation

@siarheidudko

Copy link
Copy Markdown
Owner

Rolls out the workflow fix from siarheidudko/claude#4.

Problem

Across the sibling repos, autoupdate PRs that needed a Claude fix ended up with zero check runs and sat stuck. The fixes Claude pushed were correct; nothing ever ran CI on them:

  1. Claude pushes with GITHUB_TOKEN, and a GITHUB_TOKEN push creates no workflow run, so pr-checks' push: trigger never fires.
  2. The pull_request run GitHub does queue for that commit ends in action_required and never executes — 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.

This repo had no stuck autoupdate PR this cycle, but carries the same templates and the same latent bug.

Changes

  • claude.yml — new final step dispatching pr-checks.yml 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.

Generated from the siarheidudko/claude templates; no repo-specific hand edits. The build+test-only check pipeline for this repo is unchanged — no lint invocation added.


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 595fbe1 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