From 09dd283adc5f66637897be418516ccd2722aebc0 Mon Sep 17 00:00:00 2001 From: James Kebinger Date: Mon, 5 Jan 2026 15:12:01 -0600 Subject: [PATCH 1/2] Update prefab-common submodule to main MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Point to the merged commit on main instead of the feature branch. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- src/prefab-common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/prefab-common b/src/prefab-common index 49ea9d2..35ae020 160000 --- a/src/prefab-common +++ b/src/prefab-common @@ -1 +1 @@ -Subproject commit 49ea9d2dfc71416e8955362275cc1ce975b1327a +Subproject commit 35ae02089b90e428df8bd3e680210dabddddcd21 From c038a4d47b6eb6a77cf7f7e60ce0e8bd74ee935a Mon Sep 17 00:00:00 2001 From: James Kebinger Date: Mon, 5 Jan 2026 15:22:41 -0600 Subject: [PATCH 2/2] Add submodules: recursive to release workflows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The publish and manual release workflows were failing because the prefab-common submodule wasn't being checked out. Added submodules: recursive to the checkout steps. Replaced the external oclif npmPublish workflow with a custom one that properly handles submodules. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .github/workflows/manualRelease.yml | 1 + .github/workflows/onRelease.yml | 23 ++++++++++++++++++----- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/.github/workflows/manualRelease.yml b/.github/workflows/manualRelease.yml index 53f02c5..6d37264 100644 --- a/.github/workflows/manualRelease.yml +++ b/.github/workflows/manualRelease.yml @@ -10,6 +10,7 @@ jobs: - uses: actions/checkout@v4 with: token: ${{ secrets.SVC_CLI_BOT_GITHUB_TOKEN }} + submodules: recursive - name: Conventional Changelog Action id: changelog uses: TriPSs/conventional-changelog-action@d360fad3a42feca6462f72c97c165d60a02d4bf2 diff --git a/.github/workflows/onRelease.yml b/.github/workflows/onRelease.yml index 8876db4..1008bc0 100644 --- a/.github/workflows/onRelease.yml +++ b/.github/workflows/onRelease.yml @@ -10,10 +10,23 @@ on: description: tag that needs to publish type: string required: true + jobs: npm: - uses: oclif/github-workflows/.github/workflows/npmPublish.yml@main - with: - tag: latest - githubTag: ${{ github.event.release.tag_name || inputs.tag }} - secrets: inherit + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write # required for npm OIDC trusted publishing + steps: + - uses: actions/checkout@v4 + with: + ref: ${{ github.event.release.tag_name || inputs.tag }} + submodules: recursive + - uses: actions/setup-node@v4 + with: + node-version: lts/* + cache: yarn + registry-url: https://registry.npmjs.org + - run: yarn install --network-timeout 600000 + - run: yarn build + - run: npm publish --access public