From f516333682bda1fdff407abab34d133dcd741b3a Mon Sep 17 00:00:00 2001 From: zhengkunwang223 <31820853+zhengkunwang223@users.noreply.github.com> Date: Tue, 21 Mar 2023 14:40:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=20issue=20=E5=A4=84=E7=90=86?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=20workflow=20(#339)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/issue-close.yml | 16 ------------ .github/workflows/issue-comment.yml | 38 ----------------------------- .github/workflows/issue-open.yml | 16 ------------ 3 files changed, 70 deletions(-) delete mode 100644 .github/workflows/issue-close.yml delete mode 100644 .github/workflows/issue-comment.yml delete mode 100644 .github/workflows/issue-open.yml diff --git a/.github/workflows/issue-close.yml b/.github/workflows/issue-close.yml deleted file mode 100644 index bb49b5877..000000000 --- a/.github/workflows/issue-close.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Issue Close Check - -on: - issues: - types: [closed] - -jobs: - issue-close-remove-labels: - runs-on: ubuntu-latest - steps: - - name: Remove labels - uses: actions-cool/issues-helper@v2 - if: ${{ !github.event.issue.pull_request }} - with: - actions: 'remove-labels' - labels: '状态:待处理' \ No newline at end of file diff --git a/.github/workflows/issue-comment.yml b/.github/workflows/issue-comment.yml deleted file mode 100644 index e9e3fbc79..000000000 --- a/.github/workflows/issue-comment.yml +++ /dev/null @@ -1,38 +0,0 @@ -on: - issue_comment: - types: [created] - -name: Add issues workflow labels - -jobs: - add-label-if-is-author: - runs-on: ubuntu-latest - if: ${{ (github.event.issue.user.id == github.event.comment.user.id) && (!github.event.issue.pull_request) }} - steps: - - name: Add require handle label - uses: actions-cool/issues-helper@v2 - with: - actions: 'add-labels' - labels: '状态:待处理' - - - name: Remove require reply label - uses: actions-cool/issues-helper@v2 - with: - actions: 'remove-labels' - labels: '状态:待用户反馈' - - add-label-if-not-author: - runs-on: ubuntu-latest - if: ${{ (github.event.issue.user.id != github.event.comment.user.id) && (!github.event.issue.pull_request) && (github.event.issue.state == 'open') }} - steps: - - name: Add require replay label - uses: actions-cool/issues-helper@v2 - with: - actions: 'add-labels' - labels: '状态:待用户反馈' - - - name: Remove require handle label - uses: actions-cool/issues-helper@v2 - with: - actions: 'remove-labels' - labels: '状态:待处理' diff --git a/.github/workflows/issue-open.yml b/.github/workflows/issue-open.yml deleted file mode 100644 index 232d5da29..000000000 --- a/.github/workflows/issue-open.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Issue Open Check - -on: - issues: - types: [opened] - -jobs: - issue-open-add-labels: - runs-on: ubuntu-latest - steps: - - name: Add labels - uses: actions-cool/issues-helper@v2 - if: ${{ !github.event.issue.pull_request }} - with: - actions: 'add-labels' - labels: '状态:待处理' \ No newline at end of file