Skip to content

Commit 793aafa

Browse files
committed
[ci] publish-release: Fix run condition
1 parent 7ba2f20 commit 793aafa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
# and only run for _successful_ push workflow runs on tags "releases/**".
2121
if: ${{ github.repository == 'pmd/build-tools'
2222
&& github.event.workflow_run.event == 'push'
23-
&& startsWith('releases/', github.event.workflow_run.head_branch)
23+
&& startsWith(github.event.workflow_run.head_branch, 'releases/')
2424
&& github.event.workflow_run.conclusion == 'success' }}
2525
runs-on: ubuntu-latest
2626
timeout-minutes: 10

0 commit comments

Comments
 (0)