Skip to content

Commit

Permalink
Fix dependencies between workflows
Browse files Browse the repository at this point in the history
Making run-tests.yml triggerable by other workflows
  • Loading branch information
trevormunoz committed Jul 19, 2024
1 parent c36e2c3 commit 1a3e0ec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ on:
branches: [main]
pull_request:
branches: [main]
workflow_call:
secrets:
AIRTABLE_TOKEN:
required: true

jobs:
test:
timeout-minutes: 10
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
jobs:
test:
uses: ./.github/workflows/run-tests.yml
secrets:
AIRTABLE_TOKEN: ${{ secrets.AIRTABLE_TOKEN }}

build:
needs: test
Expand Down

0 comments on commit 1a3e0ec

Please sign in to comment.