Skip to content

ci(security): add same-repo PR guard for self-hosted runners#86

Merged
hummbl-dev merged 2 commits into
mainfrom
ci/runner-fleet-hardening
Jul 23, 2026
Merged

ci(security): add same-repo PR guard for self-hosted runners#86
hummbl-dev merged 2 commits into
mainfrom
ci/runner-fleet-hardening

Conversation

@hummbl-dev

Copy link
Copy Markdown
Owner

Summary

Combined runner-fleet hardening:

  • Add same-repo PR guard to self-hosted jobs with pull_request triggers
    (blocks fork PRs from executing on self-hosted runners)

Changed files

  • .github/workflows/base120.yml
  • .github/workflows/ci.yml
  • .github/workflows/guardrails.yml
  • .github/workflows/mirror-conformance.yml

Test plan

  • CI workflows run successfully
  • Fork PRs do not trigger self-hosted runner jobs

Combined runner-fleet hardening:
- Add same-repo PR guard to self-hosted jobs with pull_request triggers
  (blocks fork PRs from executing on self-hosted runners)
@coderabbitai

coderabbitai Bot commented Jul 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@hummbl-dev, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 54 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 9e019a9d-b435-474c-b51a-4d54e7bc65fe

📥 Commits

Reviewing files that changed from the base of the PR and between 412c8f9 and 928ad63.

📒 Files selected for processing (4)
  • .github/workflows/base120.yml
  • .github/workflows/ci.yml
  • .github/workflows/guardrails.yml
  • .github/workflows/mirror-conformance.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/runner-fleet-hardening

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

Comment @coderabbitai help to get the list of available commands.

Adds SHA pinning to the existing same-repo PR guard commit.
- Pin all mutable GitHub Actions references to full commit SHAs
  (preserves 'uses:' keyword and original tag as comment)
@hummbl-dev
hummbl-dev merged commit de5bea0 into main Jul 23, 2026
9 checks passed
@hummbl-dev
hummbl-dev deleted the ci/runner-fleet-hardening branch July 23, 2026 21:23
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