Skip to content

ci: copy the released README into the docs - #15

Merged
roncohen merged 3 commits into
mainfrom
ci/sync-readme-to-docs
Dec 2, 2026
Merged

roncohen merged 3 commits into
mainfrom
ci/sync-readme-to-docs

Conversation

@roncohen

@roncohen roncohen commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

After a release publishes to PyPI, a new docs job copies this repository's README at the release tag into the docs site (supported-languages/python-sdk.md). This works like the JavaScript SDK release workflow.

  • The copy uses the docs repo's .github/scripts/sdk-readme.mjs from docs: name the SDK in the v2 note, and add Python and .NET SDKs docs#34. It refuses a source that isn't the release tag. It also points relative links at the released commit and removes the Release Please version markers.
  • The job runs the docs check, then commits to docs main. If the README hasn't changed, it skips the commit.

Before this job can run:

@reflag-review reflag-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: medium

no actionable findings

1 optional refactor suggestion.

Comment thread .github/workflows/publish.yml Resolved

@reflag-review reflag-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: medium

no actionable findings

@roncohen
roncohen enabled auto-merge (squash) December 2, 2026 12:39

@reflag-review reflag-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: medium

no actionable findings

@roncohen
roncohen merged commit 732e623 into main Dec 2, 2026
16 checks passed
@roncohen
roncohen deleted the ci/sync-readme-to-docs branch December 2, 2026 12:51
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