From 765ff591f8ef2cdaaaf2d01cef606b88a8c8c673 Mon Sep 17 00:00:00 2001 From: FirstName LastName Date: Fri, 6 Aug 2021 12:52:33 -0600 Subject: [PATCH 1/3] adding stale issue --- .github/workflows/stale-issue.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 .github/workflows/stale-issue.yml diff --git a/.github/workflows/stale-issue.yml b/.github/workflows/stale-issue.yml new file mode 100755 index 000000000..0c0f38ea4 --- /dev/null +++ b/.github/workflows/stale-issue.yml @@ -0,0 +1,26 @@ +name: 'Close stale issues' +on: + schedule: + - cron: '0 11 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: chia-network/stale@main + with: + operations-per-run: 10000 + ascending: true + days-before-issue-stale: 14 + days-before-issue-close: 7 + days-before-pr-stale: 60 + days-before-pr-close: -1 + exempt-all-pr-milestones: true + exempt-all-issue-milestones: true + exempt-all-assignees: true + stale-issue-label: stale-issue + stale-pr-label: stale-pr + remove-stale-when-updated: true + stale-issue-message: 'This issue has been flagged as stale as there has been no activity on it in 14 days. If this issue is still affecting you and in need of review, please update it to keep it open.' + close-issue-message: 'This issue was automatically closed because it has been flagged as stale and subsequently passed 7 days with no further activity.' + stale-pr-message: 'This PR has been flagged as stale due to no activity for over 60 days. It will not be automatically closed, but it has been given a stale-pr label and should be manually reviewed.' From d5e42c3443a3fd03c4d32fee74f8d7f0cb8beed9 Mon Sep 17 00:00:00 2001 From: FirstName LastName Date: Fri, 6 Aug 2021 13:41:16 -0600 Subject: [PATCH 2/3] fixing syntax --- .github/workflows/stale-issue.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/stale-issue.yml b/.github/workflows/stale-issue.yml index 0c0f38ea4..2ee365ab4 100755 --- a/.github/workflows/stale-issue.yml +++ b/.github/workflows/stale-issue.yml @@ -21,6 +21,14 @@ jobs: stale-issue-label: stale-issue stale-pr-label: stale-pr remove-stale-when-updated: true - stale-issue-message: 'This issue has been flagged as stale as there has been no activity on it in 14 days. If this issue is still affecting you and in need of review, please update it to keep it open.' - close-issue-message: 'This issue was automatically closed because it has been flagged as stale and subsequently passed 7 days with no further activity.' - stale-pr-message: 'This PR has been flagged as stale due to no activity for over 60 days. It will not be automatically closed, but it has been given a stale-pr label and should be manually reviewed.' + stale-issue-message: 'This issue has been flagged as stale as there \ + has been no activity on it in 14 days. If this issue \ + is still affecting you and in need of review, please \ + update it to keep it open.' + close-issue-message: 'This issue was automatically closed because it \ + has been flagged as stale and subsequently passed 7 \ + days with no further activity.' + stale-pr-message: 'This PR has been flagged as stale due to no \ + activity for over 60 days. It will not be \ + automatically closed, but it has been given a \ + stale-pr label and should be manually reviewed.' From 50e6939c689388733e159a4afdf4af3de7db4db1 Mon Sep 17 00:00:00 2001 From: Michelle England Date: Tue, 10 Aug 2021 11:48:41 -0600 Subject: [PATCH 3/3] fixing line endings --- .github/workflows/stale-issue.yml | 69 ++++++++++++++++--------------- 1 file changed, 35 insertions(+), 34 deletions(-) diff --git a/.github/workflows/stale-issue.yml b/.github/workflows/stale-issue.yml index 2ee365ab4..e3668dba6 100755 --- a/.github/workflows/stale-issue.yml +++ b/.github/workflows/stale-issue.yml @@ -1,34 +1,35 @@ -name: 'Close stale issues' -on: - schedule: - - cron: '0 11 * * *' - -jobs: - stale: - runs-on: ubuntu-latest - steps: - - uses: chia-network/stale@main - with: - operations-per-run: 10000 - ascending: true - days-before-issue-stale: 14 - days-before-issue-close: 7 - days-before-pr-stale: 60 - days-before-pr-close: -1 - exempt-all-pr-milestones: true - exempt-all-issue-milestones: true - exempt-all-assignees: true - stale-issue-label: stale-issue - stale-pr-label: stale-pr - remove-stale-when-updated: true - stale-issue-message: 'This issue has been flagged as stale as there \ - has been no activity on it in 14 days. If this issue \ - is still affecting you and in need of review, please \ - update it to keep it open.' - close-issue-message: 'This issue was automatically closed because it \ - has been flagged as stale and subsequently passed 7 \ - days with no further activity.' - stale-pr-message: 'This PR has been flagged as stale due to no \ - activity for over 60 days. It will not be \ - automatically closed, but it has been given a \ - stale-pr label and should be manually reviewed.' +--- +name: 'Close stale issues' +on: + schedule: + - cron: '0 11 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: chia-network/stale@main + with: + operations-per-run: 10000 + ascending: true + days-before-issue-stale: 14 + days-before-issue-close: 7 + days-before-pr-stale: 60 + days-before-pr-close: -1 + exempt-all-pr-milestones: true + exempt-all-issue-milestones: true + exempt-all-assignees: true + stale-issue-label: stale-issue + stale-pr-label: stale-pr + remove-stale-when-updated: true + stale-issue-message: > + 'This issue has been flagged as stale as there has been no + activity on it in 14 days. If this issue is still affecting you + and in need of review, please update it to keep it open.' + close-issue-message: > + 'This issue was automatically closed because it has been flagged + as stale and subsequently passed 7 days with no further activity.' + stale-pr-message: > + 'This PR has been flagged as stale due to no activity for over 60 + days. It will not be automatically closed, but it has been given + a stale-pr label and should be manually reviewed.'