summaryrefslogtreecommitdiff
path: root/.github/workflows/close-if-no-reply.yml
blob: 16b964b60646b5c7280902b5a7d1f81526d8d918 (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
name: Close issue/PR if no reply
on:
  schedule:
    - cron: '30 1 * * *'

permissions:
  issues: write
  pull-requests: write

jobs:
  stale:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/stale@v5
        with:
          days-before-stale: 7
          days-before-close: 7
          only-labels: 'Needs: Reply'
          stale-issue-label: 'Needs: Reply still'
          stale-pr-label: 'Needs: Reply still'
          stale-issue-message: "This issue will be closed when we don't get a reply within 7 days."
          stale-pr-message: "This PR will be closed when we don't get a reply within 7 days."
          labels-to-remove-when-unstale: 'Needs: Reply'
          close-issue-label: "Close reason: No reply"
          close-pr-label: "Close reason: No reply"
          close-issue-message: "This issue was closed because we didn't get a reply for 14 days."
          close-pr-message: "This PR was closed because we didn't get a reply for 14 days."