Repository navigation
ci: auto-merge Dependabot PRs without a PAT - #2757
Merged
Mzack9999 merged 1 commit intoNov 21, 2026
Merged
Conversation
auto-merge.yaml and dep-auto-merge.yml approved Dependabot pull requests with a personal access token, DEPENDABOT_PAT, and asked Dependabot to merge them with an @dependabot merge comment. GitHub removed that command on 2026-01-27, so Dependabot pull requests opened here since then need a manual merge, even after compatibility-checks.yaml passes. Both workflows were disabled on 2026-10-24 to retire the token. Replace the three files with one caller of the reusable dependabot-auto-merge workflow from projectdiscovery/workflows. It merges through the GitHub API with GITHUB_TOKEN, runs the same compatibility checks on the pull request's head commit, and merges only that commit. When go.mod is out of sync, the checks now fail instead of pushing a go mod tidy commit to the Dependabot branch. That last happened in April 2025, in #2142. The caller is a new file because GitHub keeps a disabled workflow disabled at its path. Closes: #2756 Refs: projectdiscovery/workflows#10 Signed-off-by: Dwi Siswanto <[email protected]>
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters: 4
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including
|
Closed
40 tasks done
Mzack9999
approved these changes
Nov 21, 2026
Mzack9999
deleted the
dwisiswant0/ci/auto-merge-dependabot-prs-without-a-pat
branch
November 21, 2026 17:49
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.
Proposed changes
auto-merge.yaml and dep-auto-merge.yml approved Dependabot pull requests
with a personal access token, DEPENDABOT_PAT, and asked Dependabot to
merge them with an @dependabot merge comment. GitHub removed that
command on 2026-01-27, so Dependabot pull requests opened here since
then need a manual merge, even after compatibility-checks.yaml passes.
Both workflows were disabled on 2026-10-24 to retire the token.
Replace the three files with one caller of the reusable
dependabot-auto-merge workflow from projectdiscovery/workflows. It
merges through the GitHub API with GITHUB_TOKEN, runs the same
compatibility checks on the pull request's head commit, and merges only
that commit.
When go.mod is out of sync, the checks now fail instead of pushing a go
mod tidy commit to the Dependabot branch. That last happened in April
2025, in #2142.
The caller is a new file because GitHub keeps a disabled workflow
disabled at its path.
Closes: #2756
Refs: projectdiscovery/workflows#10
Proof
actionlint 1.7.12 reports no issues in the new caller. On
devat 402fd34, the compatibility checks pass with Go 1.27.3 in a Linux sandbox:go mod download,go mod verify,go vet ./..., and an unchangedgo.mod.Checklist