Skip to content

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

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

compat-checks.yaml runs only for pull requests to dev, a branch this
repository no longer has, and dep-auto-merge.yml runs only after it.
Neither has run for a Dependabot pull request to main, so each one has
been merged by hand. dep-auto-merge.yml also used a personal access
token, DEPENDABOT_PAT, and was disabled on 2026-10-24 to retire that
token.

Replace both files with one 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: #471
Refs: projectdiscovery/workflows#10

compat-checks.yaml runs only for pull requests to dev, a branch this
repository no longer has, and dep-auto-merge.yml runs only after it.
Neither has run for a Dependabot pull request to main, so each one has
been merged by hand. dep-auto-merge.yml also used a personal access
token, DEPENDABOT_PAT, and was disabled on 2026-10-24 to retire that
token.

Replace both files with one 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: #471
Refs: projectdiscovery/workflows#10
Signed-off-by: Dwi Siswanto <[email protected]>
@Mzack9999
Mzack9999 merged commit acefa31 into main Nov 21, 2026
3 checks passed
@Mzack9999
Mzack9999 deleted the dwisiswant0/ci/auto-merge-dependabot-prs-without-a-pat branch November 21, 2026 17:50
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 to main don't merge automatically

2 participants