Skip to content

PR: Add PR labeler configuration & size workflow#1098

Open
AAYUSH-SPIDEY-SHARMA wants to merge 2 commits intoSalamLang:mainfrom
AAYUSH-SPIDEY-SHARMA:chore/add-pr-labeler
Open

PR: Add PR labeler configuration & size workflow#1098
AAYUSH-SPIDEY-SHARMA wants to merge 2 commits intoSalamLang:mainfrom
AAYUSH-SPIDEY-SHARMA:chore/add-pr-labeler

Conversation

@AAYUSH-SPIDEY-SHARMA
Copy link

@AAYUSH-SPIDEY-SHARMA AAYUSH-SPIDEY-SHARMA commented Oct 2, 2025

I added:

  • .github/labeler.yml (path-based label rules)
  • .github/workflows/labeler.yml (applies path-based labels via actions/labeler)
  • .github/workflows/label-size.yml (applies size/* labels based on changed file count)
  • .github/workflows/create-labels.yml ( please run this to create the label names)

Maintainer steps (one-click):

  1. Go to Actions → Create / Update Labels (maintainer-trigger) and click Run workflow to create labels required by the labeler.
  2. After the labels workflow completes, retrigger label workflows on this PR (push an empty commit: git commit --allow-empty -m "retrigger label workflows" && git push) or edit the PR title.
  3. Confirm labels applied in the PR sidebar.

If you prefer to run on your machine:

  • Run: chmod +x scripts/create-labels.sh && ./scripts/create-labels.sh (requires gh CLI).

Thanks! LMK if you want me to change label names/colors or reduce the label set. fixes #1082

@jbampton
Copy link
Member

jbampton commented Oct 2, 2025

I can see that I need to first manually create the labels.

Otherwise looks interesting so far

Copy link
Member

@jbampton jbampton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

run prettier.............................................................Failed

  • hook id: prettier
  • files were modified by this hook

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.

We need better and more organized labels for the pull request labeler

2 participants