-
Notifications
You must be signed in to change notification settings - Fork 354
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: add auto labeler workflow #758
chore: add auto labeler workflow #758
Conversation
WalkthroughThe changes introduce a new GitHub auto-labeler configuration and a workflow for automating the labeling of pull requests based on commit message patterns. The auto-labeler configuration defines labels for enhancements, documentation, bugs, and a specific project label, while the workflow automates the application of these labels during pull request events, streamlining project management. Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
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.
Actionable comments posted: 1
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (2)
- .github/auto-labeler.yml (1 hunks)
- .github/workflows/auto-labeler.yml (1 hunks)
Additional context used
actionlint
.github/workflows/auto-labeler.yml
11-11: the runner of "actions/checkout@v2" action is too old to run on GitHub Actions. update the action's version to fix this issue
(action)
Additional comments not posted (5)
.github/auto-labeler.yml (4)
3-7
: LGTM!The
enhancement
label is correctly configured to match titles starting withfeat:
.The code changes are approved.
8-11
: LGTM!The
document
label is correctly configured to match titles starting withdocs:
.The code changes are approved.
12-15
: LGTM!The
bug
label is correctly configured to match titles starting withfix:
.The code changes are approved.
16-19
: LGTM!The
ospp-2024
label is correctly configured to match base branches starting withospp-2024/
.The code changes are approved.
.github/workflows/auto-labeler.yml (1)
3-5
: LGTM!The workflow trigger is correctly configured to run on pull request events (opened, edited).
The code changes are approved.
386c704
to
38c4e9b
Compare
38c4e9b
to
c50488c
Compare
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.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (2)
- .github/auto-labeler.yml (1 hunks)
- .github/workflows/auto-labeler.yml (1 hunks)
Files skipped from review due to trivial changes (1)
- .github/auto-labeler.yml
Files skipped from review as they are similar to previous changes (1)
- .github/workflows/auto-labeler.yml
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.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- .github/workflows/auto-labeler.yml (1 hunks)
Files skipped from review due to trivial changes (1)
- .github/workflows/auto-labeler.yml
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.
good good
* chore: add auto labeler workflow 添加workflow:提交PR或者修改标题后自动添加/更新 label 自动添加的label包括: enhancement:标题以feat: 开头 document: 标题以docs: 开头 bug: 标题以fix:开头 refactor-main: 目标分支为refactor/develop ospp-2024: 目标分支为 ospp-2024/*
* chore: add auto labeler workflow 添加workflow:提交PR或者修改标题后自动添加/更新 label 自动添加的label包括: enhancement:标题以feat: 开头 document: 标题以docs: 开头 bug: 标题以fix:开头 refactor-main: 目标分支为refactor/develop ospp-2024: 目标分支为 ospp-2024/*
* chore: add auto labeler workflow 添加workflow:提交PR或者修改标题后自动添加/更新 label 自动添加的label包括: enhancement:标题以feat: 开头 document: 标题以docs: 开头 bug: 标题以fix:开头 refactor-main: 目标分支为refactor/develop ospp-2024: 目标分支为 ospp-2024/*
* chore: add auto labeler workflow 添加workflow:提交PR或者修改标题后自动添加/更新 label 自动添加的label包括: enhancement:标题以feat: 开头 document: 标题以docs: 开头 bug: 标题以fix:开头 refactor-main: 目标分支为refactor/develop ospp-2024: 目标分支为 ospp-2024/*
* chore: add auto labeler workflow 添加workflow:提交PR或者修改标题后自动添加/更新 label 自动添加的label包括: enhancement:标题以feat: 开头 document: 标题以docs: 开头 bug: 标题以fix:开头 refactor-main: 目标分支为refactor/develop ospp-2024: 目标分支为 ospp-2024/*
* chore: add auto labeler workflow 添加workflow:提交PR或者修改标题后自动添加/更新 label 自动添加的label包括: enhancement:标题以feat: 开头 document: 标题以docs: 开头 bug: 标题以fix:开头 refactor-main: 目标分支为refactor/develop ospp-2024: 目标分支为 ospp-2024/*
English | 简体中文
PR
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
Background and solution
添加workflow:提交PR或者修改标题后自动添加/更新 label
自动添加的label包括:
What is the current behavior?
验证:

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information
Summary by CodeRabbit
Summary by CodeRabbit
New Features
Documentation