Skip to content

Commit 49d613a

Browse files
vdusekclaude
andauthored
ci: Trigger doc release on stable release (#625)
## Summary - The stable release pipeline was missing a doc release step, so the changelog on the website was not updated after a stable release - Added a `doc_release` job to `manual_release_stable.yaml` (same pattern as `doc_release_post_publish` in `on_master.yaml`) - The job runs after `changelog_update` and `pypi_publish`, using the changelog commit ref to include the updated changelog - Includes explicit permissions (`contents: write`, `pages: write`, `id-token: write`) since the workflow has top-level `permissions: contents: read` Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 58a8a3e commit 49d613a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/manual_release_stable.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,3 +101,16 @@ jobs:
101101
# Publishes the package to PyPI using PyPA official GitHub action with OIDC authentication.
102102
- name: Publish package to PyPI
103103
uses: pypa/gh-action-pypi-publish@release/v1
104+
105+
doc_release:
106+
name: Doc release
107+
needs: [changelog_update, pypi_publish]
108+
permissions:
109+
contents: write
110+
pages: write
111+
id-token: write
112+
uses: ./.github/workflows/_release_docs.yaml
113+
with:
114+
# Use the ref from the changelog update to include the updated changelog.
115+
ref: ${{ needs.changelog_update.outputs.changelog_commitish }}
116+
secrets: inherit

0 commit comments

Comments
 (0)