From cf9d74f4d7c014922950f1036b0498e1620e941a Mon Sep 17 00:00:00 2001 From: Elio Bischof Date: Wed, 5 Apr 2023 11:08:01 +0200 Subject: [PATCH] ci(helm): inform charts repo about releases (#4544) * ci(helm): inform charts repo about releases * typo * use gh app token --------- Co-authored-by: Livio Spring --- .github/workflows/zitadel.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/zitadel.yml b/.github/workflows/zitadel.yml index 34fd88696f..11e01fdc03 100644 --- a/.github/workflows/zitadel.yml +++ b/.github/workflows/zitadel.yml @@ -78,3 +78,16 @@ jobs: with: file: .artifacts/codecov/profile.cov name: go-codecov + - uses: tibdex/github-app-token@v1 + id: generate-token + with: + app_id: ${{ secrets.APP_ID }} + private_key: ${{ secrets.APP_PRIVATE_KEY }} + - name: Bump Chart Version + uses: peter-evans/repository-dispatch@v2 + if: steps.semantic.outputs.new_release_published == 'true' && github.ref == 'refs/heads/main' + with: + token: ${{ steps.generate-token.outputs.token }} + repository: zitadel/zitadel-charts + event-type: zitadel-released + client-payload: '{"semanticoutputs": "${{ steps.semantic.outputs }}"}'