[latex3-commits] [latex3/latex2e] develop: Replace Stale bot app with Action (f7a3398d)

github at latex-project.org github at latex-project.org
Tue Aug 1 20:38:06 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/f7a3398d40cced3eb8045f1be01b9ca2b9d8ba51

>---------------------------------------------------------------

commit f7a3398d40cced3eb8045f1be01b9ca2b9d8ba51
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Tue Aug 1 20:38:06 2023 +0200

    Replace Stale bot app with Action
    
    Closes #1117.


>---------------------------------------------------------------

f7a3398d40cced3eb8045f1be01b9ca2b9d8ba51
 .github/stale.yml            | 17 -----------------
 .github/workflows/stale.yaml | 31 +++++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+), 17 deletions(-)

diff --git a/.github/stale.yml b/.github/stale.yml
deleted file mode 100644
index 9210f012..00000000
--- a/.github/stale.yml
+++ /dev/null
@@ -1,17 +0,0 @@
-# Number of days of inactivity before an issue becomes stale
-daysUntilStale: 60
-# Number of days of inactivity before a stale issue is closed
-daysUntilClose: 999999
-# Issues with these labels will never be considered stale
-exemptLabels:
-  - pinned
-  - long-term
-  - fixed in dev
-# Label to use when marking an issue as stale
-staleLabel: stale
-# Comment to post when marking an issue as stale. Set to `false` to disable
-markComment: >
-  This issue has been automatically marked as stale because it has not had
-  recent activity.
-# Comment to post when closing a stale issue. Set to `false` to disable
-closeComment: false
diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml
new file mode 100644
index 00000000..dd0294d9
--- /dev/null
+++ b/.github/workflows/stale.yaml
@@ -0,0 +1,31 @@
+name: 'Mark stale issues and PRs'
+on:
+  schedule:
+    - cron: '7 8 * * *'
+
+permissions:
+  issues: write
+  pull-requests: write
+
+jobs:
+  stale:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/stale at v8
+        with:
+          # Number of days of inactivity before an issue becomes stale
+          days-before-stale: 60
+          # Number of days of inactivity before a stale issue is closed
+          days-before-close: -1
+          # Issues with these labels will never be considered stale
+          exempt-issue-labels: 'pinned,long-term,fixed in dev'
+          exempt-pr-labels: 'pinned,long-term,fixed in dev'
+          # Label to use when marking an issue as stale
+          stale-issue-label: stale
+          # Comment to post when marking an issue as stale. Set to `false` to disable
+          stale-issue-message: >
+            This issue has been automatically marked as stale because it has not had
+            recent activity.
+          stale-pr-message: >
+            This PR has been automatically marked as stale because it has not had
+            recent activity.





More information about the latex3-commits mailing list.