Skip to content

chore(ci): remove auto-draft PR workflow#8945

Merged
jdx merged 1 commit intomainfrom
remove-auto-draft
Apr 6, 2026
Merged

chore(ci): remove auto-draft PR workflow#8945
jdx merged 1 commit intomainfrom
remove-auto-draft

Conversation

@jdx
Copy link
Copy Markdown
Owner

@jdx jdx commented Apr 6, 2026

Summary

  • Removes the auto-draft-pr.yml workflow that auto-converted external PRs to draft
  • The convertPullRequestToDraft GraphQL mutation isn't supported by fine-grained PATs or the default GITHUB_TOKEN, making this workflow unfixable without a classic PAT

🤖 Generated with Claude Code


Note

Low Risk
Low risk: deletes a single CI workflow and does not affect application runtime behavior; only changes PR automation behavior in GitHub.

Overview
Disables the repository automation that auto-converted newly opened external PRs to draft mode and commented instructions to authors by removing the auto-draft-pr.yml GitHub Actions workflow.

Reviewed by Cursor Bugbot for commit b64bda7. Bugbot is set up for automated code reviews on this repo. Configure here.

The convertPullRequestToDraft GraphQL mutation isn't supported by
fine-grained PATs or the default GITHUB_TOKEN, making this workflow
unreliable.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Apr 6, 2026

Greptile Summary

This PR removes the auto-draft-pr.yml workflow, which auto-converted external contributor PRs to draft status on open. The removal is justified because the underlying convertPullRequestToDraft GraphQL mutation used by gh pr ready --undo is not supported by fine-grained PATs or the default GITHUB_TOKEN, leaving the workflow permanently broken without a classic PAT.

Confidence Score: 5/5

Safe to merge — removes a single broken workflow file with no side effects.

Single file deletion of a non-functional CI workflow. No logic changes, no code affected, and the stated reason (GraphQL mutation incompatibility) is accurate and well-documented.

No files require special attention.

Important Files Changed

Filename Overview
.github/workflows/auto-draft-pr.yml Deletes the auto-draft-pr workflow that was broken due to GraphQL mutation incompatibility with fine-grained PATs and GITHUB_TOKEN

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[PR Opened by External Contributor] -->|Before this PR| B[auto-draft-pr.yml triggered]
    B --> C{Author is OWNER/MEMBER/COLLABORATOR\nor renovate bot?}
    C -->|No| D[gh pr ready --undo\nconvertPullRequestToDraft mutation]
    D --> E[❌ Fails: mutation unsupported\nby fine-grained PATs / GITHUB_TOKEN]
    C -->|Yes| F[Skip - no action]
    A -->|After this PR| G[No auto-draft workflow\nExternal PRs stay as-is]
Loading

Reviews (1): Last reviewed commit: "chore(ci): remove auto-draft PR workflow" | Re-trigger Greptile

@jdx jdx merged commit b657fea into main Apr 6, 2026
28 checks passed
@jdx jdx deleted the remove-auto-draft branch April 6, 2026 15:28
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 6, 2026

Hyperfine Performance

mise x -- echo

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2026.4.5 x -- echo 23.4 ± 0.6 22.3 26.8 1.00
mise x -- echo 23.5 ± 1.1 22.4 35.3 1.00 ± 0.05

mise env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2026.4.5 env 22.6 ± 0.8 21.4 27.5 1.01 ± 0.04
mise env 22.3 ± 0.4 21.5 24.2 1.00

mise hook-env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2026.4.5 hook-env 22.7 ± 0.4 21.7 27.3 1.00
mise hook-env 23.2 ± 0.4 22.3 24.5 1.02 ± 0.03

mise ls

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2026.4.5 ls 19.9 ± 0.3 19.2 21.2 1.00
mise ls 20.5 ± 0.6 19.5 27.3 1.03 ± 0.03

xtasks/test/perf

Command mise-2026.4.5 mise Variance
install (cached) 151ms 150ms +0%
ls (cached) 78ms 78ms +0%
bin-paths (cached) 83ms 82ms +1%
task-ls (cached) 812ms 800ms +1%

mise-en-dev added a commit that referenced this pull request Apr 7, 2026
### 🚀 Features

- **(config)** Add Tera template support to miserc.toml by
@richardthe3rd in [#8867](#8867)

### 🐛 Bug Fixes

- **(env)** include tools-only redactions in `mise env --redacted` by
@jakedgy in [#8956](#8956)
- **(env)** pass dependency env to vfox backend plugin hooks by
@cprecioso in [#8952](#8952)
- **(shim)** fix race condition when removing in make_shim, when
multiple plugins provide the same shim by @brander-john in
[#8947](#8947)
- **(spm)** derive API URL from host for self-hosted instances by
@ThomasDutartre in [#8955](#8955)
- **(task)** resolve env vars in usage tera templates when flags are
provided by @jdx in [#8957](#8957)

### 📚 Documentation

- **(python)** clarify attestation settings must be under [settings] in
mise.toml by @fru1tworld in
[#8939](#8939)

### 📦 Registry

- added sing-box by @tony-sol in
[#8944](#8944)

### Chore

- **(ci)** remove auto-draft PR workflow by @jdx in
[#8945](#8945)

### New Contributors

- @ThomasDutartre made their first contribution in
[#8955](#8955)
- @jakedgy made their first contribution in
[#8956](#8956)
- @brander-john made their first contribution in
[#8947](#8947)
- @fru1tworld made their first contribution in
[#8939](#8939)
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