We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 339b803 commit 98b6a74Copy full SHA for 98b6a74
scripts/release/createReleasePR.ts
@@ -15,10 +15,11 @@ import {
15
getOctokit,
16
ensureGitHubToken,
17
TODAY,
18
+ CI,
19
} from '../common';
20
import { getPackageVersionDefault } from '../config';
21
-import { RELEASED_TAG } from './common';
22
+import { configureGitHubAuthor, RELEASED_TAG } from './common';
23
import TEXT from './text';
24
import type {
25
Versions,
@@ -346,6 +347,10 @@ async function createReleasePR(): Promise<void> {
346
347
}
348
349
350
+ if (CI) {
351
+ await configureGitHubAuthor();
352
+ }
353
+
354
await run(`git rev-parse --verify refs/tags/${RELEASED_TAG}`, {
355
errorMessage: '`released` tag is missing in this repository.',
356
});
0 commit comments