chore: modernize Dependabot auto-merge workflow#3119
Merged
PierreBrisorgueil merged 1 commit intomasterfrom Feb 17, 2026
Merged
chore: modernize Dependabot auto-merge workflow#3119PierreBrisorgueil merged 1 commit intomasterfrom
PierreBrisorgueil merged 1 commit intomasterfrom
Conversation
Replace third-party ahmadnassri action + WAOS PAT with official approach: - Use dependabot/fetch-metadata@v2 to detect update type - Auto-approve and enable auto-merge for patch/minor updates only - Use GITHUB_TOKEN instead of WAOS PAT (auto-merge enabled on repo) - Gate on github.actor == 'dependabot[bot]' to avoid running on all PRs - Remove unused issues: write permission
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.
Summary
Replace the outdated third-party action with the official GitHub-recommended approach:
ahmadnassri/action-dependabot-auto-merge@v2+WAOSPAT →dependabot/fetch-metadata@v2+GITHUB_TOKENif: github.actor == 'dependabot[bot]'guard — workflow no longer runs on all PRsgh pr review --approve) before enabling auto-mergeissues: writepermissionWhy
WAOSPAT is a personal token with expiry risk;GITHUB_TOKENis sufficient since auto-merge is enabled on the repoahmadnassriaction is unmaintained and uses deprecated patternsdependabot[bot]guard prevents the workflow from triggering on non-Dependabot PRsTest plan