From ec7b0632b98144f5166533e10ec3c1b6b6cbcdba Mon Sep 17 00:00:00 2001 From: Niveathika Date: Tue, 4 Jun 2024 15:37:58 +0530 Subject: [PATCH] Give write permissions for release --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"