Skip to content

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

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 ran only for pull requests to dev, a branch this
repository does not have, so it never merged a Dependabot pull request.
It used a personal access token, DEPENDABOT_PAT, and was disabled on
2026-10-24 to retire that token.

Replace it with a caller of the reusable dependabot-auto-merge workflow
from projectdiscovery/workflows for pull requests to main, where
Dependabot opens them. The workflow needs only GITHUB_TOKEN. It 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: #194
Refs: projectdiscovery/workflows#10

dep-auto-merge.yml ran only for pull requests to dev, a branch this
repository does not have, so it never merged a Dependabot pull request.
It used a personal access token, DEPENDABOT_PAT, and was disabled on
2026-10-24 to retire that token.

Replace it with a caller of the reusable dependabot-auto-merge workflow
from projectdiscovery/workflows for pull requests to main, where
Dependabot opens them. The workflow needs only GITHUB_TOKEN. It 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: #194
Refs: projectdiscovery/workflows#10
Signed-off-by: Dwi Siswanto <[email protected]>
@Mzack9999
Mzack9999 merged commit 108d1bd into main Nov 21, 2026
2 checks passed
@Mzack9999
Mzack9999 deleted the dwisiswant0/ci/auto-merge-dependabot-prs-without-a-pat branch November 21, 2026 17:59
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 never merge automatically

2 participants