From 1a3e0ec00dae110faef053323a52db50a42ecd44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Trevor=20Mu=C3=B1oz?= Date: Thu, 18 Jul 2024 20:43:48 -0400 Subject: [PATCH] Fix dependencies between workflows Making run-tests.yml triggerable by other workflows --- .github/workflows/run-tests.yml | 5 +++++ .github/workflows/staging.yml | 2 ++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index bcd60b826b..68bb26aa3a 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -4,6 +4,11 @@ on: branches: [main] pull_request: branches: [main] + workflow_call: + secrets: + AIRTABLE_TOKEN: + required: true + jobs: test: timeout-minutes: 10 diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index d6561ed961..7db48866c9 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -9,6 +9,8 @@ on: jobs: test: uses: ./.github/workflows/run-tests.yml + secrets: + AIRTABLE_TOKEN: ${{ secrets.AIRTABLE_TOKEN }} build: needs: test