希望字节的哥哥们继续维护下去,有空解决下issue #261
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Issue Remove Inactive | |
on: | |
issues: | |
types: [edited] | |
issue_comment: | |
types: [created, edited] | |
permissions: | |
contents: read | |
jobs: | |
issue-remove-inactive: | |
permissions: | |
issues: write | |
pull-requests: write | |
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, 📄 Need more info' |