From 0feba45acf3805a502be25add10fcabc8b9df37b Mon Sep 17 00:00:00 2001 From: Adam Daley Date: Fri, 13 Nov 2026 00:38:49 +0000 Subject: [PATCH 1/2] Match deployment Node version to API build jobs --- .github/workflows/ci.yml | 6 ++++-- .github/workflows/cloudflare-events.yml | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 185d3628..88092b63 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -144,7 +144,7 @@ jobs: contents: read actions: read pull-requests: write - uses: FOSSBilling/.workflows/.github/workflows/cloudflare-workers.yml@8c78a3fd6a46bdb6c47edf7046b172e14097ddf0 # main + uses: FOSSBilling/.workflows/.github/workflows/cloudflare-workers.yml@ac7148138a750dd1298dadb50a263b97e4a0ff0f with: operation: deploy mode: preview @@ -157,6 +157,7 @@ jobs: artifact-name: api-worker-build artifact-path: services/api/dist/ config-path: services/api/dist/wrangler.json + node-version: "26.13.1" wrangler-version: ${{ needs.build.outputs.wrangler-version }} secrets: CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} @@ -166,7 +167,7 @@ jobs: name: Deploy Production needs: [validation, build, migrations] if: github.event_name == 'push' && github.ref == 'refs/heads/main' - uses: FOSSBilling/.workflows/.github/workflows/cloudflare-workers.yml@8c78a3fd6a46bdb6c47edf7046b172e14097ddf0 # main + uses: FOSSBilling/.workflows/.github/workflows/cloudflare-workers.yml@ac7148138a750dd1298dadb50a263b97e4a0ff0f with: operation: deploy mode: production @@ -175,6 +176,7 @@ jobs: artifact-name: api-worker-build artifact-path: services/api/dist/ config-path: services/api/dist/wrangler.json + node-version: "26.13.1" wrangler-version: ${{ needs.build.outputs.wrangler-version }} secrets: CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} diff --git a/.github/workflows/cloudflare-events.yml b/.github/workflows/cloudflare-events.yml index a8e353f3..87c909f3 100644 --- a/.github/workflows/cloudflare-events.yml +++ b/.github/workflows/cloudflare-events.yml @@ -15,7 +15,7 @@ permissions: jobs: comment: - uses: FOSSBilling/.workflows/.github/workflows/cloudflare-workers.yml@8c78a3fd6a46bdb6c47edf7046b172e14097ddf0 # main + uses: FOSSBilling/.workflows/.github/workflows/cloudflare-workers.yml@ac7148138a750dd1298dadb50a263b97e4a0ff0f with: operation: sync-pr-comment build-workflow: ci.yml From 286bbe71c709d748b53291999bc150db72ca69d4 Mon Sep 17 00:00:00 2001 From: Adam Daley Date: Fri, 13 Nov 2026 00:41:34 +0000 Subject: [PATCH 2/2] Pin merged Cloudflare deployment workflow --- .github/workflows/ci.yml | 4 ++-- .github/workflows/cloudflare-events.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 88092b63..283016ba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -144,7 +144,7 @@ jobs: contents: read actions: read pull-requests: write - uses: FOSSBilling/.workflows/.github/workflows/cloudflare-workers.yml@ac7148138a750dd1298dadb50a263b97e4a0ff0f + uses: FOSSBilling/.workflows/.github/workflows/cloudflare-workers.yml@9b028b33ffaca94c7656231da6704387d19d14ac # main with: operation: deploy mode: preview @@ -167,7 +167,7 @@ jobs: name: Deploy Production needs: [validation, build, migrations] if: github.event_name == 'push' && github.ref == 'refs/heads/main' - uses: FOSSBilling/.workflows/.github/workflows/cloudflare-workers.yml@ac7148138a750dd1298dadb50a263b97e4a0ff0f + uses: FOSSBilling/.workflows/.github/workflows/cloudflare-workers.yml@9b028b33ffaca94c7656231da6704387d19d14ac # main with: operation: deploy mode: production diff --git a/.github/workflows/cloudflare-events.yml b/.github/workflows/cloudflare-events.yml index 87c909f3..99c27cf7 100644 --- a/.github/workflows/cloudflare-events.yml +++ b/.github/workflows/cloudflare-events.yml @@ -15,7 +15,7 @@ permissions: jobs: comment: - uses: FOSSBilling/.workflows/.github/workflows/cloudflare-workers.yml@ac7148138a750dd1298dadb50a263b97e4a0ff0f + uses: FOSSBilling/.workflows/.github/workflows/cloudflare-workers.yml@9b028b33ffaca94c7656231da6704387d19d14ac # main with: operation: sync-pr-comment build-workflow: ci.yml