Skip to content

Commit 831342d

Browse files
committed
ci: fix release workflow
1 parent b56dd9d commit 831342d

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/scripts/setup-git-user.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { $ } from "execa";
2+
3+
const email = "41898282+github-actions[bot]@users.noreply.github.com";
4+
const name = "GitHub Actions";
5+
6+
await $`git config --global user.email ${email}`;
7+
await $`git config --global user.name ${name}`;

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ jobs:
4545
- name: Install
4646
run: pnpm install --frozen-lockfile
4747

48+
- name: Setup Git User
49+
run: node .github/scripts/setup-git-user.js
50+
4851
- name: Build packages
4952
run: pnpm nx run-many -t build --projects=@knuckles/*
5053

0 commit comments

Comments
 (0)