From 842832fe600cf62f2fed377b49636101d48a3d2d Mon Sep 17 00:00:00 2001 From: sanketsahu Date: Mon, 3 Aug 2026 18:39:01 +0530 Subject: [PATCH] chore: run CI on main, and record that releases come from it Both workflows triggered only on `master`, while every change since the fork diverged has landed on what was `tinbase-npm`. So `bun typecheck` / `bun test` and CodeQL have never run on any of it - the 3.3.0 through 3.5.0 work was verified only locally, and the default branch being stale is what hid that. With `tinbase-npm` renamed to `main` and made the default, both now trigger there. Verified the steps pass before pointing them at the default branch, so enabling this doesn't immediately paint it red: typecheck exit 0, test exit 0. Also drops `master` from the triggers rather than keeping both. It sits 14 commits behind with the unscoped package name, version 3.0.14 and the upstream repository URL, so building it would test something nobody ships. Upstream is tracked through the `upstream` remote instead, which is the usual arrangement for a fork that publishes under its own name rather than one that contributes back. Co-Authored-By: Claude Opus 5 --- .github/workflows/codeql-analysis.yml | 4 ++-- .github/workflows/main.yml | 4 ++-- CHANGELOG.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 5bc5f612..632e97d0 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -13,10 +13,10 @@ name: "CodeQL" on: push: - branches: [ master ] + branches: [main] pull_request: # The branches below must be a subset of the branches above - branches: [ master ] + branches: [main] schedule: - cron: '24 7 * * 0' diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bf145075..c378adc7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: [master] + branches: [main] pull_request: - branches: [master] + branches: [main] workflow_dispatch: jobs: diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e097f11..935e4b9b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ Notable changes to `@tinbase/pg-mem`, the tinbase fork of pg-mem. -Released from the `tinbase-npm` branch, which carries the scoped package name; `master` tracks upstream. +Released from `main`, which carries the scoped package name. Upstream is tracked through the `upstream` remote (`oguimbal/pg-mem`) rather than a branch; the leftover `master` is vestigial. ## 3.3.0