Skip to content

fix(ci): trigger required checks on automated PRs#567

Merged
John-David Dalton (jdalton) merged 1 commit intomainfrom
fix/ci-trigger-on-automated-prs
Apr 7, 2026
Merged

fix(ci): trigger required checks on automated PRs#567
John-David Dalton (jdalton) merged 1 commit intomainfrom
fix/ci-trigger-on-automated-prs

Conversation

@jdalton
Copy link
Copy Markdown
Contributor

Summary

  • Pushes made with GITHUB_TOKEN don't trigger other workflows (GitHub docs), leaving required CI and enterprise "Audit GHA Workflows" checks stuck at "Waiting for workflow to run" on automated PRs
  • Added a close/reopen step to both generate.yml and weekly-update.yml that generates a pull_request.reopened event, which triggers all required checks without needing a PAT or GitHub App token
  • Removed the redundant validate job from generate.yml since CI now runs properly via the PR event

Test plan

  • Trigger generate.yml via workflow_dispatch and verify the created PR gets CI and audit checks
  • Verify weekly-update.yml PR creation also triggers checks (next scheduled run or manual dispatch)

Pushes made with GITHUB_TOKEN don't trigger other workflows, leaving
required CI and enterprise audit checks stuck at "Waiting for workflow
to run." Close/reopen the PR after creation to generate a
pull_request.reopened event that triggers all required checks.

Also removes the redundant validate job from generate.yml since CI
now runs properly via the PR event.
@jdalton John-David Dalton (jdalton) merged commit 67a9765 into main Apr 7, 2026
10 checks passed
@jdalton John-David Dalton (jdalton) deleted the fix/ci-trigger-on-automated-prs branch April 7, 2026 17:43
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