Skip to content

Add docs_only flag to CD workflow for independent documentation publishing#5

Merged
aorumbayev merged 7 commits intomainfrom
copilot/add-docs-publishing-flag
Jan 29, 2026
Merged

Add docs_only flag to CD workflow for independent documentation publishing#5
aorumbayev merged 7 commits intomainfrom
copilot/add-docs-publishing-flag

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 29, 2026

Rebased onto latest main (0.1.0-beta.2) ✅

Changes

Added a new docs_only boolean input to the CD workflow that allows publishing documentation without triggering a semantic release or PyPI publish.

  • Add docs_only input flag to workflow_dispatch in cd.yaml
  • Modify release job to skip when docs_only is true
  • Modify publish-docs job to run when docs_only is true (without needing release job)
  • Update run-name to handle docs-only mode
  • Add branch check to ensure docs_only only works on main branch
  • Add clarifying comments to conditional logic
  • Simplify conditional logic
  • Validate YAML syntax
  • Security check passed (no vulnerabilities)
  • Rebased onto latest main

Key Changes:

  1. New Input: Added docs_only flag to workflow_dispatch inputs
  2. Release Job: Skips entirely when docs_only=true via if: ${{ !inputs.docs_only }}
  3. Publish Docs Job: Simplified conditional logic with branch check
    • Runs after production release on main (existing behavior)
    • Runs when docs_only is true on main branch (new behavior)
    • Condition: (inputs.production_release || inputs.docs_only)
  4. Run Name: Shows "Docs Only" in GitHub UI

Workflow Modes:

  • Beta Release: Push to main → prerelease + PyPI
  • Production Release: Manual with production_release=true → release + PyPI + docs
  • Docs Only: Manual with docs_only=true → docs only (no release, no PyPI) ⭐

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@aorumbayev
Copy link
Copy Markdown
Member

@copilot rebase against latest on main

Copilot AI changed the title [WIP] Add flag for docs-only publishing in CD pipeline Add docs_only flag to CD workflow for independent documentation publishing Jan 29, 2026
Copilot AI requested a review from aorumbayev January 29, 2026 02:21
semantic-release and others added 3 commits January 29, 2026 02:23
[skip ci] Automatically generated by python-semantic-release
[skip ci] Automatically generated by python-semantic-release
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Jan 29, 2026

@copilot rebase against latest on main

Rebased against latest main (0.1.0-beta.2) in commit a19d0bc. All changes preserved and validated.

@aorumbayev aorumbayev marked this pull request as ready for review January 29, 2026 02:25
@aorumbayev aorumbayev merged commit b1693ca into main Jan 29, 2026
@aorumbayev aorumbayev deleted the copilot/add-docs-publishing-flag branch January 29, 2026 02:26
aorumbayev added a commit that referenced this pull request Feb 7, 2026
- Fix planner DuplicateIds crash (defensive DOM check in streaming_output)
- Fix planner tasks using placeholder project_id="plan"
- Fix project selection exiting app (app-scoped worker)
- Fix AUTO task crash on non-git repos (friendly error handling)
- Verified: BLOCKER #1 and #5 were already fixed
aorumbayev added a commit that referenced this pull request Feb 14, 2026
Source: .github/context/github-plugin-v1/tickets/GH-5-pr-review-gate.md
Dependency: GH-4.
Add create/link PR operations and enforce REVIEW transition guardrails including lease checks.
aorumbayev added a commit that referenced this pull request Feb 14, 2026
Source: .github/context/github-plugin-v1/tickets/GH-6-pr-reconcile.md
Dependency: GH-5.
Implement PR status reconcile to drive deterministic task transitions.
aorumbayev added a commit that referenced this pull request Feb 21, 2026
…ublishing (#5)

* Initial plan

* Add docs_only flag to CD pipeline for docs-only publishing

Co-authored-by: aorumbayev <[email protected]>

* Improve docs-only condition with branch check and clarifying comments

Co-authored-by: aorumbayev <[email protected]>

* Simplify publish-docs conditional logic per code review

Co-authored-by: aorumbayev <[email protected]>

* 0.1.0-beta.1

[skip ci] Automatically generated by python-semantic-release

* fix: fix missing readme on pyproject

* 0.1.0-beta.2

[skip ci] Automatically generated by python-semantic-release

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: aorumbayev <[email protected]>
Co-authored-by: semantic-release <semantic-release>
Co-authored-by: Altynbek Orumbayev <[email protected]>
@aorumbayev aorumbayev mentioned this pull request Mar 22, 2026
5 tasks
aorumbayev added a commit that referenced this pull request Mar 29, 2026
…ublishing (#5)

* Initial plan

* Add docs_only flag to CD pipeline for docs-only publishing

* Improve docs-only condition with branch check and clarifying comments

* Simplify publish-docs conditional logic per code review

* 0.1.0-beta.1

[skip ci] Automatically generated by python-semantic-release

* fix: fix missing readme on pyproject

* 0.1.0-beta.2

[skip ci] Automatically generated by python-semantic-release

---------

Co-authored-by: aorumbayev <[email protected]>
Co-authored-by: Altynbek Orumbayev <[email protected]>
aorumbayev added a commit that referenced this pull request Mar 29, 2026
…ublishing (#5)

* Initial plan

* Add docs_only flag to CD pipeline for docs-only publishing

Co-authored-by: aorumbayev <[email protected]>

* Improve docs-only condition with branch check and clarifying comments

Co-authored-by: aorumbayev <[email protected]>

* Simplify publish-docs conditional logic per code review

Co-authored-by: aorumbayev <[email protected]>

* 0.1.0-beta.1

[skip ci] Automatically generated by python-semantic-release

* fix: fix missing readme on pyproject

* 0.1.0-beta.2

[skip ci] Automatically generated by python-semantic-release

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: aorumbayev <[email protected]>
Co-authored-by: semantic-release <semantic-release>
Co-authored-by: Altynbek Orumbayev <[email protected]>
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.

2 participants