We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a9c081 commit 4120cddCopy full SHA for 4120cdd
1 file changed
tests/integration/utils.ts
@@ -34,9 +34,10 @@ export async function waitForGitHubToBeReady() {
34
return await new Promise((r) => setTimeout(r, 5000));
35
}
36
37
-const runId = crypto.randomBytes(4).toString("hex");
+const runHash = crypto.randomBytes(4).toString("hex");
38
+const runId = process.env.GITHUB_RUN_ID ?? "local";
39
export function getTempBranch(name: string) {
- return `changesets-ghcommit-test-${runId}/${name}`;
40
+ return `changesets-ghcommit-test-${runHash}-id-${runId}/${name}`;
41
42
43
/**
0 commit comments