Browse Source

Configure stale bot to use same stale message.
[ci skip]

Yao Wei Tjong 姚伟忠 5 years ago
parent
commit
6b67b5c396
1 changed files with 3 additions and 5 deletions
  1. 3 5
      .github/workflows/stale.yml

+ 3 - 5
.github/workflows/stale.yml

@@ -16,12 +16,10 @@ jobs:
         days-before-stale: 30
         days-before-stale: 30
         days-before-close: 15
         days-before-close: 15
         operations-per-run: 10
         operations-per-run: 10
-        stale-issue-message: >
-          Marking this issue stale since there has been no activity for 30 days.
-          It will be closed if there is no activity for another 15 days.
-        stale-pr-message: >
-          Marking this pull-request stale since there has been no activity for 30 days.
+        stale-issue-message: &stale-message |
+          Marking this stale since there has been no activity for 30 days.
           It will be closed if there is no activity for another 15 days.
           It will be closed if there is no activity for another 15 days.
+        stale-pr-message: *stale-message
         stale-issue-label: &stale-label 'stale'
         stale-issue-label: &stale-label 'stale'
         stale-pr-label: *stale-label
         stale-pr-label: *stale-label
         exempt-issue-label: &backlog-label 'backlog'
         exempt-issue-label: &backlog-label 'backlog'