From d8f183f859b39afebbeeb48eec5675c33bc52b20 Mon Sep 17 00:00:00 2001 From: rare-magma Date: Sun, 23 Jun 2024 01:53:05 +0200 Subject: [PATCH] fix: release cli args Signed-off-by: rare-magma --- .github/workflows/release.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f512952b..6dcd4c4e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -92,4 +92,9 @@ jobs: github-token: ${{ secrets.SEMANTIC_RELEASE_TOKEN }} update-file: package.json changelog-file: CHANGELOG.md - prepend: true \ No newline at end of file + prepend: true + hooks: exec + custom-arguments: "--hooks-opt exec_on_success=git config user.name '${GITHUB_USER}' && git config user.email '${GITHUB_EMAIL}' && git add CHANGELOG.md package.json && git commit -m 'chore(release): {{.NewRelease.Version}}' && git push" + env: + GITHUB_USER: github-actions[bot] + GITHUB_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com