Skip to content

Commit 631b326

Browse files
authored
update labels
1 parent 044287c commit 631b326

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/copy-to-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
const labels = context.payload.issue.labels;
2626
let priority = "unknown"
2727
for (const label of labels) {
28-
if (['p0','p1','p2','p3'].includes(label.name)){
28+
if (['P1','P2','P3','P4'].includes(label.name)){
2929
priority = label.name
3030
break
3131
}
@@ -43,7 +43,7 @@ jobs:
4343

4444
- name: Comment on the new issue
4545
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).
4747
:exclamation: When you close this issue, also comment on and close the original issue.
4848
: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)."
4949
env:

0 commit comments

Comments
 (0)