Skip to content

feat(github): simplify PR labeler and intake checks workflows#23

Merged
louisdevzz merged 1 commit into
mainfrom
chore/add-github-config
Mar 4, 2026
Merged

feat(github): simplify PR labeler and intake checks workflows#23
louisdevzz merged 1 commit into
mainfrom
chore/add-github-config

Conversation

@louisdevzz
Copy link
Copy Markdown
Collaborator

@louisdevzz louisdevzz commented Mar 4, 2026

  • Simplify pr-labeler.yml to use standard GitHub-hosted runners

  • Simplify pr-intake-checks.yml with inline script for PR feedback

  • Remove dependency on self-hosted runners and external scripts

  • Enable auto-labeling based on file paths from labeler.yml

  • Enable PR template checks and feedback comments

Summary by CodeRabbit

  • Chores
    • Optimized internal PR validation and labeling workflows for improved efficiency and streamlined configuration.

- Simplify pr-labeler.yml to use standard GitHub-hosted runners

- Simplify pr-intake-checks.yml with inline script for PR feedback

- Remove dependency on self-hosted runners and external scripts

- Enable auto-labeling based on file paths from labeler.yml

- Enable PR template checks and feedback comments
@louisdevzz louisdevzz merged commit f997236 into main Mar 4, 2026
2 of 10 checks passed
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 4, 2026

Caution

Review failed

The pull request is closed.

Note

.coderabbit.yaml has unrecognized properties

CodeRabbit is using all valid settings from your configuration. Unrecognized properties (listed below) have been ignored and may indicate typos or deprecated fields that can be removed.

⚠️ Parsing warnings (1)
Validation error: Unrecognized key(s) in object: 'version', 'tests', 'ignore'
⚙️ Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 7f5d170d-9f31-45c5-8091-6139f1c36fb8

📥 Commits

Reviewing files that changed from the base of the PR and between 623ed52 and 5ee2262.

📒 Files selected for processing (2)
  • .github/workflows/pr-intake-checks.yml
  • .github/workflows/pr-labeler.yml

Walkthrough

Two GitHub workflows are refactored to reduce complexity: the PR intake checks consolidate multi-step validation into a single GitHub Script with inline logic for PR quality assessment, conflict detection, and comment generation; the PR labeler simplifies configuration and triggers using sparse-checkout and the standard labeler action.

Changes

Cohort / File(s) Summary
PR Intake Checks
.github/workflows/pr-intake-checks.yml
Refactors multi-job structure into single job with consolidated GitHub Script handling PR body/title validation, file change counting, conflict marker detection, and comment generation. Narrows triggers to pull_request_target with specific event types and reduces permissions scope.
PR Labeler
.github/workflows/pr-labeler.yml
Streamlines triggers and permissions; replaces multi-step custom logic with actions/labeler@v5 using sparse-checkout to optimize disk usage and configuration-path pointing to .github/labeler.yml.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/add-github-config

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 and usage tips.

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