From 7e7825ec410c4e6e4669a24b6ca0872071d3ee8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Orb=C3=A1n?= Date: Fri, 18 Feb 2022 16:35:12 +0100 Subject: [PATCH 1/4] chore: clarify lockbot message Note that this message should only appear on already closed issues --- .github/workflows/lock.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index bf90a0aaf429..73f347c59b65 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -20,8 +20,8 @@ jobs: steps: - uses: dessant/lock-threads@v3 with: - github-token: ${{ secrets.LOCK_TOKEN }} + github-token: ${{ secrets.GITHUB_TOKEN }} issue-inactive-days: 30 - issue-comment: 'This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.' + issue-comment: 'This issue has been automatically locked because it has been closed with no new activity for over a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.' pr-inactive-days: 30 log-output: true From 5e9090669f8114c7c00943a19baf12c2b875e713 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Orb=C3=A1n?= Date: Fri, 18 Feb 2022 16:35:36 +0100 Subject: [PATCH 2/4] chore: clarify stalebot message --- .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 9c858d67608b..8229efe3130f 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -16,7 +16,7 @@ jobs: with: repo-token: ${{ secrets.STALE_TOKEN }} only-labels: 'please add a complete reproduction' - close-issue-message: 'This issue has been automatically closed after 30 days of inactivity with no reproduction. If you are running into a similar issue, please open a new issue with a reproduction. Thank you.' + close-issue-message: 'This issue has been automatically closed because it received no activity for over a month and had no reproduction to investigate. If you think this was closed by accident, please leave a comment. If you are running into a similar issue, please open a new issue with a reproduction. Thank you.' days-before-issue-close: 1 days-before-issue-stale: 30 days-before-pr-close: -1 From f1279eade2f37b6cd105dfe0ca1c862eb5002504 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Orb=C3=A1n?= Date: Fri, 18 Feb 2022 16:55:18 +0100 Subject: [PATCH 3/4] chore: rephrase lock bot --- .github/workflows/lock.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index 73f347c59b65..2bdfd8bbb6c1 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -22,6 +22,6 @@ jobs: with: github-token: ${{ secrets.GITHUB_TOKEN }} issue-inactive-days: 30 - issue-comment: 'This issue has been automatically locked because it has been closed with no new activity for over a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.' + issue-comment: 'This closed issue has been automatically locked because it had no new activity for over a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.' pr-inactive-days: 30 log-output: true From 14bd9d739d4edd9021b44888284eac4d92829f4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Orb=C3=A1n?= Date: Fri, 18 Feb 2022 17:00:20 +0100 Subject: [PATCH 4/4] Apply suggestions from code review Co-authored-by: Steven --- .github/workflows/lock.yml | 2 +- .github/workflows/stale.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index 2bdfd8bbb6c1..41b7e8c78beb 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -22,6 +22,6 @@ jobs: with: github-token: ${{ secrets.GITHUB_TOKEN }} issue-inactive-days: 30 - issue-comment: 'This closed issue has been automatically locked because it had no new activity for over a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.' + issue-comment: 'This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.' pr-inactive-days: 30 log-output: true diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 8229efe3130f..cb6abe0bc488 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -16,7 +16,7 @@ jobs: with: repo-token: ${{ secrets.STALE_TOKEN }} only-labels: 'please add a complete reproduction' - close-issue-message: 'This issue has been automatically closed because it received no activity for over a month and had no reproduction to investigate. If you think this was closed by accident, please leave a comment. If you are running into a similar issue, please open a new issue with a reproduction. Thank you.' + close-issue-message: 'This issue has been automatically closed because it received no activity for a month and had no reproduction to investigate. If you think this was closed by accident, please leave a comment. If you are running into a similar issue, please open a new issue with a reproduction. Thank you.' days-before-issue-close: 1 days-before-issue-stale: 30 days-before-pr-close: -1