Skip to content

Close stale issues #1119

Close stale issues

Close stale issues #1119

Workflow file for this run

name: "Close stale issues"
on:
schedule:
- cron: "0 1 * * *"
push:
paths:
- '.github/workflows/stale.yml'
jobs:
stale:
name: stale
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'このissue|PRは60日間更新がないため7日後にcloseします。closeしたくない場合はstaleラベルを外してください。'
close-issue-message: 'このissue|PRはstaleラベルを付けた後7日間更新がないためcloseしました。'
days-before-stale: 60
days-before-close: 7
stale-issue-label: stale
debug-only: ${{ github.event_name == 'push' }}