summaryrefslogtreecommitdiff
path: root/.github/workflows/stale.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/stale.yaml')
-rw-r--r--.github/workflows/stale.yaml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml
new file mode 100644
index 0000000000..35ac41420c
--- /dev/null
+++ b/.github/workflows/stale.yaml
@@ -0,0 +1,24 @@
+name: Stale PRs
+on:
+ workflow_dispatch:
+ schedule:
+ - cron: 0 0 * * *
+
+permissions:
+ issues: write
+ pull-requests: write
+
+jobs:
+ stale:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/stale@v6
+ id: stale
+ with:
+ stale-pr-message: This pull request is stale because it has been open 30 days with no activity. Remove stale label or comment or it will be closed in 7 days
+ days-before-stale: 30
+ days-before-close: 7
+ exempt-pr-labels: blocked,must,should,keep
+ stale-pr-label: stale
+ - name: Print outputs
+ run: echo ${{ join(steps.stale.outputs.*, ',') }}