summaryrefslogtreecommitdiffstats
path: root/.github/workflows/stale.yaml
blob: 38d76ab7c8fb124a8f8b7b6c9b038686bc4d909f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: 'Close stale'

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

jobs:
  stale:
    runs-on: 'ubuntu-latest'
    steps:
    - uses: 'actions/stale@v7'
      with:
        repo-token: ${{ secrets.GITHUB_TOKEN }}

        stale-issue-message: |-
          This issue is stale because it has been open for 90 days with no
          activity. It will automatically close after 30 more days of
          inactivity. Keep fresh with the 'lifecycle/frozen' label.
        stale-issue-label: 'lifecycle/stale'
        exempt-issue-labels: 'lifecycle/frozen'

        stale-pr-message: |-
          This Pull Request is stale because it has been open for 90 days with
          no activity. It will automatically close after 30 more days of
          inactivity. Keep fresh with the 'lifecycle/frozen' label.
        stale-pr-label: 'lifecycle/stale'
        exempt-pr-labels: 'lifecycle/frozen'

        days-before-stale: 90
        days-before-close: 30