diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 466b213..fb34417 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -68,7 +68,7 @@ jobs: - name: Publish Package env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.TOKEN }} BALLERINA_CENTRAL_ACCESS_TOKEN: ${{ secrets.BALLERINA_CENTRAL_ACCESS_TOKEN }} packageUser: ${{ secrets.USERNAME }} packagePAT: ${{ secrets.GITHUB_TOKEN }} @@ -80,7 +80,7 @@ jobs: - name: GitHub Release and Release Sync PR env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.TOKEN }} run: | gh release create v$VERSION --title "module-niveathika-pluralize-v$VERSION" gh pr create --base ${GITHUB_REF##*/} --title "[Automated] Sync ${GITHUB_REF##*/} after $VERSION release" --body "Sync ${GITHUB_REF##*/} after $VERSION release"