Adopt the Dependabot changelog 'draft trick'#4148
Merged
Merged
Conversation
Applies the consumer-side changes from logging-parent PR #476: * `build.yaml` and `codeql-analysis.yaml` now subscribe to the `ready_for_review` pull request type, so required checks re-run when a Dependabot PR is taken out of draft. * `process-dependabot.yaml` drops the `RECURSIVE_TOKEN` PAT secret, which is no longer needed now that the reusable workflow parks the PR in draft mode instead of pushing with a privileged token. Assisted-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
vy
approved these changes
Jun 18, 2026
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.
Applies the consumer-side changes from apache/logging-parent#476 so this repository works with the new Dependabot changelog "draft trick".
Pushes made with
GITHUB_TOKENdo not retrigger workflows (GitHub anti-recursion rule), so the changelog commit cannot re-run the required checks on its own. Instead of relying on a privileged PAT, the reusable workflow now appends the changelog commit and parks the PR in draft mode; a maintainer clicks Ready for review and enables Auto-merge to complete the merge.Changes
build.yamlandcodeql-analysis.yaml: subscribepull_requestto explicit types includingready_for_review, so the required checks re-run when a Dependabot PR is taken out of draft.process-dependabot.yaml: drop theRECURSIVE_TOKEN(DEPENDABOT_TOKEN) PAT secret, which is no longer needed, and update the permission comments to reflect the draft-based flow.The reusable-workflow references are left at the moving
@gha/v0tag, which picks up the draft-trick behavior automatically.Warning
Due to the breaking changes in
gha/v0, Dependabot PR will not work, unless this is merged first.