summaryrefslogtreecommitdiffstats
path: root/ansible_collections/community/windows/.github/workflows/stale.yml
blob: ae3719413896eda277e1d5f2f9c66fa0ea7d24ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: Stale pull request handler
"on":
  schedule:
    - cron: 0 0 * * *

permissions:
  pull-requests: write

jobs:
  stale:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/stale@v4.0.0
        id: stale
        with:
          days-before-stale: -1
          days-before-pr-stale: 28
          days-before-pr-close: 14
          stale-pr-label: stale
          stale-pr-message: >-
            This pull request is stale because it has been open for 4 weeks with no activity.
            Remove stale label or comment or this will be closed in 2 weeks.