File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -28,21 +28,32 @@ jobs:
2828 renovate :
2929 permissions :
3030 contents : read
31+ id-token : write
3132 runs-on : ubuntu-latest
3233 timeout-minutes : 5
3334
3435 steps :
3536 - name : Checkout Code
3637 uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
3738 with :
38- sparse-checkout : .github/renovate-config.json
39+ sparse-checkout : |
40+ .github/renovate-config.json
41+ actions/get-vault-secrets
42+
43+ - name : Retrieve renovate secrets
44+ id : get-secrets
45+ uses : ./actions/get-vault-secrets
46+ with :
47+ common_secrets : |
48+ GRAFANA_RENOVATE_APP_ID=grafana-renovate-app:app-id
49+ GRAFANA_RENOVATE_PRIVATE_KEY=grafana-renovate-app:private-key
3950
4051 - name : Generate token
4152 id : generate-token
4253 uses : actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
4354 with :
44- app-id : ${{ secrets.RENOVATEGRAFANA_ID }}
45- private-key : ${{ secrets.RENOVATEGRAFANA_PEM }}
55+ app-id : ${{ env.GRAFANA_RENOVATE_APP_ID }}
56+ private-key : ${{ env.GRAFANA_RENOVATE_PRIVATE_KEY }}
4657
4758 - name : Self-hosted Renovate
4859 uses : renovatebot/github-action@7743ec9e19ceeb61a3862c5d4131e6710195af11 # v40.3.3
You can’t perform that action at this time.
0 commit comments