Repository navigation
Conversation
Closed
40 tasks done
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. Closes: #194 Refs: projectdiscovery/workflows#10 Signed-off-by: Dwi Siswanto <git@dw1.io>
dwisiswant0
force-pushed
the
dwisiswant0/ci/merge-dependabot-prs-only-at-the-checked-commit
branch
from
November 20, 2026 19:43
f8e8857 to
6e17797
Compare
Mzack9999
approved these changes
Nov 21, 2026
Mzack9999
deleted the
dwisiswant0/ci/merge-dependabot-prs-only-at-the-checked-commit
branch
November 21, 2026 16:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
Closes: #194
Refs: projectdiscovery/workflows#10