Skip to content

Commit c9fd19f

Browse files
committed
fix: if checks inrelease-workflow.yml
1 parent 183d6d9 commit c9fd19f

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

.github/workflows/release-worker.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ jobs:
1818
git merge-base --is-ancestor "$GITHUB_SHA" origin/main
1919
2020
build:
21-
if: >
22-
github.repository_owner == 'ccxlv'
23-
&& github.event.workflow_run.conclusion == 'success'
24-
&& startsWith(github.event.workflow_run.head_branch, 'worker-v')
21+
if: github.repository_owner == 'ccxlv' && startsWith(github.event.workflow_run.head_branch, 'worker-v')
2522
name: ${{ matrix.os }} (Py ${{ matrix.python-version }})
2623
strategy:
2724
matrix:
@@ -45,10 +42,7 @@ jobs:
4542
target: ${{ matrix.target }}
4643

4744
release:
48-
if: >
49-
github.repository_owner == 'ccxlv'
50-
&& github.event.workflow_run.conclusion == 'success'
51-
&& startsWith(github.event.workflow_run.head_branch, 'worker-v')
45+
if: github.repository_owner == 'ccxlv' && startsWith(github.event.workflow_run.head_branch, 'worker-v')
5246
needs: [build]
5347
runs-on: ubuntu-latest
5448
permissions:

0 commit comments

Comments
 (0)