Skip to content

v0.2.0 — composite action repackaging (BREAKING vs v0.1.0)

Latest

Choose a tag to compare

@therajanmaurya therajanmaurya released this 02 Jun 09:18
e3e8e0b

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 to mbl-actionhub
  • action.yml ADDED at root — composite action with docs-dir, sidebar-mode, token inputs

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.