summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-06-13 00:44:22 +0000
committerQMK Bot <hello@qmk.fm>2022-06-13 00:44:22 +0000
commit10345adaa5b600b9adf72c641f25b222ddc60e12 (patch)
treec510ab009521119a5360575871dcb83756b4be58
parent0d64038b73a45cd4f873112cfa2679728df9b9ce (diff)
parentf7ab10a3c19b36677118dace4cf3341aae6fbb88 (diff)
Merge remote-tracking branch 'origin/master' into develop
-rw-r--r--.github/workflows/stale.yml76
1 files changed, 76 insertions, 0 deletions
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
new file mode 100644
index 0000000000..b749debdb1
--- /dev/null
+++ b/.github/workflows/stale.yml
@@ -0,0 +1,76 @@
+name: 'Close stale issues and PRs'
+on:
+ schedule:
+ - cron: '30 1 * * *'
+ workflow_dispatch:
+
+permissions:
+ issues: write
+ pull-requests: write
+
+jobs:
+ stale:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/stale@v5
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+
+ debug-only: true
+
+ remove-stale-when-updated: true
+ exempt-draft-pr: true
+ operations-per-run: 150
+
+ stale-issue-label: stale
+ days-before-issue-stale: 90
+ days-before-issue-close: 30
+
+ exempt-issue-labels:
+ - awaiting review
+ - breaking_change
+ - in progress
+ - on hold
+
+ stale-issue-message: >
+ This issue has been automatically marked as stale because it has not had activity in the
+ last 90 days. It will be closed in the next 30 days unless it is tagged properly or other activity
+ occurs.
+
+ For maintainers: Please label with `bug`, `in progress`, `on hold`, `discussion` or `to do` to prevent
+ the issue from being re-flagged.
+
+ close-issue-message: >
+ This issue has been automatically closed because it has not had activity in the last 30 days.
+ If this issue is still valid, re-open the issue and let us know.
+
+ // [stale-action-closed]
+
+ stale-pr-label: stale
+ days-before-pr-stale: 45
+ days-before-pr-close: 30
+
+ exempt-pr-labels:
+ - bug
+ - in progress
+ - on hold
+ - discussion
+ - to do
+
+ stale-pr-message: >
+ Thank you for your contribution!
+
+ This pull request has been automatically marked as stale because it has not had
+ activity in the last 45 days. It will be closed in 30 days if no further activity occurs.
+ Please feel free to give a status update now, or re-open when it's ready.
+
+ For maintainers: Please label with `awaiting review`, `breaking_change`, `in progress`, or `on hold` to prevent
+ the issue from being re-flagged.
+
+ close-pr-message: >
+ Thank you for your contribution!
+
+ This pull request has been automatically closed because it has not had activity in the last 30 days.
+ Please feel free to give a status update now, ping for review, or re-open when it's ready.
+
+ // [stale-action-closed]