Skip to content

Merges the release workflow to support trusted publishing#7261

Open
waldekmastykarz wants to merge 2 commits into
pnp:mainfrom
waldekmastykarz:merge-release-workflow
Open

Merges the release workflow to support trusted publishing#7261
waldekmastykarz wants to merge 2 commits into
pnp:mainfrom
waldekmastykarz:merge-release-workflow

Conversation

@waldekmastykarz
Copy link
Copy Markdown
Member

No description provided.

Comment thread .github/workflows/release.yml
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR consolidates the @latest (tag push) and @next (manual dispatch) release automation into a single GitHub Actions workflow to align with npm Trusted Publishing constraints (one workflow per package).

Changes:

  • Merge the former release_next.yml logic into release.yml, adding workflow_dispatch support for publishing @next.
  • Add OS/Node matrix behavior (full matrix for workflow_dispatch, Ubuntu-only for tag pushes) and adjust artifact naming accordingly.
  • Add @next docs deployment via GitHub Pages and update Docker tagging/wait logic to handle latest vs next.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/release.yml Unified @latest/@next release flow with conditional matrices, trusted publishing permissions, docs deployment for @next, and updated artifact/tag handling.
.github/workflows/release_next.yml Removed standalone @next workflow after merging functionality into release.yml.

Comment thread .github/workflows/release.yml Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.

3 participants