ci: auto remove unconfirmed label when add other labels (#50802)

This commit is contained in:
thinkasany 2024-09-11 14:02:35 +08:00 committed by GitHub
parent 6dd89cd271
commit 7d6e7861b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -81,3 +81,11 @@ jobs:
Hello @${{ github.event.issue.user.login }}, your issue has been closed because it does not conform to our issue requirements. Please use the [Issue Helper](http://new-issue.ant.design) to create an issue, thank you!
你好 @${{ github.event.issue.user.login }},为了能够进行高效沟通,我们对 issue 有一定的格式要求,你的 issue 因为不符合要求而被自动关闭。你可以通过 [issue 助手](http://new-issue.ant.design) 来创建 issue 以方便我们定位错误。谢谢配合!
- name: remove unconfirmed label
if: github.event.label.name != 'unconfirmed'
uses: actions-cool/issues-helper@v3
with:
actions: 'remove-labels'
issue-number: ${{ github.event.issue.number }}
labels: 'unconfirmed'