diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 27300f5..b84937c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 @@ -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 }}