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 <livio.a@gmail.com>
This commit is contained in:
Elio Bischof 2023-04-05 11:08:01 +02:00 committed by GitHub
parent 991a56341b
commit cf9d74f4d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 }}"}'