From 4bdf772130121a41b8e3b0a61ddb152b554a1b04 Mon Sep 17 00:00:00 2001 From: Nacho Date: Mon, 23 Sep 2019 10:20:02 -0400 Subject: [PATCH 1/4] Added stale pr/issue workflow for test --- .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 000000000..106f7127d --- /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@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you are still interested in this issue and it is still relevant you can comment or remove the label to revive it.' + stale-pr-message: 'This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you are still interested in this issue and it is still relevant you can comment or remove the label to revive it.' + stale-issue-label: 'Status: Wontfix' + stale-pr-label: 'Status: Wontfix' + days-before-stale: 1 + days-before-close: 1 From 9f4ca63603b5fd9140099af8f953ab70fddf66f3 Mon Sep 17 00:00:00 2001 From: Nacho Date: Mon, 23 Sep 2019 10:21:04 -0400 Subject: [PATCH 2/4] Deleted stalebot configuration --- .github/stale.yml | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 .github/stale.yml diff --git a/.github/stale.yml b/.github/stale.yml deleted file mode 100644 index bd380cfc0..000000000 --- a/.github/stale.yml +++ /dev/null @@ -1,19 +0,0 @@ -# Number of days of inactivity before an issue becomes stale -daysUntilStale: 60 -# Number of days of inactivity before a stale issue is closed -daysUntilClose: 7 -# Issues with these labels will never be considered stale -exemptLabels: - - Status: Pinned - - Area: Security - - pinned -# Label to use when marking an issue as stale -staleLabel: Status: Wontfix -# Comment to post when marking an issue as stale. Set to `false` to disable -markComment: > - This issue has been automatically marked as stale because it has not had - recent activity. It will be closed if no further activity occurs. Thank you - for your contributions. - If you are still interested in this issue and it is still relevant you can comment to revive it. -# Comment to post when closing a stale issue. Set to `false` to disable -closeComment: false From 3fdf2c7e324e331c023e66eae5b21f069e8d3886 Mon Sep 17 00:00:00 2001 From: Nacho Date: Mon, 23 Sep 2019 10:22:19 -0400 Subject: [PATCH 3/4] Updated cron expresion for test --- .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 106f7127d..e45bdbf45 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -2,7 +2,7 @@ name: Mark stale issues and pull requests on: schedule: - - cron: "0 0 * * *" + - cron: "*/5 * * * *" jobs: stale: From bb372751f70ba42f9c775531e0d41fd48a95ac0e Mon Sep 17 00:00:00 2001 From: Nacho Date: Mon, 23 Sep 2019 10:30:23 -0400 Subject: [PATCH 4/4] Reverted test settings --- .github/workflows/stale.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index e45bdbf45..250b2c468 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -2,7 +2,7 @@ name: Mark stale issues and pull requests on: schedule: - - cron: "*/5 * * * *" + - cron: "0 * * * *" jobs: stale: @@ -15,7 +15,8 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you are still interested in this issue and it is still relevant you can comment or remove the label to revive it.' stale-pr-message: 'This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you are still interested in this issue and it is still relevant you can comment or remove the label to revive it.' + exempt-issue-label: 'Area: Security' stale-issue-label: 'Status: Wontfix' stale-pr-label: 'Status: Wontfix' - days-before-stale: 1 - days-before-close: 1 + days-before-stale: 60 + days-before-close: 14