Repository navigation
Pass a merge token to the Dependabot auto-merge - #721
Merged
Merged
Conversation
Pins the Dependabot auto-merge workflow to trento-project/.github v1.12.0, and passes the `TRENTOBOT_GH_PAT` Dependabot secret as `gh_token`. With `GITHUB_TOKEN`, a Dependabot merge starts no workflow run on `main`. Auto-merge also fails for a PR that changes workflow files after `main` changed the same files. With the token, the merge is done by the user of the token, so the push to `main` starts the workflows. Needs the `TRENTOBOT_GH_PAT` Dependabot secret. Without it, the workflow falls back to `GITHUB_TOKEN`, as today.
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the Dependabot auto-merge token update.
No open issues 🎉
What changed in this PR
Updates Dependabot auto-merge to use a dedicated merge token so merges can trigger workflows on main and handle workflow-file changes.
Changes:
- Pins the reusable auto-merge workflow to the commit for v1.12.0.
- Passes the
TRENTOBOT_GH_PATDependabot secret asgh_token, with the described fallback toGITHUB_TOKENwhen unavailable.
| File | Description |
|---|---|
.github/workflows/ci.yaml |
Updates the auto-merge workflow pin and forwards the merge token. |
Review effort: Balanced
nelsonkopliku
marked this pull request as ready for review
November 2, 2026 10:51
nelsonkopliku
enabled auto-merge (squash)
November 2, 2026 10:54
arbulu89
approved these changes
Nov 2, 2026
arbulu89
left a comment
Contributor
There was a problem hiding this comment.
Thank you!
@nelsonkopliku from my side, feel free to "force merge" without approval the other repositories. No need to wait for review for all of them
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.
Pins the Dependabot auto-merge workflow to trento-project/.github v1.12.0, which includes trento-project/.github#55, and passes the
TRENTOBOT_GH_PATDependabot secret asgh_token.With
GITHUB_TOKEN, a Dependabot merge starts no workflow run onmain. Auto-merge also fails for a PR that changes workflow files aftermainchanged the same files. With the token, the merge is done by the user of the token, so the push tomainstarts the workflows.Needs the
TRENTOBOT_GH_PATDependabot secret. Without it, the workflow falls back toGITHUB_TOKEN, as today.