You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by bz...@apache.org on 2021/10/14 02:35:41 UTC

[apisix-dashboard] branch master updated: ci: add issue stale processor (#2169)

This is an automated email from the ASF dual-hosted git repository.

bzp2010 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git


The following commit(s) were added to refs/heads/master by this push:
     new 69bce2c  ci: add issue stale processor (#2169)
69bce2c is described below

commit 69bce2c1bc7006097ff88d02f23bf577e17f0f70
Author: Yu.Bozhong <y....@foxmail.com>
AuthorDate: Thu Oct 14 10:35:37 2021 +0800

    ci: add issue stale processor (#2169)
    
    * ci: add issue stale processor
    
    * fix: reslove lint error
    
    * ci: update expiration time to 30 days
    
    * docs: update stale issue message
---
 .github/workflows/stale.yml | 46 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
new file mode 100644
index 0000000..38fe3d7
--- /dev/null
+++ b/.github/workflows/stale.yml
@@ -0,0 +1,46 @@
+on:
+  workflow_dispatch:
+  schedule:
+    - cron: '0 10 * * *'
+
+jobs:
+  prune_stale:
+    name: Prune Stale
+    runs-on: ubuntu-latest
+
+    steps:
+      - name: Prune Stale
+        uses: actions/stale@v4.0.0
+        with:
+          days-before-issue-stale: 30
+          days-before-issue-close: 14
+          stale-issue-message: >
+            This issue has been marked as stale due to 30 days of inactivity.
+            It will be closed in 2 weeks if no further activity occurs. If this
+            issue is still relevant, please simply write any comment. Even if
+            closed, you can still revive the issue at any time or discuss it
+            on the dev@apisix.apache.org list.
+            Thank you for your contributions.
+          close-issue-message: >
+            This issue has been closed due to lack of activity. If you think
+            that is incorrect, or the issue requires additional review, you
+            can revive the issue at any time.
+          days-before-pr-stale: 60
+          days-before-pr-close: 28
+          stale-pr-message: >
+            This pull request has been marked as stale due to 60 days of
+            inactivity. It will be closed in 4 weeks if no further activity
+            occurs. If you think that's incorrect or this pull request should
+            instead be reviewed, please simply write any comment. Even if
+            closed, you can still revive the PR at any time ordiscuss it on
+            the dev@apisix.apache.org list.
+            Thank you for your contributions.
+          close-pr-message: >
+            This pull request/issue has been closed due to lack of activity.
+            If you think that is incorrect, or the pull request requires
+            review, you can revive the PR at any time.
+          # Issues with these labels will never be considered stale.
+          exempt-issue-labels: 'bug,enhancement,good first issue'
+          stale-issue-label: 'stale'
+          stale-pr-label: 'stale'
+          ascending: true