diff --git a/.github/workflows/release-cpo.yaml b/.github/workflows/release-cpo.yaml index 68d38d410c..846577cfa3 100644 --- a/.github/workflows/release-cpo.yaml +++ b/.github/workflows/release-cpo.yaml @@ -8,7 +8,8 @@ on: jobs: release: runs-on: ubuntu-latest - + permissions: + contents: write steps: - name: Checkout uses: actions/checkout@v3 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 354d69327a..799f0d77da 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -9,6 +9,8 @@ on: jobs: release: runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout uses: actions/checkout@v3 @@ -21,6 +23,6 @@ jobs: git config user.email "$GITHUB_ACTOR@users.noreply.github.com" - name: Run chart-releaser - uses: helm/chart-releaser-action@v1.1.0 + uses: helm/chart-releaser-action@v1.6.0 env: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"