Skip to content

Replace "draft trick" documentation with auto-merge flow#501

Open
ppkarwasz wants to merge 1 commit into
mainfrom
docs/main/no-draft-mode
Open

Replace "draft trick" documentation with auto-merge flow#501
ppkarwasz wants to merge 1 commit into
mainfrom
docs/main/no-draft-mode

Conversation

@ppkarwasz

Copy link
Copy Markdown
Member

Follow-up to #500, which replaces the draft-mode step in process-dependabot-reusable.yaml with enabling auto-merge.

Since GitHub's June 11, 2026 change Bot-created pull requests can run workflows if approved, workflow runs triggered by the changelog commit pushed with GITHUB_TOKEN are created in an approval-required state instead of being silently dropped. A maintainer can start the required checks with the "Approve workflows to run" button, so the "draft trick" introduced in #475 and documented in #476 is no longer necessary, and the reusable workflow enables auto-merge on the PR again.

Changes:

  • Update the process-dependabot-reusable.yaml documentation in workflows.adoc to describe the new flow: the workflow appends the changelog commit and enables auto-merge; a maintainer approves the PR and clicks "Approve workflows to run"; the PR merges automatically once the required checks pass.
  • Remove the ready_for_review trigger from build.yaml and codeql-analysis.yaml, restoring their pre-Document “draft trick” #476 state with the default pull_request types.

Since GitHub's June 11, 2026 change "Bot-created pull requests can run
workflows if approved"[1], workflow runs triggered by the changelog
commit pushed with `GITHUB_TOKEN` are created in an approval-required
state instead of being dropped. A maintainer can start the required
checks with the "Approve workflows to run" button, so the "draft trick"
documented in #476 is no longer necessary and the reusable workflow
enables "auto-merge" on the PR again.

- Update the `process-dependabot-reusable.yaml` documentation to
  describe the new flow.
- Remove the `ready_for_review` trigger from `build.yaml` and
  `codeql-analysis.yaml`, restoring the default `pull_request` types.

[1] https://github.blog/changelog/2026-06-11-bot-created-pull-requests-can-run-workflows-if-approved/

Assisted-By: Claude Fable 5 <noreply@anthropic.com>
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