Skip to content

CI and Release don't run since the default branch became trunk #214

Closed

Description

@thomasfosterau

The default branch is now trunk (gh api repos/thomasfosterau/effect-jsonapi --jq .default_branch → trunk), and no main branch exists any more. The workflows and the changeset config still name main, so CI and Release don't run:

  • .github/workflows/ci.yml: push.branches: [main], pull_request.branches: [main], and cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
  • .github/workflows/release.yml: push.branches: [main]
  • .changeset/config.json: "baseBranch": "main"

Evidence: 28f0941 (merge of #213, 2026-10-03T04:26Z) is the head of trunk and has no workflow runs at all (check-runs total 0, combined status pending with 0 statuses). The last runs are CI and Release on push to main for acbe684 (merge of #212, 03:32Z).

This blocks every PR, not only releases. The Default ruleset (active, ~DEFAULT_BRANCH) requires the status check Lint, type-check, build & test, and no PR against trunk will ever report it. The fix must keep that job name exactly as it is.

Other places that still name the old branch:

  • .claude/hooks/fallow-gate.sh runs fallow audit --base origin/main, and that ref no longer exists.
  • AGENTS.md, CONTRIBUTING.md, PUBLISHING.md and .github/pull_request_template.md (including a blob/main/AGENTS.md link).
  • A .claude/hooks/session-start.sh comment.
  • src/internal/conformance/profile.ts: the conformance rules' reference URL is …/blob/main/docs/filter-grammar.md. This one is published output, so changing it needs a patch changeset.

Owner checks (settings, not code): if the release environment's deployment branches are restricted to main (PUBLISHING.md setup step 3), they need to allow trunk.


Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions