From 7870fed76f1fcc9988d5d657a2b55ea7cf3eec9b Mon Sep 17 00:00:00 2001 From: xrkffgg Date: Wed, 24 Feb 2021 20:25:35 +0800 Subject: [PATCH] ci: create issue-remove-inactive.yml (#29353) --- .github/workflows/issue-remove-inactive.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/issue-remove-inactive.yml diff --git a/.github/workflows/issue-remove-inactive.yml b/.github/workflows/issue-remove-inactive.yml new file mode 100644 index 0000000000..d76c8eca44 --- /dev/null +++ b/.github/workflows/issue-remove-inactive.yml @@ -0,0 +1,19 @@ +name: Issue Remove Inactive + +on: + issues: + types: [edited, reopened] + issue_comment: + types: [created, edited] + +jobs: + remove-inactive: + runs-on: ubuntu-latest + steps: + - name: remove inactive + if: github.event.issue.state == 'open' + uses: actions-cool/issues-helper@v1.2 + with: + actions: 'remove-labels' + issue-number: ${{ github.event.issue.number }} + labels: 'Inactive, needs-more-info'