Skip to content

Commit 3ae9faa

Browse files
committed
santize PR stage names
1 parent 3793d9f commit 3ae9faa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/action.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ export class Action {
288288
throw new Error('Unable to determine base ref from GITHUB_BASE_REF');
289289
}
290290

291-
const normalizedBaseRef = GITHUB_BASE_REF.replaceAll('/', '-');
291+
const normalizedBaseRef = GITHUB_BASE_REF.replaceAll('/', '-').replaceAll('_', '-');
292292
deploymentStage = `${normalizedBaseRef}-pr-${this.prNumber}`;
293293
}
294294

0 commit comments

Comments
 (0)