Replace "draft trick" documentation with auto-merge flow#501
Open
ppkarwasz wants to merge 1 commit into
Open
Conversation
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>
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.
Follow-up to #500, which replaces the draft-mode step in
process-dependabot-reusable.yamlwith 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_TOKENare 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:
process-dependabot-reusable.yamldocumentation inworkflows.adocto 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.ready_for_reviewtrigger frombuild.yamlandcodeql-analysis.yaml, restoring their pre-Document “draft trick” #476 state with the defaultpull_requesttypes.