From 937fcdc5635e21285cbe8d3292d6f44117494cab Mon Sep 17 00:00:00 2001 From: Pedro Figueiredo Date: Mon, 24 Jul 2023 15:45:17 +0100 Subject: [PATCH] fix: investigate stalebot issue and tweak params (#20047) * Investigate stalebot issue * wip cleanup * wip cleanup * wip cleanup * wip cleanup * wip cleanup * wip cleanup * wip cleanup * wip cleanup * wip cleanup * wip cleanup * wip cleanup * wip cleanup * wip cleanup * wip cleanup * wip cleanup * wip cleanup * wip cleanup * wip cleanup * wip cleanup * wip cleanup * wip cleanup * wip cleanup * wip cleanup * wip cleanup * wip cleanup * wip cleanup * wip cleanup * wip cleanup * wip cleanup * wip cleanup * wip cleanup --- .github/workflows/stale-issues-pr.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/stale-issues-pr.yml b/.github/workflows/stale-issues-pr.yml index 941a689d1637..42da445b1376 100644 --- a/.github/workflows/stale-issues-pr.yml +++ b/.github/workflows/stale-issues-pr.yml @@ -1,7 +1,9 @@ name: 'Close stale issues and PRs' + +# run every 2 hours on: schedule: - - cron: '0 12 * * *' + - cron: '0 */2 * * *' jobs: stale: @@ -12,17 +14,16 @@ jobs: steps: - uses: actions/stale@72afbce2b0dbd1d903bb142cebe2d15dc307ae57 with: - stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 45 days. Thank you for your contributions.' stale-issue-label: 'stale' only-issue-labels: 'type-bug' - exempt-issue-labels: 'type-security, type-pinned, feature-request, awaiting-metamask' - stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity in the last 60 days. It will be closed in 14 days. Thank you for your contributions.' - stale-pr-label: 'stale' - exempt-pr-labels: 'work-in-progress' - close-issue-message: 'This issue was closed because there has been no follow up activity in the last 7 days. If you feel this was closed in error, please reopen and provide evidence on the latest release of the extension. Thank you for your contributions.' - close-pr-message: 'This PR was closed because there has been no follow up activity in the last 7 days. Thank you for your contributions.' + exempt-issue-labels: 'type-security' days-before-issue-stale: 90 - days-before-pr-stale: 60 + stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 45 days if there is no further activity. The MetaMask team intends on reviewing this issue before close, and removing the stale label if it is still a bug. We welcome new comments on this issue. We do not intend on closing issues if they report bugs that are still reproducible. Thank you for your contributions.' days-before-issue-close: 45 + close-issue-message: 'This issue was closed because there has been no follow up activity in the last 45 days. If you feel this was closed in error, please reopen and provide evidence on the latest release of the extension. Thank you for your contributions.' + stale-pr-label: 'stale' + days-before-pr-stale: 60 + stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity in the last 60 days. It will be closed in 14 days. Thank you for your contributions.' days-before-pr-close: 14 - operations-per-run: 1 + close-pr-message: 'This PR was closed because there has been no follow up activity in the last 14 days. Thank you for your contributions.' + operations-per-run: 600