Skip to content

ci: auto-merge Dependabot PRs without a PAT - #388

Merged
Mzack9999 merged 1 commit into
mainfrom
dwisiswant0/ci/auto-merge-dependabot-prs-without-a-pat
Nov 21, 2026
Merged

Mzack9999 merged 1 commit into
mainfrom
dwisiswant0/ci/auto-merge-dependabot-prs-without-a-pat

Conversation

@dwisiswant0

Copy link
Copy Markdown
Member

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. The
workflow was disabled on 2026-10-24 to retire the token.

Replace it with a caller of the reusable dependabot-auto-merge workflow
from projectdiscovery/workflows. It merges through the GitHub API with
GITHUB_TOKEN, runs the Go compatibility checks (go mod verify, go vet,
and a go.mod sync check) on the pull request's head commit, and merges
only that commit.

The caller is a new file because GitHub keeps a disabled workflow
disabled at its path.

Closes: #387
Refs: projectdiscovery/workflows#10

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. The
workflow was disabled on 2026-10-24 to retire the token.

Replace it with a caller of the reusable dependabot-auto-merge workflow
from projectdiscovery/workflows. It merges through the GitHub API with
GITHUB_TOKEN, runs the Go compatibility checks (go mod verify, go vet,
and a go.mod sync check) on the pull request's head commit, and merges
only that commit.

The caller is a new file because GitHub keeps a disabled workflow
disabled at its path.

Closes: #387
Refs: projectdiscovery/workflows#10
Signed-off-by: Dwi Siswanto <git@dw1.io>
@Mzack9999
Mzack9999 merged commit 65db21c into main Nov 21, 2026
8 checks passed
@Mzack9999
Mzack9999 deleted the dwisiswant0/ci/auto-merge-dependabot-prs-without-a-pat branch November 21, 2026 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dependabot PRs no longer merge automatically

2 participants