From e2f235cf1ee92d7c9817f1051bc47222b5c51ba1 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Thu, 5 Mar 2020 13:22:10 -0800 Subject: [PATCH 1/3] Create stale.yml --- .github/workflows/stale.yml | 21 +++++++++++++++++++++ 1 file changed, 21 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..5f3865da --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,21 @@ +name: Mark stale issues and pull requests + +on: + schedule: + - cron: "0 0 * * *" + +jobs: + stale: + + runs-on: ubuntu-latest + + steps: + - uses: actions/stale@1.0.0 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'This issue appears stale as no activity has been seen for some time. We will close this issue in the next few days.' + stale-pr-message: 'This PR appears stale as no activity has been seen for some time. We will close this PR in the next few days.' + stale-issue-label: 'Stale' + stale-pr-label: 'Stale' + days-before-stale: 10 + days-before-close: 3 From 2e8cee9fcb3e24fd2d1bf1ed418dd9b3c065e562 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Thu, 5 Mar 2020 13:26:48 -0800 Subject: [PATCH 2/3] Update stale.yml --- .github/workflows/stale.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 5f3865da..598a1449 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,21 +1,16 @@ -name: Mark stale issues and pull requests - +name: "Close stale issues" on: schedule: - cron: "0 0 * * *" jobs: stale: - runs-on: ubuntu-latest - steps: - - uses: actions/stale@1.0.0 + - uses: actions/stale@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - stale-issue-message: 'This issue appears stale as no activity has been seen for some time. We will close this issue in the next few days.' - stale-pr-message: 'This PR appears stale as no activity has been seen for some time. We will close this PR in the next few days.' - stale-issue-label: 'Stale' - stale-pr-label: 'Stale' - days-before-stale: 10 - days-before-close: 3 + stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days' + stale-pr-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days' + days-before-stale: 30 + days-before-close: 5 From 818d0b9f006acbd3bb6ea68530f8b31ad06e3620 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Thu, 5 Mar 2020 13:48:29 -0800 Subject: [PATCH 3/3] Update stale.yml --- .github/workflows/stale.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 598a1449..280a0d02 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -14,3 +14,4 @@ jobs: stale-pr-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days' days-before-stale: 30 days-before-close: 5 + exempt-issue-label: 'tutorial'