Skip to content

Commit 8947c29

Browse files
committed
Fix workflow if conditions to run on push unconditionally
1 parent b1ee3cd commit 8947c29

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
call:
13-
if: contains(github.event.pull_request.labels.*.name, 'run ci')
13+
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'run ci')
1414
uses: control-toolbox/CTActions/.github/workflows/ci.yml@main
1515
with:
1616
runs_on: '["ubuntu-latest"]'

.github/workflows/Documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ on:
1010

1111
jobs:
1212
call:
13-
if: contains(github.event.pull_request.labels.*.name, 'run documentation')
13+
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'run documentation')
1414
uses: control-toolbox/CTActions/.github/workflows/documentation.yml@main

0 commit comments

Comments
 (0)