diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0e81a5404..455c83c37 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -66,6 +66,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + token: ${{ secrets.GIT_REPOSITORY_ACCESS_TOKEN }} ref: master - name: Use Node.js ${{ matrix.node-version }} @@ -105,12 +106,6 @@ jobs: - name: Run tests run: npm run test - - name: Configures Git - run: | - git config user.name "${{ secrets.GIT_REPOSITORY_USERNAME }}" - git config user.email "${{ secrets.GIT_REPOSITORY_EMAIL }}" - git remote set-url origin https://${{ secrets.GIT_REPOSITORY_USERNAME }}:${{ secrets.GIT_REPOSITORY_ACCESS_TOKEN }}@github.com/capricorn86/happy-dom.git - - name: Pushes Git tag run: | git tag --force v${{ needs.check-next-version.outputs.next_version }} ${GITHUB_SHA}