Skip to content

ci: merge Dependabot PRs only at the checked commit - #1546

Merged
Mzack9999 merged 1 commit into
devfrom
dwisiswant0/ci/merge-dependabot-prs-only-at-the-checked-commit
Nov 21, 2026
Merged

Mzack9999 merged 1 commit into
devfrom
dwisiswant0/ci/merge-dependabot-prs-only-at-the-checked-commit

Conversation

@dwisiswant0

@dwisiswant0 dwisiswant0 commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

auto-merge.yaml ran when the compatibility checks completed and merged
the pull request's head as it was at that moment, so a commit pushed to
a Dependabot branch after the checks started could merge unchecked.

Replace compat-checks.yaml and auto-merge.yaml with one caller of the
reusable dependabot-auto-merge workflow from projectdiscovery/workflows.
It runs the same compatibility checks on the pull request's head commit
and merges only that commit; when the head has moved, the merge fails
and the pull request stays open.

When go.mod is out of sync, the checks now fail instead of pushing a go
mod tidy commit to the Dependabot branch. No Dependabot pull request
merged since compat-checks.yaml was added needed that commit.

Until dev is merged into main, main keeps its copy of auto-merge.yaml.
It no longer runs, because nothing on dev starts the compatibility
checks it waits for.

Closes: #1549
Refs: projectdiscovery/workflows#10

@coderabbitai

coderabbitai Bot commented Nov 20, 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: 5f686d1e-981c-4454-aab7-66dfa80cb0b8

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

auto-merge.yaml ran when the compatibility checks completed and merged
the pull request's head as it was at that moment, so a commit pushed to
a Dependabot branch after the checks started could merge unchecked.

Replace compat-checks.yaml and auto-merge.yaml with one caller of the
reusable dependabot-auto-merge workflow from projectdiscovery/workflows.
It runs the same compatibility checks on the pull request's head commit
and merges only that commit; when the head has moved, the merge fails
and the pull request stays open.

When go.mod is out of sync, the checks now fail instead of pushing a go
mod tidy commit to the Dependabot branch. No Dependabot pull request
merged since compat-checks.yaml was added needed that commit.

Until dev is merged into main, main keeps its copy of auto-merge.yaml.
It no longer runs, because nothing on dev starts the compatibility
checks it waits for.

Closes: #1549
Refs: projectdiscovery/workflows#10
Signed-off-by: Dwi Siswanto <[email protected]>
@dwisiswant0
dwisiswant0 force-pushed the dwisiswant0/ci/merge-dependabot-prs-only-at-the-checked-commit branch from 8ea7ef3 to 17c9f94 Compare November 20, 2026 19:43
@Mzack9999
Mzack9999 merged commit 40d7ab6 into dev Nov 21, 2026
3 checks passed
@Mzack9999
Mzack9999 deleted the dwisiswant0/ci/merge-dependabot-prs-only-at-the-checked-commit branch November 21, 2026 16:46
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