File tree 1 file changed +14
-1
lines changed
1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 6
6
- main
7
7
- " release-[0-9]+.[0-9]+"
8
8
9
+ # NOTE: We need to store GH_RELEASES_APP_ID and GH_RELEASES_APP_PRIVATE_KEY as repository secrets
10
+ # (even though we already store them in Vault) due to limitations in how secrets can be
11
+ # accessed and passed between different parts of a GitHub Actions workflow.
12
+ #
13
+ # The grafana/helm-charts/.github/workflows/update-helm-repo.yaml is a reusable workflow,
14
+ # not a composite action. This means we can't run steps to retrieve secrets from Vault
15
+ # before calling this workflow within the same job.
16
+ #
17
+ # While we have access to the grafana/shared-workflows/actions/get-vault-secrets@main action,
18
+ # environment variables set by this action in one job are not accessible in other jobs or
19
+ # in reusable workflows called from this workflow.
20
+
9
21
jobs :
10
22
call-update-helm-repo :
11
23
uses : grafana/helm-charts/.github/workflows/update-helm-repo.yaml@main
14
26
cr_configfile : operations/pyroscope/helm/cr.yaml
15
27
ct_configfile : operations/pyroscope/helm/ct.yaml
16
28
secrets :
17
- helm_repo_token : ${{ secrets.GH_BOT_ACCESS_TOKEN }}
29
+ github_app_id : ${{ secrets.GH_RELEASES_APP_ID }}
30
+ github_app_pem : ${{ secrets.GH_RELEASES_APP_PRIVATE_KEY }}
You can’t perform that action at this time.
0 commit comments