ci: automatically skip when there is a label except invalid issue
#490
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
ci
Check the PR title.
(Optional) Translate the PR title into Chinese.
当 issue 已经设置好标签时,ci 自动豁免,除了
invalid issue
标签。(Optional) More detail description for this PR(en: English/zh: Chinese).
en:
When we don't want to use the ci that automatically increases the label in some cases, we can judge by whether there is a label. When there is a label that is not the
invalid issue
, ci will be skipped.zh(optional):
在某些情况下我们不想使用自动增加标签的 ci 时,可以通过是否有标签来判断。当有标签不是
invalid issue
时,将跳过 ci。Reference: https://stackoverflow.com/questions/63637826/how-to-check-if-an-issue-has-no-labels-in-a-github-workflow
Which issue(s) this PR fixes: