Update github action
This commit is contained in:
parent
e9061d8774
commit
2899054876
|
@ -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.
|
Loading…
Reference in New Issue