Skip to content

Fix labeler.yml format for actions/labeler@v5#13

Merged
naheel0 merged 2 commits intomainfrom
copilot/fix-labeler-configuration-error
Feb 26, 2026
Merged

Fix labeler.yml format for actions/labeler@v5#13
naheel0 merged 2 commits intomainfrom
copilot/fix-labeler-configuration-error

Conversation

Copy link
Contributor

Copilot AI commented Feb 26, 2026

actions/labeler@v5 changed the config schema — label entries must be arrays of config objects rather than plain glob strings, causing the workflow to fail with found unexpected type for label 'first-contribution' (should be array of config options).

Changes

  • .github/labeler.yml: Migrate from v4 flat-glob format to v5 changed-files object format
# Before (v4)
first-contribution:
  - '**/*'

# After (v5)
first-contribution:
  - changed-files:
    - any-glob-to-any-file: '**/*'

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: naheel0 <191262736+naheel0@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix configuration error for labeler in GitHub actions Fix labeler.yml format for actions/labeler@v5 Feb 26, 2026
@naheel0 naheel0 marked this pull request as ready for review February 26, 2026 13:54
@naheel0 naheel0 merged commit 4ca4c99 into main Feb 26, 2026
2 checks passed
@naheel0 naheel0 deleted the copilot/fix-labeler-configuration-error branch February 26, 2026 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants