Co-authored-by: GitHub Actions <actions@github.com> Co-authored-by: Matias Bordese <mbordese@gmail.com> Co-authored-by: Vadim Stepanov <vadimkerr@gmail.com> Co-authored-by: Dominik Broj <dominik.broj@grafana.com> Co-authored-by: Michael Derynck <michael.derynck@grafana.com> Co-authored-by: Yulya Artyukhina <Ferril.darkdiver@gmail.com> Co-authored-by: Innokentii Konstantinov <innokenty.konstantinov@grafana.com> Co-authored-by: Ildar Iskhakov <Ildar.iskhakov@grafana.com> Co-authored-by: grafana-irm-app[bot] <165293418+grafana-irm-app[bot]@users.noreply.github.com>
27 lines
1 KiB
YAML
27 lines
1 KiB
YAML
name: Update grafana/helm-charts repo
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- helm/oncall/Chart.yaml
|
|
|
|
jobs:
|
|
# NOTE: unfortunately we need to store GH_APP_ID and GH_APP_PRIVATE_KEY as repository secrets
|
|
# (even though we already store them in Vault), because GitHub does not allow passing the `token` output
|
|
# of the `actions/create-github-app-token` action ACROSS jobs.
|
|
#
|
|
# Because grafana/helm-charts/.github/workflows/update-helm-repo.yaml is a reusable workflow, and not a composite
|
|
# action, there is no way to run job steps before the reusable workflow to do so within the same job.
|
|
#
|
|
# see https://github.com/actions/create-github-app-token/issues/66 for more details
|
|
call-update-helm-repo:
|
|
uses: grafana/helm-charts/.github/workflows/update-helm-repo.yaml@main
|
|
with:
|
|
charts_dir: helm
|
|
cr_configfile: helm/cr.yaml
|
|
ct_configfile: helm/ct.yaml
|
|
secrets:
|
|
github_app_id: ${{ secrets.GH_APP_ID }}
|
|
github_app_pem: ${{ secrets.GH_APP_PRIVATE_KEY }}
|