mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 04:48:02 +08:00
863f61d908
Co-authored-by: afc163 <afc163@gmail.com>
26 lines
693 B
YAML
26 lines
693 B
YAML
name: Issue Remove Inactive
|
|
|
|
on:
|
|
issues:
|
|
types: [edited]
|
|
issue_comment:
|
|
types: [created, edited]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
issue-remove-inactive:
|
|
permissions:
|
|
issues: write # for actions-cool/issues-helper to update issues
|
|
pull-requests: write # for actions-cool/issues-helper to update PRs
|
|
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@v3
|
|
with:
|
|
actions: remove-labels
|
|
issue-number: ${{ github.event.issue.number }}
|
|
labels: 'Inactive, needs-more-info'
|