Skip to content

Evergreen: trigger CI via empty commit instead of workflow_dispatch#288

Merged
mrjf merged 1 commit into
mainfrom
fix/evergreen-empty-commit-ci-trigger
May 11, 2026
Merged

Evergreen: trigger CI via empty commit instead of workflow_dispatch#288
mrjf merged 1 commit into
mainfrom
fix/evergreen-empty-commit-ci-trigger

Conversation

@mrjf
Copy link
Copy Markdown
Contributor

@mrjf mrjf commented May 10, 2026

Problem

workflow_dispatch triggered by a PAT requires manual approval on org-owned public repos. Evergreen dispatches CI but it sits at "awaiting approval" forever.

Fix

Push an empty commit to the branch via the GitHub API (using GH_AW_CI_TRIGGER_TOKEN). This fires the push event on autoloop/** which triggers ci.yml without needing approval.

🤖 Generated with Claude Code

workflow_dispatch requires manual approval on org-owned public repos
when triggered by a personal PAT. Push an empty commit instead —
pushes to autoloop/** trigger ci.yml via the push event without
needing approval.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mrjf mrjf merged commit eda6359 into main May 11, 2026
12 checks passed
@mrjf mrjf deleted the fix/evergreen-empty-commit-ci-trigger branch May 11, 2026 01:37
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.

1 participant