Skip to content

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

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

Mzack9999 merged 1 commit into
devfrom
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: #1047
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: #1047
Refs: projectdiscovery/workflows#10
Signed-off-by: Dwi Siswanto <git@dw1.io>
@coderabbitai

coderabbitai Bot commented Nov 21, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: f04ad261-fb80-4c18-8d9a-199429008635

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@Mzack9999
Mzack9999 merged commit 9d51529 into dev Nov 21, 2026
5 checks passed
@Mzack9999
Mzack9999 deleted the dwisiswant0/ci/auto-merge-dependabot-prs-without-a-pat branch November 21, 2026 17:53
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.

2 participants