From d1fad0056d003bd09c11e118b9fa1ee7e6722d4b Mon Sep 17 00:00:00 2001 From: Zeno Jiricek Date: Fri, 21 Nov 2025 23:27:53 +1030 Subject: [PATCH 1/4] fix: update release workflow to trigger on main branch and fix YAML syntax - Change trigger branch from 'master' to 'main' for consistency with git push in prerelease step - Fix YAML indentation in Process and Deploy jobs - Fix malformed echo statement in Print Release Data step - Add missing 'name' field to publish release step --- .github/workflows/release.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2dacb45..9d6fda2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,12 +1,13 @@ +--- name: Release on: push: branches: - - master + - main env: - HUSKY: 0 # https://typicode.github.io/husky/how-to.html#ci-server-and-docker + HUSKY: 0 # https://typicode.github.io/husky/how-to.html#ci-server-and-docker concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -16,7 +17,7 @@ permissions: contents: write deployments: write pull-requests: write - id-token: write # needed for npm oicd login + id-token: write # needed for npm oidc login jobs: Process: @@ -32,10 +33,7 @@ jobs: - name: Print Release Data run: | echo 'Release Data:' - - echo ''' - ${{ toJSON(steps.release-please.outputs) }} - ''' + echo '${{ toJSON(steps.release-please.outputs) }}' Deploy: needs: Process @@ -55,6 +53,7 @@ jobs: run: mise run build - if: ${{ needs.Process.outputs.releases_created == 'true' }} + name: Publish release run: mise run publish --tag latest - if: ${{ needs.Process.outputs.prs_created == 'true' }} From 6d9d9c065639bfcd3b1f86c4941b66825080fba1 Mon Sep 17 00:00:00 2001 From: Zeno Jiricek Date: Fri, 21 Nov 2025 23:33:35 +1030 Subject: [PATCH 2/4] fix(ci): add bun install step to PR workflow to resolve eslint missing dependency --- .github/workflows/pr.yml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index ef5670b..dfb0e44 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -22,15 +22,18 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha || github.ref }} - - name: Setup Tooling - uses: jdx/mise-action@d6e32c1796099e0f1f3ac741c220a8b7eae9e5dd - with: - install: true - cache: true - experimental: true - - - name: lint - run: mise run lint + - name: Setup Tooling + uses: jdx/mise-action@d6e32c1796099e0f1f3ac741c220a8b7eae9e5dd + with: + install: true + cache: true + experimental: true + + - name: Install dependencies + run: bun install + + - name: lint + run: mise run lint - name: unit test run: mise run unittest From 4a0e1f61dcc596e5e52794b7bc3642070e1f787f Mon Sep 17 00:00:00 2001 From: Zeno Jiricek Date: Fri, 21 Nov 2025 23:34:22 +1030 Subject: [PATCH 3/4] fix(ci): add GITHUB_TOKEN to pr-title validation action --- .github/workflows/pr-title.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml index cb92ce2..c32b22c 100644 --- a/.github/workflows/pr-title.yml +++ b/.github/workflows/pr-title.yml @@ -15,3 +15,5 @@ jobs: runs-on: ubuntu-latest steps: - uses: amannn/action-semantic-pull-request@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 6b72f31cce069bd2a1170e04074a14945e386140 Mon Sep 17 00:00:00 2001 From: Zeno Jiricek Date: Fri, 21 Nov 2025 23:35:22 +1030 Subject: [PATCH 4/4] fix(ci): add statuses:write permission for pr-title action --- .github/workflows/pr-title.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml index c32b22c..ec46d28 100644 --- a/.github/workflows/pr-title.yml +++ b/.github/workflows/pr-title.yml @@ -9,6 +9,7 @@ on: permissions: pull-requests: read + statuses: write jobs: ValidatePrTitle: