Explorar o código

Infra: Release workflow: Call charts action in another repo (#3917)

Co-authored-by: Narek Matevosyan <nmatevosyan@provectus.com>
Narekmat %!s(int64=2) %!d(string=hai) anos
pai
achega
2fb05ca947
Modificáronse 1 ficheiros con 2 adicións e 4 borrados
  1. 2 4
      .github/workflows/release.yaml

+ 2 - 4
.github/workflows/release.yaml

@@ -89,14 +89,12 @@ jobs:
 
   charts:
     runs-on: ubuntu-latest
-    permissions:
-      contents: write
     needs: release
     steps:
       - name: Repository Dispatch
         uses: peter-evans/repository-dispatch@v2
         with:
-          token: ${{ secrets.GITHUB_TOKEN }}
-          repository: provectus/kafka-ui
+          token: ${{ secrets.CHARTS_ACTIONS_TOKEN }}
+          repository: provectus/kafka-ui-charts
           event-type: prepare-helm-release
           client-payload: '{"appversion": "${{ needs.release.outputs.version }}"}'