Skip to content

ci: gate Dependabot's pull requests on GitHub again - #81

Merged
crazeydave merged 1 commit into
mainfrom
ci/dependabot-pr
Nov 19, 2026
Merged

crazeydave merged 1 commit into
mainfrom
ci/dependabot-pr

Conversation

@crazeydave

@crazeydave crazeydave commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Fixes a gap the first rollout left: with no pull_request trigger, Dependabot's PRs got no CI at all, since nobody runs ci-local for them.

What changes

  • pull_request is back as a trigger, but every job except the release now carries
    if: 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).
  • An all-skipped run reports success but is not a green build. The live-CI hook and dev.md (claude-dev#50) say so, so the standing merge-when-green rule never fires on it.
  • Concurrency: a Dependabot PR shares a group per branch again, so a rebase cancels the superseded run. Runs on main keep a group per run.
  • Semgrep: Dependabot-triggered runs get no Actions secrets, so the scan skips on those PRs. The merge to main still scans and gates the release.

This changes CI only, so it is merged with [skip ci] and cuts no release on its own.

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge.

Summary

Restores GitHub CI for Dependabot pull requests while keeping releases limited to main.

  • Dependabot pull requests now run the GitHub CI gates.
  • Pull-request runs cancel older runs for the same ref.

No actionable issues found.

Reviews (1) · Last reviewed commit: "ci: gate Dependabot's pull requests on G..." · Reviewed by Greptile

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.
@coderabbitai

coderabbitai Bot commented Nov 19, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

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: Advanced
  • Run ID: 2296dc89-c4c7-4ec8-b695-701ce2bc310d
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@crazeydave
crazeydave merged commit 836a3d5 into main Nov 19, 2026
8 checks passed
@crazeydave
crazeydave deleted the ci/dependabot-pr branch November 19, 2026 12:15
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.

1 participant