Skip to content

Update labeler workflow to use v5.0.0 format - #2768

Open
Skavya-06 wants to merge 1 commit into
buildpacks:mainfrom
Skavya-06:update-labeler-v5
Open

Skavya-06 wants to merge 1 commit into
buildpacks:mainfrom
Skavya-06:update-labeler-v5

Conversation

@Skavya-06

Copy link
Copy Markdown

Summary

Migrates .github/labeler.yml to the actions/labeler v5 configuration schema and bumps the workflow from actions/labeler@v4 to v5.

v5 redesigned the config structure (changed-files / any-glob-to-any-file) and no longer reads the v4 flat glob lists. The labels and globs are unchanged:

  • type/chore: markdown, YAML, acceptance/**, .github/**, go.mod, go.sum
  • type/enhancement: Go sources

The workflow keeps repo-token, which v5 still accepts (it defaults to github.token).

Output

Before

type/chore:
  - '*.md'
  - '**/*.yml'
  ...

After

type/chore:
  - changed-files:
      - any-glob-to-any-file:
          - '*.md'
          - '**/*.yml'
          ...

Documentation

  • Should this change be documented?
    • No

Related

Resolves #1999

actions/labeler v5 changed the configuration schema and the action was
still pinned to v4. Migrate labeler.yml to the changed-files form and bump
the workflow to actions/labeler@v5.

Signed-off-by: Kavya Srivastava <skavya12669@gmail.com>
@Skavya-06
Skavya-06 requested review from a team as code owners November 28, 2026 10:07
@github-actions github-actions Bot added type/chore Issue that requests non-user facing changes. status/triage Issue or PR that requires contributor attention. labels Nov 28, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status/triage Issue or PR that requires contributor attention. type/chore Issue that requests non-user facing changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update labeler workflow to use v5.0.0 format

1 participant