From 5c820efe5b7eb3daa95fa26657dfaa40301f1828 Mon Sep 17 00:00:00 2001 From: Martijn Russchen Date: Wed, 19 Jun 2024 08:45:21 +0200 Subject: [PATCH 1/4] Update stale.yml --- .github/workflows/stale.yml | 38 +++++++++++++++++++++++++------------ 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 17e6a4219..a45faac89 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,19 +1,33 @@ -name: 'Close stale issues and PRs' +# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time. +# +# You can adjust the behavior by modifying this file. +# For more information, see: +# https://github.com/actions/stale +name: Mark stale issues and pull requests + on: schedule: - - cron: '30 1 * * *' + - cron: '19 0 * * *' jobs: stale: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: - - uses: actions/stale@v9 - with: - stale-issue-message: 'This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 10 days.' - stale-pr-message: 'This PR is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 10 days.' - close-issue-message: 'This issue was closed because it has been stalled for 10 days with no activity.' - close-pr-message: 'This PR was closed because it has been stalled for 10 days with no activity.' - days-before-issue-stale: 180 - days-before-pr-stale: 90 - days-before-issue-close: 10 - days-before-pr-close: 10 \ No newline at end of file + - uses: actions/stale@v9 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 10 days.' + stale-pr-message: 'This PR is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 10 days.' + stale-issue-label: 'stale' + stale-pr-label: 'stale' + close-issue-message: 'This issue was closed because it has been stalled for 10 days with no activity.' + close-pr-message: 'This PR was closed because it has been stalled for 10 days with no activity.' + days-before-issue-stale: 180 + days-before-pr-stale: 90 + days-before-issue-close: 10 + days-before-pr-close: 10 From 5043cf8bf950ed193a3b33b13812e122248d7a77 Mon Sep 17 00:00:00 2001 From: Martijn Russchen Date: Wed, 19 Jun 2024 09:27:14 +0200 Subject: [PATCH 2/4] Update stale.yml --- .github/workflows/stale.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index a45faac89..4ae68decd 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -7,7 +7,7 @@ name: Mark stale issues and pull requests on: schedule: - - cron: '19 0 * * *' + - cron: '19 0 * * *' jobs: stale: @@ -18,16 +18,16 @@ jobs: pull-requests: write steps: - - uses: actions/stale@v9 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - stale-issue-message: 'This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 10 days.' - stale-pr-message: 'This PR is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 10 days.' - stale-issue-label: 'stale' - stale-pr-label: 'stale' - close-issue-message: 'This issue was closed because it has been stalled for 10 days with no activity.' - close-pr-message: 'This PR was closed because it has been stalled for 10 days with no activity.' - days-before-issue-stale: 180 - days-before-pr-stale: 90 - days-before-issue-close: 10 - days-before-pr-close: 10 + - uses: actions/stale@v9 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 10 days.' + stale-pr-message: 'This PR is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 10 days.' + stale-issue-label: 'stale' + stale-pr-label: 'stale' + close-issue-message: 'This issue was closed because it has been stalled for 10 days with no activity.' + close-pr-message: 'This PR was closed because it has been stalled for 10 days with no activity.' + days-before-issue-stale: 180 + days-before-pr-stale: 90 + days-before-issue-close: 10 + days-before-pr-close: 10 From 0cf65e54de7731c4bcbf69cfc6ec147ff4ee68d1 Mon Sep 17 00:00:00 2001 From: Martijn Russchen Date: Wed, 19 Jun 2024 09:28:30 +0200 Subject: [PATCH 3/4] Update stale.yml --- .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 4ae68decd..380d12724 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -7,7 +7,7 @@ name: Mark stale issues and pull requests on: schedule: - - cron: '19 0 * * *' + - cron: '30 1 * * *' jobs: stale: From afea368ab8b7fc30489aee4fc3f8ba486d4fb108 Mon Sep 17 00:00:00 2001 From: Martijn Russchen Date: Wed, 19 Jun 2024 09:28:52 +0200 Subject: [PATCH 4/4] Update stale.yml --- .github/workflows/stale.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 380d12724..fed669db3 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -11,7 +11,6 @@ on: jobs: stale: - runs-on: ubuntu-latest permissions: issues: write