Skip to content

Commit fd22d4e

Browse files
authored
ci: add author to config (#6)
1 parent f895eaa commit fd22d4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/create-release-pr/functions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export const runRelease = async (name: string): Promise<void> => {
7070

7171
export const pushRelease = async (name: string, version: string, branch: string): Promise<void> => {
7272
await $`git add --all`;
73-
await $`git commit -m "chore(${name.replace("@nanoforge-dev/", "")}): release ${name}@${version}" --author "github-actions[bot] <[email protected]>"`;
73+
await $`git -c user.name='github-actions[bot]' -c user.email='[email protected]' commit -m "chore(${name.replace("@nanoforge-dev/", "")}): release ${name}@${version}"`;
7474
await $`git push origin refs/heads/${branch}:${branch}`;
7575
};
7676

0 commit comments

Comments
 (0)