Skip to content

Commit 77276fb

Browse files
committed
[ci] Fix condition for publish-release
Refs #5745
1 parent 2b40c9e commit 77276fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/publish-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
# and only run for _successful_ push workflow runs on tags.
2222
if: ${{ github.repository == 'pmd/pmd'
2323
&& contains(fromJSON('["push", "workflow_dispatch"]'), github.event.workflow_run.event)
24-
&& github.event.workflow_run.head_branch != main
24+
&& github.event.workflow_run.head_branch != 'main'
2525
&& github.event.workflow_run.conclusion == 'success' }}
2626
runs-on: ubuntu-latest
2727
timeout-minutes: 10

0 commit comments

Comments
 (0)