Skip to content

Commit 059a319

Browse files
authored
ci(workflow): fix sync doc trigger logic (#1041)
Because - release-please PR merged to the main branch should not trigger the sync-dev job This commit - fix the condition check
1 parent 11a5d16 commit 059a319

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/sync-component-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
jobs:
1616
sync-dev:
1717
name: Dev
18-
# if: github.ref == 'refs/heads/main'
18+
if: github.ref == 'refs/heads/main'
1919
uses: ./.github/workflows/sync-component-docs-reusable.yml
2020
with:
2121
target_branch: v0-dev

0 commit comments

Comments
 (0)