Bladeren bron

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

Yao Wei Tjong 姚伟忠 5 jaren geleden
bovenliggende
commit
6b67b5c396
1 gewijzigde bestanden met toevoegingen van 3 en 5 verwijderingen
  1. 3 5
      .github/workflows/stale.yml

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

@@ -16,12 +16,10 @@ jobs:
         days-before-stale: 30
         days-before-close: 15
         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.
+        stale-pr-message: *stale-message
         stale-issue-label: &stale-label 'stale'
         stale-pr-label: *stale-label
         exempt-issue-label: &backlog-label 'backlog'