Skip to content

Commit

Permalink
Handle PR triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
rpoet-jh committed May 23, 2024
1 parent b9306f4 commit 4d8914d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
branches:
- 'main'

run-name: Run acceptance tests::Ref=${{ inputs.test-ref }}
run-name: Run acceptance tests::Ref=${{ github.event_name == 'pull_request' && 'PR' || inputs.test-ref }}

env:
TIMEOUT_LENGTH: 120000
Expand All @@ -26,4 +26,4 @@ jobs:
uses: ./.github/actions/acceptance-test
with:
timeouts: $TIMEOUT_LENGTH
test-ref: ${{ inputs.test-ref }}
test-ref: ${{ github.event_name == 'pull_request' && '' || inputs.test-ref }}

0 comments on commit 4d8914d

Please sign in to comment.