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: |