Преглед изворни кода

Fix newline formatting in stale-issue message (#3045)

YAML string literals don't seem to support escape sequences like `\n`,
so `\n\n\n` was showing up literally in the issue messages.
Geoff Romer пре 2 година
родитељ
комит
f4d45c8d88
1 измењених фајлова са 16 додато и 8 уклоњено
  1. 16 8
      .github/workflows/stale.yaml

+ 16 - 8
.github/workflows/stale.yaml

@@ -18,20 +18,28 @@ jobs:
             active work. If this issue should remain active or becomes active
             active work. If this issue should remain active or becomes active
             again, please comment or remove the `inactive` label. The `long
             again, please comment or remove the `inactive` label. The `long
             term` label can also be added for issues which are expected to take
             term` label can also be added for issues which are expected to take
-            time. \n\n\n This issue is labeled `inactive` because the last
-            activity was over 90 days ago.
+            time.
+
+
+            This issue is labeled `inactive` because the last activity was over
+            90 days ago.
           stale-pr-message: >
           stale-pr-message: >
             We triage inactive PRs and issues in order to make it easier to find
             We triage inactive PRs and issues in order to make it easier to find
             active work. If this PR should remain active, please comment or
             active work. If this PR should remain active, please comment or
-            remove the `inactive` label. \n\n\n This PR is labeled `inactive`
-            because the last activity was over 90 days ago. This PR will be
-            closed and archived after 14 additional days without activity.
+            remove the `inactive` label.
+
+
+            This PR is labeled `inactive` because the last activity was over 90
+            days ago. This PR will be closed and archived after 14 additional
+            days without activity.
           close-pr-message: >
           close-pr-message: >
             We triage inactive PRs and issues in order to make it easier to find
             We triage inactive PRs and issues in order to make it easier to find
             active work. If this PR should remain active or becomes active
             active work. If this PR should remain active or becomes active
-            again, please reopen it. \n\n\n This PR was closed and archived
-            because there has been no new activity in the 14 days since the
-            `inactive` label was added.
+            again, please reopen it.
+
+
+            This PR was closed and archived because there has been no new
+            activity in the 14 days since the `inactive` label was added.
           stale-issue-label: 'inactive'
           stale-issue-label: 'inactive'
           stale-pr-label: 'inactive'
           stale-pr-label: 'inactive'
           exempt-issue-labels:
           exempt-issue-labels: