Skip to content

Commit 46cc903

Browse files
authored
ci: call the shared workflow by tag instead of @main (#29)
The workflow was pointing at GSTJ/magic@main, so any merge over there reran this repo's CI with whatever had just landed. `@v1` is the moving major tag: fixes still arrive on the next run, but only after a release. ci.yml and the setup composite are identical at v1 and main right now, so this is a no-op for the current run. The four inputs passed here (build-command, test-command, extra-command, turbo-cache) all exist in v1's workflow_call signature with the same types. The magic-* devDependencies are already on the current latest (1.2.0, magic-codemods 1.1.0), so nothing to bump. magic-oxlint-plugin stays out — this repo enables none of its rules. Claude-Session: https://claude.ai/code/session_01Fe92vvdc4R3F4BDBFoLcw1
1 parent 641ad2c commit 46cc903

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ jobs:
1616
checks:
1717
# Install, lint, format and typecheck are the shared workflow's; node comes
1818
# from .nvmrc and pnpm from the `packageManager` field.
19-
uses: GSTJ/magic/.github/workflows/ci.yml@main
19+
#
20+
# `@v1` is the moving major tag, so a fix in the shared workflow lands here
21+
# on the next run. Never `@main`: an unreviewed merge there would rerun
22+
# every consumer's CI.
23+
uses: GSTJ/magic/.github/workflows/ci.yml@v1
2024
with:
2125
build-command: pnpm run build
2226
test-command: pnpm run test

0 commit comments

Comments
 (0)