Commit 5d2fbbc
authored
ci(workflows): merge sync-component-docs workflows into single push-t… (#1123)
Because
- The document needs to be reviewed before being published
- The previous setup had two separate workflow files (main workflow and
reusable workflow) that handled multiple trigger events (push, tags,
releases) with different target branches and commit messages, creating
unnecessary complexity
- Only the push-to-main trigger with v0-dev target branch was actually
needed for the current use case
- The reusable workflow pattern added overhead without providing value
for this simplified scenario
This commit
- Merges the `sync-component-docs.yml` and
`sync-component-docs-reusable.yml` workflows into a single workflow file
- Simplifies triggers to only respond to push events on the main branch
- Hardcodes the target branch to always be `v0-dev` instead of using
dynamic inputs
- Inlines all job steps directly in the main workflow, removing the
reusable workflow pattern
- Reduces workflow complexity while maintaining the same functionality
for the primary use case1 parent d986614 commit 5d2fbbc
File tree
2 files changed
+236
-280
lines changed- .github/workflows
2 files changed
+236
-280
lines changedThis file was deleted.
0 commit comments