-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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 issues helper action #1922
Conversation
.github/workflows/issue-labeled.yml
Outdated
labels: 'bug: pending triage, need reproduction' | ||
|
||
- name: remove pending | ||
if: github.event.label.name == 'enhancement' || github.event.label.name == 'bug: upstream' || github.event.label.name == 'bug: hmr' || github.event.label.name == 'bug' |
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.
We can use a generic label.name.startsWith('bug:')
check here in case we add more bug: *
labels in the future (or does this condition support such checks?)
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.
GitHub Action support some simple functions. See https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#functions
Ok let's try this out! |
Looks like an action failed here https://github.com/vitejs/vite/actions/runs/561618613 |
Let me check |
新年快乐 ~ @yyx990803 |
Background
利用 GitHub Actions 帮助你处理 issues。根据该仓库以往处理 issues 的记录加了一些功能,不对或欠缺地方可以提出来。
Changelog
contribution welcome
或help wanted
bug: pending triage
need reproduction
label,如果有的话enhancement
或bug: upstream
或bug: hmr
或bug
bug: pending triage
labelneed reproduction
bug: pending triage
labelneed reproduction
的 issues,若 3 天未活跃,则自动关闭 issue