From c3f2e68499423dbf09341cd423e5ab879c5bdf0d Mon Sep 17 00:00:00 2001 From: Josh Goldberg Date: Tue, 7 Jan 2025 11:18:53 -0500 Subject: [PATCH] chore: hardcode git config for release.yml --- .github/workflows/release.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c33f4cdb..1a2ad994 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,13 +11,14 @@ jobs: ref: main - uses: ./.github/actions/prepare - run: pnpm build - - run: npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN + - run: | + git config --global user.email "git@joshuakgoldberg.com" + git config --global user.name "Josh Goldberg" + npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - - env: GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: npx release-it --preRelease=beta + - run: npx release-it --preRelease=beta name: Release