Fix if-condition in workflow (#1078)

This commit is contained in:
Bart Louwers
2023-04-27 10:24:00 +02:00
committed by GitHub
parent a1b28ea446
commit a6878f03f7

View File

@@ -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'