You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/copy-to-docs.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ jobs:
25
25
const labels = context.payload.issue.labels;
26
26
let priority = "unknown"
27
27
for (const label of labels) {
28
-
if (['p0','p1','p2','p3'].includes(label.name)){
28
+
if (['P1','P2','P3','P4'].includes(label.name)){
29
29
priority = label.name
30
30
break
31
31
}
@@ -43,7 +43,7 @@ jobs:
43
43
44
44
- name: Comment on the new issue
45
45
run: |
46
-
gh issue comment $NEW_ISSUE --body "This issue was originally opened in the rest-api-description repo as $OLD_ISSUE with priority $PRIORITY.
46
+
gh issue comment $NEW_ISSUE --body "This issue was originally opened in the rest-api-description repo as $OLD_ISSUE with priority $PRIORITY on a scale of P1 (high) to P4 (low).
47
47
:exclamation: When you close this issue, also comment on and close the original issue.
48
48
:question: Was this issue something that could have been caught by a linter? If so, suggest a new rule in [#ecosystem-api](https://github.slack.com/archives/C1042T6MS)."
0 commit comments