Skip to content

Integrate publish-documentation into release workflow; remove push auto-trigger#169

Merged
petesramek merged 1 commit intodevelop/1.0from
copilot/review-workflows-and-update-release
Apr 4, 2026
Merged

Integrate publish-documentation into release workflow; remove push auto-trigger#169
petesramek merged 1 commit intodevelop/1.0from
copilot/review-workflows-and-update-release

Conversation

Copy link
Copy Markdown

Copilot AI commented Apr 4, 2026

publish-documentation.yml was firing automatically on every push to release/**, running independently from release.yml and outside the controlled release pipeline.

Changes

publish-documentation.yml

  • Replaced push trigger with workflow_call — workflow is now exclusively driven by release.yml or manual dispatch
  • workflow_dispatch retained for on-demand runs

release.yml

  • Added publish-documentation job between pack and publish-package:
    • Depends on pack + validate-release
    • Gated with if: is-release == 'true' — skipped on preview/** branches
    • Calls ./.github/workflows/publish-documentation.yml with explicit pages: write + id-token: write permissions
  • Updated publish-package to depend on publish-documentation with an always()-based condition to handle the skipped result on preview branches, preventing the gate from blocking NuGet publishing:
publish-package:
  needs: [pack, validate-release, publish-documentation]
  if: >-
    always() &&
    needs.pack.result == 'success' &&
    needs.validate-release.result == 'success' &&
    (needs.publish-documentation.result == 'success' || needs.publish-documentation.result == 'skipped')

@petesramek petesramek marked this pull request as ready for review April 4, 2026 08:08
@petesramek petesramek merged commit d9724df into develop/1.0 Apr 4, 2026
1 check passed
@petesramek petesramek deleted the copilot/review-workflows-and-update-release branch April 4, 2026 08:19
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