Commit Graph

5 Commits

Author SHA1 Message Date
Saad Farooq d64675f65c Merge pull request #78 from langchain-ai/fix/release-sync-check-version-only
ci: only trigger release-sync check on actual version bumps
2026-04-28 09:21:23 -04:00
Saad Farooq bcecee0db3 Fix wheel packaging and prepare v0.0.65 release 2026-04-21 09:56:04 -04:00
John Kennedy 765b05730a ci: only trigger release-sync check on actual version bumps
The check_readme_release_sync.sh script flags every PR that touches
pyproject.toml as a "release" change requiring a README.md update.
pyproject.toml is edited for many non-release reasons (Dependabot
dependency bumps, tool config, adding deps), so the gate fires on
Dependabot PRs and unrelated changes — previously worked around by
adding a no-op README edit.

Detect a real release by checking whether the `version = "..."` line
actually changed in the pyproject.toml diff. CHANGELOG.md still always
counts as a release-touched file.
2026-04-21 07:52:00 +00:00
Saad Farooq 494fee3a2f Fix README release sync check for GitHub Actions PR clones.
Use full-depth checkout for CI and add a two-dot diff fallback when three-dot diff resolution fails in shallow or unusual merge-base contexts.

Made-with: Cursor
2026-04-01 21:10:05 -04:00
Saad Farooq e8aa26d48e Enforce README updates for release-related PR changes.
Add a CI guard that requires README.md updates whenever pyproject.toml or CHANGELOG.md changes in a pull request, and document the requirement in the contributor release checklist.

Made-with: Cursor
2026-04-01 21:06:04 -04:00