File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,22 @@ jobs:
10
10
runs-on : ubuntu-latest
11
11
permissions :
12
12
contents : read
13
+ id-token : write
13
14
steps :
15
+ - id : get-secrets
16
+ uses : grafana/shared-workflows/actions/get-vault-secrets@28361cdb22223e5f1e34358c86c20908e7248760 # get-vault-secrets-v1.1.0
17
+ with :
18
+ # Secrets placed in the ci/repo/grafana/grafana-plugin-examples path in Vault
19
+ repo_secrets : |
20
+ GITHUB_APP_ID=plugins-platform-bot-app:app_id
21
+ GITHUB_APP_PRIVATE_KEY=plugins-platform-bot-app:app_pem
22
+
14
23
- name : Generate token
15
24
id : generate_token
16
25
uses : actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2.0.2
17
26
with :
18
- app-id : ${{ secrets.APP_ID }}
19
- private-key : ${{ secrets.APP_PEM }}
27
+ app-id : ${{ env.GITHUB_APP_ID }}
28
+ private-key : ${{ env.GITHUB_APP_PRIVATE_KEY }}
20
29
21
30
- name : Checkout repository
22
31
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
You can’t perform that action at this time.
0 commit comments