Skip to content

Remove the draft-to-ready CI workaround - #296

Open
henrymercer wants to merge 1 commit into
mainfrom
henrymercer/starter-check-approval
Open

Remove the draft-to-ready CI workaround#296
henrymercer wants to merge 1 commit into
mainfrom
henrymercer/starter-check-approval

Conversation

@henrymercer

Copy link
Copy Markdown
Contributor

Remove the draft-to-ready CI workaround now that GITHUB_TOKEN PRs support check approval, avoiding duplicate checks when drafts are marked ready.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings September 9, 2026 16:34

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The changes are small, consistent with the stated goal (avoid duplicate checks), and do not introduce new logic beyond adjusting PR creation and workflow triggers.

Review tier: Lite
Findings: None

What changed in this PR

Removes the draft→ready CI workaround for CodeQL submodule update PRs now that GITHUB_TOKEN-authored PRs can support the required check approval flow, which should eliminate duplicate workflow runs when drafts are marked ready.

Changes:

  • Stop creating CodeQL submodule update PRs as drafts.
  • Stop triggering the “Check submodule pointers” workflow on ready_for_review to avoid duplicate runs.
File Description
.github/​workflows/​update-codeql-submodule.yml Creates submodule update PRs as non-drafts (removes --draft).
.github/​workflows/​check-submodule-pointers.yml Removes ready_for_review PR event trigger to prevent duplicate checks.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@henrymercer
henrymercer requested a review from a team September 9, 2026 16:36
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