From 10d338551ceb3b1af0b54a5f098df37a1e8b9363 Mon Sep 17 00:00:00 2001 From: Andreas Herrmann Date: Sat, 2 Nov 2024 11:39:38 +0100 Subject: [PATCH 1/3] chore: update GH action validator --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 50e083f0..982da093 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -36,6 +36,6 @@ repos: - id: renovate-config-validator # Check validity of GitHub actions configuration - repo: https://github.com/mpalmer/action-validator - rev: v0.5.1 + rev: v0.6.0 hooks: - id: action-validator From 44d2b3864f3bb12871357284255d28f4482be6cb Mon Sep 17 00:00:00 2001 From: Andreas Herrmann Date: Sat, 2 Nov 2024 11:46:47 +0100 Subject: [PATCH 2/3] expect BuildBuddy token on CI workflow_call --- .github/workflows/ci.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4ac7a4b2..7bc9efe6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,6 +11,10 @@ on: # Allows you to call this workflow from another workflow workflow_call: + secrets: + BUILDBUDDY_API_KEY: + description: The BuildBuddy remote execution access token. + required: true # Allows you to run this workflow manually from the Actions tab workflow_dispatch: From b593777507248259e5c0a7cd1a8ec5b86af4e8a5 Mon Sep 17 00:00:00 2001 From: Andreas Herrmann Date: Sat, 2 Nov 2024 11:47:19 +0100 Subject: [PATCH 3/3] pass the BuildBuddy token from release workflow --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6ceb3c80..6afe1f01 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,6 +14,8 @@ permissions: jobs: tests: uses: ./.github/workflows/ci.yaml + secrets: + BUILDBUDDY_API_KEY: ${{ secrets.BUILDBUDDY_API_KEY }} release: needs: [tests]