summaryrefslogtreecommitdiff
path: root/.github/workflows/stale-issues.yml
blob: 562cd582b17d1c86ac3fa7c571d1864390674fa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: "Close stale issues"
on:
  schedule:
  - cron: "0 0 * * *"

jobs:
  stale:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/stale@v3
      with:
        repo-token: ${{ secrets.GITHUB_TOKEN }}
        stale-issue-message: 'This issue is marked stale. It will be closed in 30 days if it is not updated.'
        stale-pr-message: 'This pull request is marked stale. It will be closed in 30 days if it is not updated.'
        days-before-stale: 365
        days-before-close: 30
        stale-issue-label: "Stale"
        stale-pr-label: "Stale"
        operations-per-run: 10
        remove-stale-when-updated: true