From c91a819e77d4a297aff73ff6b2cce03b887fe27f Mon Sep 17 00:00:00 2001 From: Michel Hollands Date: Fri, 31 May 2024 14:53:22 +0100 Subject: [PATCH] Add secret step Signed-off-by: Michel Hollands --- .../workflows/check-for-dependency-updates.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/check-for-dependency-updates.yaml b/.github/workflows/check-for-dependency-updates.yaml index de90ee5..77cf4c9 100644 --- a/.github/workflows/check-for-dependency-updates.yaml +++ b/.github/workflows/check-for-dependency-updates.yaml @@ -66,6 +66,14 @@ jobs: echo "changed=true" >> "${GITHUB_OUTPUT}" fi + - id: get-secrets + uses: grafana/shared-workflows/actions/get-vault-secrets@main + with: + # Secrets placed in the ci/repo/grafana// path in Vault + repo_secrets: | + APP_ID=github-app:app-id + PRIVATE_KEY=github-app:private-key + - uses: actions/create-github-app-token@v1 id: app-token with: @@ -106,6 +114,14 @@ jobs: echo "changed=true" >> "${GITHUB_OUTPUT}" fi + - id: get-secrets + uses: grafana/shared-workflows/actions/get-vault-secrets@main + with: + # Secrets placed in the ci/repo/grafana// path in Vault + repo_secrets: | + APP_ID=github-app:app-id + PRIVATE_KEY=github-app:private-key + - uses: actions/create-github-app-token@v1 id: app-token with: