Skip to content

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

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: #317
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: #317
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

Review was skipped due to path filters

⛔ Files ignored due to path filters: 2

  • .github/workflows/dep-auto-merge.yml is excluded by !**/*.yml
  • .github/workflows/dependabot-auto-merge.yaml is excluded by !**/*.yaml

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

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: fe10beed-a81c-419b-926e-c32ecc40a728

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 9cf9fe0 into main Nov 21, 2026
4 checks passed
@Mzack9999
Mzack9999 deleted the dwisiswant0/ci/auto-merge-dependabot-prs-without-a-pat branch November 21, 2026 17:45
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