Fix if-condition in workflow (#1078)
This commit is contained in:
@@ -13,7 +13,7 @@ on:
|
||||
jobs:
|
||||
upload-render-test-results:
|
||||
runs-on: ubuntu-22.04
|
||||
if: github.event.workflow_run.pull_requests[0] != null
|
||||
if: github.event.workflow_run.event == 'pull_request'
|
||||
steps:
|
||||
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_run
|
||||
- name: 'Download render-test-result artifact'
|
||||
|
||||
Reference in New Issue
Block a user