From dbef6f6ce6d818cedb64ed7e3fbb3c469a961ac3 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Tue, 12 Apr 2022 11:04:21 +0100 Subject: [PATCH] adding the stale action for marking stale and closing PRs non community created PRs --- .github/workflows/close-stale.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/close-stale.yml diff --git a/.github/workflows/close-stale.yml b/.github/workflows/close-stale.yml new file mode 100644 index 00000000000..e8899aa1021 --- /dev/null +++ b/.github/workflows/close-stale.yml @@ -0,0 +1,19 @@ +name: 'Close stale issues and PRs' +on: + pull_request: { } + push: + branches: [ feature/adm/stale-prs ] + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: sonia-corporation/stale@1.54.0 + with: + dry-run: true + issue-processing: false + pull-request-days-before-stale: 30 + pull-request-days-before-close: 14 + pull-request-stale-comment: 'PR marked as stale due to 30 days of inactivity and will be closed in 14 days if there is no further activity. Comment or commit to reset the inactivity counter' + pull-request-ignore-any-labels: | + Z-Community-PR \ No newline at end of file