Repackaged from reusable workflow → composite action.
Architecture
Consumer's workflow (12 lines)
↓ uses: (reusable workflow)
MobileByteLabs/mbl-actionhub/.github/workflows/sync-docs-to-wiki.yml@v1.8.0
↓ uses: (composite action)
MobileByteLabs/mbl-actionhub-docshub@v0.2.0 ← this release
Same shape as mbl-actionhub-bump-version + mbl-actionhub-resolve-version (the established pattern).
v0.1.0 → v0.2.0 breaking changes
.github/workflows/sync-docs-to-wiki.yml(reusable workflow) DELETED — that role now belongs tombl-actionhubaction.ymlADDED at root — composite action withdocs-dir,sidebar-mode,tokeninputs
Do NOT pin v0.1.0 going forward — the reusable workflow no longer exists at that path.
Direct usage (uncommon)
- uses: actions/checkout@v4
- uses: MobileByteLabs/mbl-actionhub-docshub@v0.2.0
with:
docs-dir: docs
sidebar-mode: auto
token: ${{ secrets.GITHUB_TOKEN }}Composite actions can't read secrets.GITHUB_TOKEN directly — caller must pass it explicitly.