summaryrefslogtreecommitdiffstats
path: root/.github/workflows/stale.yml
blob: cd1365ba51503c6c8143c1f3e02b30f8db0e0f65 (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
name: Mark stale issues

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

permissions:
  contents: read

jobs:
  stale:
    if: github.repository == 'frrouting/frr'
    permissions:
      issues: write
      pull-requests: write
    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