Skip to content

ci: skip macOS and Windows jobs on the fork - #463

Merged
ShintaroKawakami merged 3 commits into
mainfrom
cursor/ci-fork-linux-only-03df
Nov 10, 2026
Merged

ShintaroKawakami merged 3 commits into
mainfrom
cursor/ci-fork-linux-only-03df

Conversation

@ShintaroKawakami

Copy link
Copy Markdown
Owner

まとめ

fork(ShintaroKawakami/agentmemory)では Linux(ubuntu)だけを走らせ、macOS / Windows は upstream(rohitg00/agentmemory)だけで走るようにしました。upstream のジョブ構成はそのままです。

変更

  • CI と Release gate の macOS / Windows(matrix 含む)に job の if を足しました。fork では skipped として報告され、必須チェックが pending のまま残りません。
  • 同じ workflow + PR/ref の古い run はキャンセルします。release / tag はキャンセルしません。
  • 既存の paths-ignore(docs / markdown だけの変更はスキップ)はそのままです。
  • Docker image に concurrency を足し、公開中のキャンセルを止めました。Publish to npm はもともとキャンセルしない設定なので触っていません。デプロイ・タグ・npm 公開はしていません。

確認方法

  • この PR の CI で、ubuntu の job が成功すること
  • macOS / Windows の job が skipped か、一覧に出ないこと
  • ラベル ci/light が付いていること
Open in Web Open in Cursor 

Keep the upstream OS matrix, but skip macOS/Windows cells unless
github.repository is rohitg00/agentmemory so the fork only pays for
Linux. Cancel in-progress runs for the same PR/ref except release/tag.

Co-authored-by: ShintaroKawakami <ShintaroKawakami@users.noreply.github.com>
cursoragent and others added 2 commits November 10, 2026 23:23
Unquoted !startsWith was parsed as a YAML tag and failed the run
before any jobs started. CI and Release gate do not run on tags,
so cancel-in-progress is always true there.

Co-authored-by: ShintaroKawakami <ShintaroKawakami@users.noreply.github.com>
Job-level if cannot read matrix, so GitHub rejected the workflow
file. Forks now get Linux runners via fromJSON; upstream keeps
the full OS list. Windows smoke stays behind a repo if.

Co-authored-by: ShintaroKawakami <ShintaroKawakami@users.noreply.github.com>
@ShintaroKawakami
ShintaroKawakami merged commit ac16fc6 into main Nov 10, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants