Fix CI not triggering on automated dependency update PRs#1086
Merged
stephentoub merged 2 commits intomainfrom Apr 16, 2026
Merged
Fix CI not triggering on automated dependency update PRs#1086stephentoub merged 2 commits intomainfrom
stephentoub merged 2 commits intomainfrom
Conversation
Create dependency update PRs as drafts so maintainers can trigger CI by clicking "Ready for review". Add ready_for_review to pull_request types in all CI workflows. Agent-Logs-Url: https://github.com/github/copilot-sdk/sessions/4e36e957-26c2-47a9-88c2-7b630ff3a33b Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
stephentoub
April 16, 2026 02:36
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Ensures CI runs for PRs opened by the update-copilot-dependency.yml workflow, which currently creates PRs in a GITHUB_TOKEN context where downstream workflow triggers are suppressed by GitHub.
Changes:
- Create automated dependency update PRs as drafts (
gh pr create --draft) and add “next steps” guidance in the PR body. - Update CI workflows to explicitly trigger on
pull_requestevent types includingready_for_review.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/update-copilot-dependency.yml | Creates dependency update PRs as drafts and adds instructions to trigger CI via “Ready for review”. |
| .github/workflows/verify-compiled.yml | Adds ready_for_review to PR trigger types so checks can run after draft PR is marked ready. |
| .github/workflows/scenario-builds.yml | Same PR trigger type update to run scenario builds after “Ready for review”. |
| .github/workflows/python-sdk-tests.yml | Same PR trigger type update for Python CI. |
| .github/workflows/nodejs-sdk-tests.yml | Same PR trigger type update for Node.js CI. |
| .github/workflows/go-sdk-tests.yml | Same PR trigger type update for Go CI. |
| .github/workflows/dotnet-sdk-tests.yml | Same PR trigger type update for .NET CI. |
| .github/workflows/docs-validation.yml | Same PR trigger type update for docs validation CI. |
| .github/workflows/corrections-tests.yml | Same PR trigger type update for corrections tests CI. |
| .github/workflows/codegen-check.yml | Same PR trigger type update for codegen verification CI. |
Copilot's findings
- Files reviewed: 10/10 changed files
- Comments generated: 1
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.
PRs created by
update-copilot-dependency.ymlget no CI runs becauseGITHUB_TOKEN-triggered events are suppressed by GitHub to prevent recursive workflows.Approach
Create the automated PR as a draft. A maintainer clicking "Ready for review" fires
pull_request.ready_for_reviewfrom their own context, which is not suppressed. No secrets or GitHub Apps needed.Changes
update-copilot-dependency.yml— added--drafttogh pr createtypes: [opened, synchronize, reopened, ready_for_review]topull_requesttriggers (the first three are the existing defaults, made explicit)Workflow
update-copilot-dependency, pushes branch, opens draft PR