Skip to content

v1.0.1

Latest

Choose a tag to compare

@NoSugarCoffee NoSugarCoffee released this 27 Jul 12:18

Bug-fix release. Cut manually — the Semantic Release step on main failed with EINVALIDGHTOKEN / EGITNOPERMISSION (the GH_TOKEN secret is invalid or expired), so no tag was published automatically.

Bug Fixes

  • Post-job step failed on every run. scripts/postjob.js required @actions/core, but it runs from the action checkout, which has no node_modules of its own — bun could not resolve it and the step exited 1. It now depends on Node built-ins only.
  • Branch patterns were compiled as regexes, not globs. {main,master} matched nothing (as a regex it matches only that literal text), so the sync plan came out empty while still reporting success; the default * was worse, since new RegExp('*') throws Nothing to repeat. Patterns now go through minimatch with GitHub Actions' on.push.branches semantics — * stops at /, ** crosses it, {a,b} alternates.
  • Branch sync used the wrong platform's config. syncBranches() always read source.config.github.sync.branches, so the GitLab → GitHub direction applied the GitHub branch config. The filter is now taken from the source platform's own config.

Breaking-ish

The default branch pattern changes from * to **, so nested branches such as feature/login are included by default. The old default could only ever throw, so no working configuration depended on it. If you want top-level branches only, set pattern: '*' explicitly.

Full changelog: v1.0.0...v1.0.1