From ec9c542dfbd0032b28b0ae5ceb0075f4da0b1f3b Mon Sep 17 00:00:00 2001 From: Kane Blueriver Date: Sat, 15 Aug 2026 15:55:50 +0800 Subject: [PATCH 1/4] fix(ci): set GH_REPO so gh release resolves repo without checkout --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6a6fccf..e1158aa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -78,6 +78,7 @@ jobs: - name: Prepend Docker image usage to release notes env: GH_TOKEN: ${{ github.token }} + GH_REPO: ${{ github.repository }} TAG: ${{ github.ref_name }} IMAGE: ghcr.io/${{ github.repository }} run: | From 9dd1d63f051584b9e0546bf4feced4b4f524fd93 Mon Sep 17 00:00:00 2001 From: Kane Blueriver Date: Sat, 15 Aug 2026 15:56:05 +0800 Subject: [PATCH 2/4] chore(ci): upgrade docker actions to fix node 20 deprecation warnings --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e1158aa..070358f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,10 +34,10 @@ jobs: fi - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 - name: Log in to Container Registry - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -45,7 +45,7 @@ jobs: - name: Extract metadata id: meta - uses: docker/metadata-action@v5 + uses: docker/metadata-action@v6 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | @@ -54,7 +54,7 @@ jobs: type=sha - name: Build and push Docker image - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 with: context: . file: docker/Dockerfile From 97509db567bdca959740f47eeaf410a6a02c17d2 Mon Sep 17 00:00:00 2001 From: Kane Blueriver Date: Sat, 15 Aug 2026 15:56:26 +0800 Subject: [PATCH 3/4] chore(docker): use ENV key=value format in Dockerfile --- docker/Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 9eeeaa4..8718fc1 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -17,7 +17,7 @@ ENV NEXT_PUBLIC_LIVEKIT_URL=$NEXT_PUBLIC_LIVEKIT_URL COPY --from=deps /app/node_modules ./node_modules COPY . . -ENV NEXT_TELEMETRY_DISABLED 1 +ENV NEXT_TELEMETRY_DISABLED=1 RUN bun run build @@ -25,8 +25,8 @@ RUN bun run build FROM base AS runner WORKDIR /app -ENV NODE_ENV production -ENV NEXT_TELEMETRY_DISABLED 1 +ENV NODE_ENV=production +ENV NEXT_TELEMETRY_DISABLED=1 # Oven/bun is based on debian, so we use groupadd/useradd RUN groupadd --system --gid 1001 nodejs @@ -47,7 +47,7 @@ USER nextjs EXPOSE 3009 -ENV PORT 3009 -ENV HOSTNAME "0.0.0.0" +ENV PORT=3009 +ENV HOSTNAME="0.0.0.0" CMD ["sh", "-c", "./node_modules/.bin/drizzle-kit migrate && node server.js"] From 89fa4e6bd6235186e0a214d197a20f9de53926f5 Mon Sep 17 00:00:00 2001 From: Kane Blueriver Date: Sat, 15 Aug 2026 16:00:39 +0800 Subject: [PATCH 4/4] fix(ci): skip duplicate pull_request runs for dev-to-main sync pr --- .github/workflows/ci.yml | 1 + .github/workflows/e2e.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc23f51..f974a05 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,7 @@ on: jobs: lint-typecheck-test: + if: github.event_name != 'pull_request' || github.head_ref != 'dev' || github.base_ref != 'main' runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index a8d8200..0ad603e 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -8,6 +8,7 @@ on: jobs: e2e: + if: github.event_name != 'pull_request' || github.head_ref != 'dev' || github.base_ref != 'main' runs-on: ubuntu-latest steps: - uses: actions/checkout@v6