Skip to content

Commit cd0bc1c

Browse files
committed
update workflow
1 parent 44fbdeb commit cd0bc1c

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.github/workflows/create_prod_github issues.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,19 @@ jobs:
2222
with:
2323
script: |
2424
const regions = [
25-
"ca-mon",
26-
"au-syd",
27-
"br-sao",
28-
"ca-tor",
29-
"jp-osa",
30-
"jp-tok",
31-
"us-east",
32-
"us-south",
33-
"in-che",
34-
"eu-gb",
35-
"eu-es",
36-
"eu-de",
37-
"eu-fr2"
25+
"CA-MON",
26+
"AU-SYD",
27+
"BR-SAO",
28+
"CA-TOR",
29+
"JP-OSA",
30+
"JP-TOK",
31+
"US-EAST",
32+
"US-SOUTH",
33+
"IN-CHE",
34+
"EU-GB",
35+
"EU-ES",
36+
"EU-DE",
37+
"EU-FR2"
3838
];
3939
4040
const stageIssueNumber = context.payload.inputs.stage_issue_number;
@@ -47,7 +47,7 @@ jobs:
4747
});
4848
4949
const baseBody = stageIssue.body || "";
50-
const baseTitle = stageIssue.title.replace(/STAGE/i, "PROD");
50+
const baseTitle = stageIssue.title.replace(/STAGE/i, "");
5151
5252
const regionsToCreate =
5353
inputRegion && inputRegion.trim() !== ""
@@ -58,7 +58,7 @@ jobs:
5858
await github.rest.issues.create({
5959
owner: context.repo.owner,
6060
repo: context.repo.repo,
61-
title: `[PROD - ${region}] ${baseTitle}`,
61+
title: `${baseTitle} ${region}`,
6262
body: `${baseBody}\n\nRegion: ${region}\nCloned from #${stageIssueNumber}`,
6363
labels: ["deployment", "prod"]
6464
});

0 commit comments

Comments
 (0)