summaryrefslogtreecommitdiff
path: root/.github/workflows/stale.yaml
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2023-05-19 10:43:14 -0400
committerNat Goodspeed <nat@lindenlab.com>2023-05-19 10:43:14 -0400
commit7efe727f266af2119d4cd6e33fdd6c26636c1a24 (patch)
tree62cce6d78c94b58205ce43bebd693303488ddace /.github/workflows/stale.yaml
parentffca94c0b89d9734fa16fde7751bd0e5785e5ea2 (diff)
parent5a70639b7992842a9f74ec81b11bac56608b8f2e (diff)
DRTVWR-558: Merge branch 'main' of secondlife/viewer into actions
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..82a9a968b9
--- /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 60 days with no activity. Remove stale label or comment or it will be closed in 7 days
+ days-before-stale: 60
+ days-before-close: 7
+ exempt-pr-labels: blocked,must,should,keep
+ stale-pr-label: stale
+ - name: Print outputs
+ run: echo ${{ join(steps.stale.outputs.*, ',') }}