Skip to content

ci: add runner input to repo-standards reusable (default hosted) - #60

Merged
WomB0ComB0 merged 1 commit into
mainfrom
ci/repo-standards-runner-input
Sep 25, 2026
Merged

WomB0ComB0 merged 1 commit into
mainfrom
ci/repo-standards-runner-input

Conversation

@WomB0ComB0

@WomB0ComB0 WomB0ComB0 commented Sep 25, 2026 •

Copy link
Copy Markdown
Member

Adds a runner input to the reusable repo-standards workflow, defaulting to ubuntu-latest so every existing caller keeps its current behaviour. Callers opt in by passing runner: ${{ vars.USE_SELF_HOSTED == 'true' && 'self-hosted' || 'ubuntu-latest' }}, mirroring security-scan.yml.

Follow-up (blocked on this merge): point the calling repos' repo-standards jobs at the switch (bump its pin to the merged SHA + pass the input). Passing the input against the old pin would error until this lands.

Summary by CodeRabbit

  • Chores
    • The repository standards workflow can now be configured to use a selected runner. Existing workflows continue to use the default runner unless a different one is specified.

@coderabbitai

coderabbitai Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: f5462d4a-3eb3-4ed9-9bb5-8c3ddcc1f59d

📥 Commits

Reviewing files that changed from the base of the PR and between f3af26a and 09f0098.

📒 Files selected for processing (1)
  • .github/workflows/repo-standards.yml

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The reusable repo-standards workflow adds an optional runner input, defaulting to ubuntu-latest. The job uses the input value to select its runner.

Changes

Standards workflow runner

Layer / File(s) Summary
Runner input and job selection
.github/workflows/repo-standards.yml
The workflow defines an optional runner input with an ubuntu-latest default. The job uses that input instead of a fixed runner label.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Feature

Merge Risk: ⚪ Minimal · up to 09f00

Existing standards checks retain their runner selection. The change is ready to merge after normal checks.

Architecture Summary

Architecture risk: 🔵 Low · up to 09f00

The changed surface does not map to a changed system, dependency edge, entrypoint, or external dependency.

Changed systems: None identified.

Architecture concerns
No architecture-level concerns identified.

Review details

Before / after behavior

  • observed — Modified behavior in .github/workflows/repo-standards.yml: The reusable workflow adds the optional runner input, defaulting to ubuntu-latest, and replaces the job’s fixed ubuntu-latest runner with ${{ inputs.runner }}.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: adding a runner input to the reusable repo-standards workflow with a hosted runner default.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

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.

@WomB0ComB0
WomB0ComB0 merged commit 8fe6c2e into main Sep 25, 2026
8 checks passed
@WomB0ComB0
WomB0ComB0 deleted the ci/repo-standards-runner-input branch September 25, 2026 19:14
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