feat: add workflow to mark and close issues with no activity

This commit is contained in:
kurokobo 2022-11-25 08:40:51 +09:00
parent 66706be022
commit 13910a5d23

20
.github/workflows/issues.yaml vendored Normal file
View file

@ -0,0 +1,20 @@
name: Close stale issues
on:
schedule:
- cron: "0 19 * * *"
jobs:
issues:
runs-on: ubuntu-22.04
steps:
- uses: actions/stale@v6
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days.
close-issue-message: This issue was closed because it has been stalled for 7 days with no activity.
stale-issue-label: stale
days-before-issue-stale: 14
days-before-issue-close: 7
days-before-pr-stale: -1
days-before-pr-close: -1