summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-06-10 10:03:05 +0300
committerDonatas Abraitis <donatas@opensourcerouting.org>2022-06-10 10:03:05 +0300
commit7f69ced7bf82d309aaff32bda99075c6a133c033 (patch)
tree2aac3701f1e654c74d933948d6ffae666606fa1a /.github
parentdb6d4c8375f32c11336f9542b558640c5c5915f2 (diff)
github: Mark issues with no activity in 180 days as stale
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/stale.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
new file mode 100644
index 0000000000..df9f5ce5b3
--- /dev/null
+++ b/.github/workflows/stale.yml
@@ -0,0 +1,20 @@
+name: Mark stale issues
+
+on:
+ workflow_dispatch:
+ schedule:
+ - cron: "30 1 * * *"
+
+jobs:
+ stale:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/stale@v5
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+ stale-issue-message: 'This issue is stale because it has been open 180 days with no activity. Comment or remove the `autoclose` label in order to avoid having this issue closed.'
+ stale-issue-label: autoclose
+ days-before-stale: 180
+ days-before-close: -1
+ days-before-pr-stale: -1
+ days-before-pr-close: -1