From 67ebdfa78c83982ab741cd2c07ec740478d374d8 Mon Sep 17 00:00:00 2001 From: Jade Carino Date: Thu, 5 Dec 2024 17:01:17 +0000 Subject: [PATCH 1/2] Give workflow write permissions Signed-off-by: Jade Carino --- .github/workflows/release.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 700d56e..c4b0934 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -11,6 +11,9 @@ on: - prerelease - release +permissions: + contents: write + jobs: release: runs-on: ubuntu-latest From 35a0fb89a5be7217b4f087b17aa36cec03c9b591 Mon Sep 17 00:00:00 2001 From: Jade Carino Date: Thu, 5 Dec 2024 17:02:29 +0000 Subject: [PATCH 2/2] Give workflow write permissions Signed-off-by: Jade Carino --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c4b0934..c61efa2 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -35,7 +35,7 @@ jobs: skip_existing: true # Skip package upload if release/tag already exists skip_upload: true # Skips upload to index.yaml env: - CR_TOKEN: "${{ secrets.GALASA_TEAM_REPO_SCOPE_TOKEN }}" + CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - name: Run chart-releaser - release if: (github.ref == 'refs/heads/release') @@ -43,4 +43,4 @@ jobs: with: skip_existing: true # Skip package upload if release/tag already exists env: - CR_TOKEN: "${{ secrets.GALASA_TEAM_REPO_SCOPE_TOKEN }}" \ No newline at end of file + CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" \ No newline at end of file