From a219d830edbd7e01f4caf6d70077c461c41a9de6 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sat, 27 Sep 2025 10:17:48 +0100 Subject: [PATCH] Fix tag workflow --- .github/workflows/tag.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 7e7c535..ab26bb6 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -7,16 +7,21 @@ on: paths: - 'package.json' +permissions: + contents: write + jobs: tag-version: runs-on: ubuntu-latest steps: - - name: Check out repo with bot token + - name: Check out repo with token uses: actions/checkout@v4 - - name: Configure git as bot user + with: + token: ${{ secrets.GITHUB_TOKEN }} + - name: Configure git run: | - git config user.name "liss-bot" - git config user.email "alicia-gh-bot@mail.as93.net" + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" - name: Get version from package.json id: get_version run: |