diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 7f642e5..b0b2fb0 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -13,6 +13,8 @@ jobs: steps: - name: Checkout the repository and the branch uses: actions/checkout@v5 + with: + token: ${{ secrets.PAT_TOKEN }} - name: Setup the release version and overwrite the existing major version tag run: | @@ -20,4 +22,4 @@ jobs: git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" git tag -fa $major_version -m "Update $major_version tag and add version $GITHUB_REF_NAME to it" - git push origin $major_version --force \ No newline at end of file + git push origin $major_version --force