From 4530abc7939bbb9d3901581e1585b4ebea433285 Mon Sep 17 00:00:00 2001 From: choco-sync Date: Fri, 14 Jun 2024 20:24:02 +0000 Subject: [PATCH] (maint) created local '.github/workflows/stale.yml' from remote '.github/workflows/stale.yml' --- .github/workflows/stale.yml | 48 +++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 000000000..6e9bc471f --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,48 @@ +name: 'Stale Issue and PR Cleanup' +on: + workflow_dispatch: + schedule: + - cron: '0 4 * * *' + +permissions: + issues: write + pull-requests: write + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v4.1.0 + id: stale + with: + days-before-stale: 30 + days-before-close: 14 + exempt-all-assignees: false + exempt-draft-pr: true + stale-issue-label: "Pending Closure" + stale-pr-label: 'Pending Closure' + only-labels: '0 - Waiting on User' + close-issue-label: "No Response / Stale" + close-pr-label: "No Response / Stale" + exempt-issue-labels: 'Security / CVE' + exempt-pr-labels: 'Security / CVE' + labels-to-remove-when-unstale: '0 - Wating on User,Pending closure' + stale-issue-message: | + Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? + This issue will be closed in 14 days if it continues to be inactive. + close-issue-message: | + Dear contributor, + + As this issue seems to have been inactive for quite some time now, it has been automatically closed. + If you feel this is a valid issue, please feel free to re-open the issue if / when a pull request + has been added. + Thank you for your contribution. + + close-pr-message: | + Dear contributor, + + As this PR seems to have been inactive for 30 days after changes / additional information + was requested, it has been automatically closed. + If you feel the changes are still valid, please re-open the PR once all changes or additional information + that was requested has been added. + Thank you for your contribution.