From 7d6e7861b65c5d69abb2d1cab1afa22124665767 Mon Sep 17 00:00:00 2001 From: thinkasany <480968828@qq.com> Date: Wed, 11 Sep 2024 14:02:35 +0800 Subject: [PATCH] ci: auto remove unconfirmed label when add other labels (#50802) --- .github/workflows/issue-labeled.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/issue-labeled.yml b/.github/workflows/issue-labeled.yml index 6aef47edc2..70f3efe21e 100644 --- a/.github/workflows/issue-labeled.yml +++ b/.github/workflows/issue-labeled.yml @@ -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'