From 85891a226132b4bb7c6c0196f52e00dcf1e81821 Mon Sep 17 00:00:00 2001 From: Joel Speed Date: Sun, 1 Mar 2020 15:59:52 +0000 Subject: [PATCH 1/3] Add GitHub Action to tidy stale issues --- .github/workflows/stale.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 00000000..ef08b62a --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,17 @@ +name: Mark stale issues and pull requests + +on: + schedule: + - cron: "0 0 * * *" + +jobs: + stale: + + runs-on: ubuntu-latest + + steps: + - uses: actions/stale@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'This issue has been inactive for 60 days. If the issue is still relevant, please comment to re-activate the issue. If no action is taken within 7 days, the issue will be marked closed.' + stale-pr-message: 'This pull request has been inactive for 60 days. If the pull request is still relevant, please comment to re-activate the pull request. If no action is taken within 7 days, the pull request will be marked closed.' From 8ee8bd8bc2a2bb350eaa616eaab8b29505deb446 Mon Sep 17 00:00:00 2001 From: Dan Bond Date: Mon, 2 Mar 2020 10:09:52 +0000 Subject: [PATCH 2/3] Update .github/workflows/stale.yml Co-Authored-By: Theo Barber-Bany --- .github/workflows/stale.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index ef08b62a..c2f17f8a 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -13,5 +13,5 @@ jobs: - uses: actions/stale@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - stale-issue-message: 'This issue has been inactive for 60 days. If the issue is still relevant, please comment to re-activate the issue. If no action is taken within 7 days, the issue will be marked closed.' + stale-issue-message: 'This issue has been inactive for 60 days. If the issue is still relevant please comment to re-activate the issue. If no action is taken within 7 days, the issue will be marked closed.' stale-pr-message: 'This pull request has been inactive for 60 days. If the pull request is still relevant, please comment to re-activate the pull request. If no action is taken within 7 days, the pull request will be marked closed.' From d94cf45ea8f15ea7ccabdfbb3ba68757bfb084e4 Mon Sep 17 00:00:00 2001 From: Dan Bond Date: Mon, 2 Mar 2020 10:09:58 +0000 Subject: [PATCH 3/3] Update .github/workflows/stale.yml Co-Authored-By: Theo Barber-Bany --- .github/workflows/stale.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index c2f17f8a..9a21b544 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -14,4 +14,4 @@ jobs: with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: 'This issue has been inactive for 60 days. If the issue is still relevant please comment to re-activate the issue. If no action is taken within 7 days, the issue will be marked closed.' - stale-pr-message: 'This pull request has been inactive for 60 days. If the pull request is still relevant, please comment to re-activate the pull request. If no action is taken within 7 days, the pull request will be marked closed.' + stale-pr-message: 'This pull request has been inactive for 60 days. If the pull request is still relevant please comment to re-activate the pull request. If no action is taken within 7 days, the pull request will be marked closed.'