-
Notifications
You must be signed in to change notification settings - Fork 22.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(ci): Bump actions/labeler from 4 to 5 #32644
Conversation
- changed-files: | ||
- all-globs-to-any-file: | ||
- files/en-us/learn/** | ||
- "!files/en-us/learn/accessibility/**" | ||
- "!files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/**" | ||
- "!files/en-us/learn/tools_and_testing/understanding_client-side_tools/**" | ||
- "!files/en-us/learn/tools_and_testing/cross_browser_testing/**" | ||
- "!files/en-us/learn/css/**" | ||
- "!files/en-us/learn/server-side/django/**" | ||
- "!files/en-us/learn/server-side/express_nodejs/**" | ||
- "!files/en-us/learn/forms/**" | ||
- "!files/en-us/learn/tools_and_testing/github/**" | ||
- "!files/en-us/learn/html/**" | ||
- "!files/en-us/learn/javascript/**" | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- files/en-us/web/tutorials/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If any of the following condition matches, the label will be added:
- one of the changed files matches
files/en-us/learn/**
and also does not match any specified prefixes (accessibility
,tools_and_testing/client-side_javascript_frameworks
, etc.) - one of the changed files matches
files/en-us/web/tutorials/**
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
sync-labels: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reference: mdn/translated-content#18402 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, it's the same structural change as in https://github.com/mdn/translated-content/pull/18402/files, which is working as expected after landing. Thank you!
Is there anything blocking this :) |
I was waiting for core-dev to +1, but the changes look good (the test PRs are really helpful, ty). I think we can merge shortly! |
Thank you @yin1999 for the improvements 🎉 |
Description
Bump actions/labeler from 4 to 5.
The new input:
sync-label
is added to automatically remove unmatched labels (which is configured in label matching entries)Motivation
All the actions which is running on Node 16 will be migrated to Node 20. And the
actions/labeler@v4
is running on Node 16 which may not be supported in the future.Related issues and pull requests
downstream PR: mdn/translated-content#18402
testings:
system
label: Test labeler: system files changes yin1999/content#9Content:Learn
label: Test labeler: content learn yin1999/content#10Content:Firefox
label: Test labeler: firefox content yin1999/content#11Content:Other
label: Test labeler: other content yin1999/content#12