From 221136ac667da69e299da8b9539791c44bb5cfce Mon Sep 17 00:00:00 2001 From: Daniel Perez Alvarez Date: Sat, 21 Dec 2024 22:45:32 -0800 Subject: [PATCH] ci: fix changelogen not pushing code --- .github/workflows/publish.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 70b34e4..8190830 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -24,6 +24,7 @@ on: permissions: id-token: write + contents: write jobs: publish: @@ -32,6 +33,12 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Setup git + run: | + # https://github.com/actions/checkout?tab=readme-ov-file#push-a-commit-using-the-built-in-token + git config user.name "github-actions[bot]" + git config user.email "41898282+github-actions[bot]@users.noreply.github.com" + - run: corepack enable - uses: actions/setup-node@v4