Skip to content

fix(workflow): update trigger for licensed release#17044

Merged
ChronosSF merged 8 commits intomasterfrom
amarinov/fixLicensedRelease
Mar 13, 2026
Merged

fix(workflow): update trigger for licensed release#17044
ChronosSF merged 8 commits intomasterfrom
amarinov/fixLicensedRelease

Conversation

@dafo
Copy link
Contributor

@dafo dafo commented Mar 13, 2026

Closes #

Additional information (check all that apply):

  • Bug fix
  • New functionality
  • Documentation
  • Demos
  • CI/CD

Checklist:

  • All relevant tags have been applied to this PR
  • This PR includes unit tests covering all the new code (test guidelines)
  • This PR includes API docs for newly added methods/properties (api docs guidelines)
  • This PR includes feature/README.MD updates for the feature docs
  • This PR includes general feature table updates in the root README.MD
  • This PR includes CHANGELOG.MD updates for newly added functionality
  • This PR contains breaking changes
  • This PR includes ng update migrations for the breaking changes (migrations guidelines)
  • This PR includes behavioral changes and the feature specification has been updated with them

Copy link
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

Updates the GitHub Actions workflow that dispatches a “licensed release” event to the private automation repo, expanding how it can be triggered and how the release tag is provided.

Changes:

  • Adds created to the release event trigger types.
  • Adds a workflow_dispatch trigger with a required release_tag input.
  • Updates the repository-dispatch payload to use either the manual input tag or the release event tag.

You can also share your feedback on Copilot code review. Take the survey.

on:
release:
types: [published]
types: [published, created]
Comment on lines 33 to +34
{
"release_tag": "${{ github.event.release.tag_name }}",
"release_tag": "${{ github.event_name == 'workflow_dispatch' && inputs.release_tag || github.event.release.tag_name }}",
Copy link
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

Updates the “Trigger Licensed Release” GitHub Actions workflow so it can dispatch the licensed-release event based on tag pushes (and manual runs), instead of only on GitHub Release publishing.

Changes:

  • Switch workflow trigger from release.published to push on tags.
  • Add a workflow_dispatch input (release_tag) for manual dispatches.
  • Update the dispatched payload to use either the manual input tag or the pushed tag name.

dafo and others added 2 commits March 13, 2026 14:09
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copy link
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

Updates the “Trigger Licensed Release” GitHub Actions workflow so it can dispatch the private-repo licensed release based on tag pushes and manual dispatch, instead of relying on a published GitHub Release event.

Changes:

  • Switch workflow trigger from release: published to push on tags.
  • Add workflow_dispatch input to manually specify a release_tag.
  • Update the dispatched payload to use either the manual input tag or the pushed tag name.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copy link
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

Updates the “Trigger Licensed Release” GitHub Actions workflow so it can dispatch the licensed/private release process based on semver tag pushes and manual runs, rather than only on published GitHub releases.

Changes:

  • Switch trigger from release: published to push on *.*.* tags.
  • Add workflow_dispatch input (release_tag) to allow manual dispatching of a specific release tag.
  • Adjust job condition and payload to use github.event.inputs.release_tag || github.ref_name, and skip tag-deletion push events.

ChronosSF
ChronosSF previously approved these changes Mar 13, 2026
ChronosSF
ChronosSF previously approved these changes Mar 13, 2026
Copy link
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

Updates the “Trigger Licensed Release” GitHub Actions workflow to support manual dispatching and to pass the correct release tag to the downstream private-repo dispatch event.

Changes:

  • Add workflow_dispatch trigger with a required release_tag input.
  • Set workflow token permissions to an empty set (permissions: {}).
  • Adjust payload generation to use either the manual input tag or the published release tag.

Comment on lines +37 to 38
"release_tag": "${{ github.event_name == 'workflow_dispatch' && inputs.release_tag || github.event.release.tag_name }}",
"public_repo": "${{ github.repository }}"
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@ChronosSF ChronosSF merged commit 7762e98 into master Mar 13, 2026
5 checks passed
@ChronosSF ChronosSF deleted the amarinov/fixLicensedRelease branch March 13, 2026 14:22
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