mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 14:14:55 +00:00
fix: if: must be single-line
This commit is contained in:
5
.github/workflows/build-plugin-docs.yml
vendored
5
.github/workflows/build-plugin-docs.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user