fix: if: must be single-line

This commit is contained in:
Tienson Qin
2025-12-10 17:26:09 +08:00
parent 636bf92832
commit 9fc2b2c73b

View File

@@ -10,8 +10,7 @@ jobs:
build-and-sync-docs:
runs-on: ubuntu-latest
# Only run on manual trigger or when the commit message starts with "chore(libs): bump version"
if:
github.event_name == 'workflow_dispatch' || startsWith(github.event.head_commit.message, 'chore(libs): bump version')
if: github.event_name == 'workflow_dispatch' || startsWith(github.event.head_commit.message, 'chore(libs): bump version')
steps:
- name: Checkout logseq repository
@@ -52,4 +51,4 @@ jobs:
git config user.email "github-actions[bot]@users.noreply.github.com"
git add .
git diff --staged --quiet || git commit -m "chore: sync plugin docs from logseq/logseq@${{ github.sha }}"
git push
git push