Skip to content

Fix .github/labeler.yml schema for actions/labeler v6#831

Merged
alex-bezek merged 1 commit into
mainfrom
copilot/fix-labeler-configuration
Jun 16, 2026
Merged

Fix .github/labeler.yml schema for actions/labeler v6#831
alex-bezek merged 1 commit into
mainfrom
copilot/fix-labeler-configuration

Conversation

Copilot AI commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

The workflow pins actions/labeler@v6.1.0 but the config file still uses the v4 schema (flat glob arrays), causing CI failures:

found unexpected type for label 'area/ci' (should be array of config options)

Changes

  • Schema migration: Converted all label entries from v4 flat-glob format to v5/v6 changed-filesany-glob-to-any-file structure
  • Fixed self-reference: meta/project label referenced .github/labeler.yaml → corrected to .github/labeler.yml

Before:

area/ci:
  - .github/workflows/**/*
  - .golangci.yml

After:

area/ci:
  - changed-files:
      - any-glob-to-any-file:
          - .github/workflows/**/*
          - .golangci.yml

All 8 labels and their glob patterns are preserved.

Summary by CodeRabbit

  • Chores
    • Updated GitHub workflow configuration to improve label management and organization across development areas.

Co-authored-by: alex-bezek <8029578+alex-bezek@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Jun 16, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: f5641dd6-b64f-421e-aeb3-cfbdf6693f2e

📥 Commits

Reviewing files that changed from the base of the PR and between ce05426 and 9120a9c.

📒 Files selected for processing (1)
  • .github/labeler.yml

📝 Walkthrough

Walkthrough

The .github/labeler.yml file is rewritten to use the any-glob-to-any-file rule for all eight area labels (ci, controller, devenv, helm-chart, release, documentation, meta/project, testing), expanding and standardizing glob patterns. The meta/project self-reference is corrected from labeler.yaml to labeler.yml.

Changes

GitHub Labeler Config Update

Layer / File(s) Summary
Area label pattern rewrites
.github/labeler.yml
All area label entries are rewritten to use any-glob-to-any-file lists with expanded glob patterns; the meta/project entry's self-reference is corrected from labeler.yaml to labeler.yml.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐇 A labeler leapt through the YAML one day,
Swapping old globs for new ones, hip-hooray!
any-glob-to-any-file — what a mouthful to say,
But the labels all land in the right place, I'd say.
From .yaml to .yml, a small hop indeed,
This rabbit approves — it's just what we need! 🌿

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: fixing the .github/labeler.yml schema to be compatible with the actions/labeler v6 GitHub Action.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch copilot/fix-labeler-configuration

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

@github-actions github-actions Bot added the size/M Denotes a PR that changes 30-99 lines label Jun 16, 2026
@alex-bezek alex-bezek marked this pull request as ready for review June 16, 2026 21:31
@alex-bezek alex-bezek requested a review from a team as a code owner June 16, 2026 21:31
@alex-bezek alex-bezek added this pull request to the merge queue Jun 16, 2026
Merged via the queue into main with commit 6b7dbf7 Jun 16, 2026
16 of 17 checks passed
@alex-bezek alex-bezek deleted the copilot/fix-labeler-configuration branch June 16, 2026 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/M Denotes a PR that changes 30-99 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants