summaryrefslogtreecommitdiff
path: root/.github/workflows/stale.yml
blob: 3b71ba288e94b9b1de1c5d177b5dd4f19d6fd868 (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
name: Mark and close stale pull requests

on:
  schedule:
  - cron: "0 0 * * *"  # Daily @ 00:00

jobs:
  stale:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/stale@v1
      with:
        repo-token: ${{ secrets.GITHUB_TOKEN }}
        days-before-stale: 14
        days-before-close: 7
        stale-pr-message: |
          Hello! Thank you for this proposed change to cloud-init. This pull request is now marked as stale as it has not seen any activity in 14 days. If no activity occurs within the next 7 days, this pull request will automatically close.

          If you are waiting for code review and you are seeing this message, apologies!  Please reply, tagging mitechie, and he will ensure that someone takes a look soon.

          (If the pull request is closed and you would like to continue working on it, please do tag mitechie to reopen it.)
        stale-pr-label: 'stale-pr'