Skip to content

Commit

Permalink
ci: close inactive issues
Browse files Browse the repository at this point in the history
  • Loading branch information
lxchapu committed May 25, 2024
1 parent 627685d commit e9fa231
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/close-inactive-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Close inactive issues

on:
schedule:
- cron: '30 1 * * *'

jobs:
close-issues:
if: github.repository == 'lxchapu/astro-gyoza'
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v9
with:
days-before-stale: 14
days-before-close: 7
days-before-pr-close: -1
stale-issue-label: 'stale'
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.'
stale-pr-message: 'This PR is stale because it has been open 14 days with no activity.'
close-issue-message: 'This issue was closed because it has been inactive for 7 days since being marked as stale.'

0 comments on commit e9fa231

Please sign in to comment.