Repository navigation
ci: gate Dependabot's pull requests on GitHub again - #92
Merged
Merged
Conversation
The release-only change left Dependabot PRs with no CI at all, since nobody runs ci-local for them. pull_request is a trigger again, but every job except the release skips unless the PR's author is dependabot[bot]; other PRs' gates still run locally. Dependabot runs get no secrets, so Semgrep skips there and the merge to main scans.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
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.
Fixes a gap the first rollout left: with no
pull_requesttrigger, Dependabot's PRs got no CI at all, since nobody runsci-localfor them.What changes
pull_requestis back as a trigger, but every job except the release now carriesif: github.event_name != 'pull_request' || github.event.pull_request.user.login == 'dependabot[bot]'.Dependabot's PRs run the full gates on GitHub. Anyone else's PR gets a run whose jobs all skip at once, so their gates still run locally (
ci-local.ps1).mainkeep a group per run.mainstill scans and gates the release.This changes CI only, so it is merged with
[skip ci]and cuts no release on its own.

Confidence Score: 5/5
The PR appears safe to merge; no actionable issues were found.Summary
Restores GitHub CI for Dependabot pull requests while keeping other contributors’ checks local and releases limited to
main.No actionable issues found.
Reviews (1) · Last reviewed commit: "ci: gate Dependabot's pull requests on G..." · Reviewed by Greptile