Skip to content

Commit d9ea71e

Browse files
ascorbicpieh
andauthored
chore: fix scheduled e2e workflow (#343)
Co-authored-by: Michal Piechowiak <[email protected]>
1 parent 4b53c21 commit d9ea71e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/test-e2e.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ env:
4141
jobs:
4242
setup:
4343
runs-on: ubuntu-latest
44-
if:
45-
${{ github.event_name == ('workflow_dispatch' || 'workflow_call' || 'schedule') ||
46-
contains(github.event.pull_request.labels.*.name, 'run-e2e-tests') }}
44+
if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'run-e2e-tests')) }}
4745
outputs:
4846
version: ${{ steps.set-matrix.outputs.version }}
4947
group: ${{ steps.set-matrix.outputs.group }}

0 commit comments

Comments
 (0)