element-plus/.github/workflows/issue-remove-inactive.yml
2021-12-10 22:47:19 +08:00

20 lines
484 B
YAML

name: Issue Remove Inactive
on:
issues:
types: [edited]
issue_comment:
types: [created, edited]
jobs:
issue-remove-inactive:
runs-on: ubuntu-latest
steps:
- name: remove inactive
if: github.event.issue.state == 'open' && github.actor == github.event.issue.user.login
uses: actions-cool/issues-helper@v2
with:
actions: 'remove-labels'
issue-number: ${{ github.event.issue.number }}
labels: 'inactive'