Update github action

This commit is contained in:
cxfksword 2022-11-12 11:47:13 +08:00
parent e9061d8774
commit 2899054876
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
name: Close inactive
on:
schedule:
- cron: "0 0 */7 * *"
workflow_dispatch:
jobs:
close-inactive:
runs-on: ubuntu-latest
steps:
- name: close-issues
uses: actions-cool/issues-helper@v3
with:
actions: "close-issues"
token: ${{ secrets.GITHUB_TOKEN }}
inactive-day: 30
close-reason: "not_planned"
body: |
This issue was closed due to inactive more than 30 days. You can reopen or recreate it if you think it should continue.