actions / actions/labeler

Add logging to show why a label gets assigned or not.

Open
#23 5 comments 34 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement needs eyes
Dominant language
TypeScript
Stars
2.5k
Forks
492
PR merge metrics
No merged PRs in 30d

Description

It would be handy if the action logged statements when a given path in PR match or doesn't rules in the file .github/labeler.yml.

For example, the action got kicked out, but no label was assigned, and based on this 👇 it's hard to understand why.

Labeler

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the action reads .github/labeler.yml and evaluates a changed path against its rules, then inspect any existing action logging. Done means the action logs enough detail to explain both matching and non-matching paths when labels are or are not assigned.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, typescript
Domain
ci-cd, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.