Skip to content

Fix labeler.yml for actions/labeler@v5 compatibility#27

Draft
professoroakz with Copilot wants to merge 3 commits into
copilot/fix-all-problems-in-orfrom
copilot/make-action-du
Draft

Fix labeler.yml for actions/labeler@v5 compatibility#27
professoroakz with Copilot wants to merge 3 commits into
copilot/fix-all-problems-in-orfrom
copilot/make-action-du

Conversation

Copilot AI commented Feb 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Labeler workflow failing with "found unexpected type for label 'documentation' (should be array of config options)". Configuration file format incompatible with actions/labeler@v5.

Changes

  • Bug fix
  • Feature
  • Docs
  • Chore / maintenance

Migration to v5 format: Updated .github/labeler.yml from v4 simple glob arrays to v5 structured matchers:

# Before (v4)
documentation:
  - '**/*.md'
  - 'docs/**/*'

# After (v5)
documentation:
  - changed-files:
      - any-glob-to-any-file: ['**/*.md', 'docs/**/*']

All 8 label categories (documentation, workflows, ci, dependencies, scripts, tests, configuration, community) updated. No functional changes to matching logic.

Validation

How did you test/verify this change?

  • CI passes
  • Manual validation: yamllint passes, code review clean

Checklist

  • No secrets / credentials committed
  • Docs updated (if needed)
  • Related issue linked (if applicable)
Original prompt

Reference: https://github.com/professoroakz/.github/actions/runs/21909235712/job/63273952568#step:2:1 hi make this du


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

…lity

Co-authored-by: professoroakz <6593422+professoroakz@users.noreply.github.com>
Copilot AI changed the title [WIP] Make GitHub action du Fix labeler.yml for actions/labeler@v5 compatibility Feb 11, 2026
Copilot AI requested a review from professoroakz February 11, 2026 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants