summaryrefslogtreecommitdiffstats
path: root/.github/workflows/stale.yml
blob: aea81e9e139a90c74f352c7a83d12c919169c881 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: Mark stale issues

on:
  workflow_dispatch:
  schedule:
    - cron: "30 1 * * *"

jobs:
  stale:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/stale@v5
      with:
        repo-token: ${{ secrets.GITHUB_TOKEN }}
        stale-issue-message: 'This issue is stale because it has been open 180 days with no activity. Comment or remove the `autoclose` label in order to avoid having this issue closed.'
        stale-issue-label: autoclose
        stale-pr-message: 'This PR is stale because it has been open 180 days with no activity. Comment or remove the `autoclose` label in order to avoid having this PR closed.'
        stale-pr-label: autoclose
        days-before-stale: 180
        days-before-close: 194
        days-before-pr-stale: 180
        days-before-pr-close: 194