Skip to content

Templates: ci.yml owns a repo's CI inputs; build.yml's test calls it - #5

Merged
basmith7 merged 2 commits into
mainfrom
ci-owns-inputs
Nov 1, 2026
Merged

basmith7 merged 2 commits into
mainfrom
ci-owns-inputs

Conversation

@basmith7

@basmith7 basmith7 commented Nov 1, 2026

Copy link
Copy Markdown
Owner

Each app wrote its node-ci/python-ci with: twice (ci.yml and build.yml's test job). Now:

  • templates/ci.yml adds workflow_call:; cancel-in-progress is true only for pull_request, so a called tag run (caller context: event push, tag ref) never cancels or is cancelled by a PR run.
  • templates/build.yml's test is uses: ./.github/workflows/ci.yml.
  • lint.yml lints the templates inside a temp git repo's .github/workflows, so the local ./ call resolves (actionlint can't resolve it from templates/).
  • README: caller guidance (one place), Node major bump goes to templates/next-prisma first.
  • Drops the template's "commits straight to main → add push" hint (all work goes through PRs now).

Callers are updated in per-repo PRs.

🤖 Generated with Claude Code

basmith7 and others added 2 commits October 31, 2026 18:03
ci.yml gains workflow_call, and build.yml's test job is `uses: ./.github/workflows/ci.yml`, so an
app writes its node-ci/python-ci `with:` once. PR-only cancel-in-progress keeps a called tag run
out of PR cancellation. lint.yml lints the templates as an app pair so the local call resolves.
README: the caller guidance, and a Node major bump lands in templates/next-prisma first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…'s user

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@basmith7
basmith7 merged commit 5124dac into main Nov 1, 2026
2 checks passed
@basmith7
basmith7 deleted the ci-owns-inputs branch November 1, 2026 01:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant