Skip to content

Commit

Permalink
fix: added the workflow_dispatch_trigger as an if statement to avoid …
Browse files Browse the repository at this point in the history
…using inputs when the cron job is running
  • Loading branch information
vedpatwardhan committed Nov 21, 2023
1 parent 395004f commit 98870b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run-test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
uses: ./.github/workflows/_demo-test.yml
secrets: inherit
with:
nightly_binaries: ${{ fromJson(github.event.inputs.nightly_binaries) }}
nightly_binaries: ${{ github.event_name == 'workflow_dispatch' && fromJson(github.event.inputs.nightly_binaries) || false}}

stop-vm:
needs: run-test-example-demos
Expand Down Expand Up @@ -83,4 +83,4 @@ jobs:
uses: ./.github/workflows/_basic-test.yml
secrets: inherit
with:
nightly_binaries: ${{ fromJson(github.event.inputs.nightly_binaries) }}
nightly_binaries: ${{ github.event_name == 'workflow_dispatch' && fromJson(github.event.inputs.nightly_binaries) || false}}

0 comments on commit 98870b7

Please sign in to comment.