fix(workflow): update trigger for licensed release#17044
Conversation
There was a problem hiding this comment.
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
createdto thereleaseevent trigger types. - Adds a
workflow_dispatchtrigger with a requiredrelease_taginput. - 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] |
| { | ||
| "release_tag": "${{ github.event.release.tag_name }}", | ||
| "release_tag": "${{ github.event_name == 'workflow_dispatch' && inputs.release_tag || github.event.release.tag_name }}", |
There was a problem hiding this comment.
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.publishedtopushon tags. - Add a
workflow_dispatchinput (release_tag) for manual dispatches. - 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>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
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: publishedtopushon tags. - Add
workflow_dispatchinput to manually specify arelease_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>
There was a problem hiding this comment.
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: publishedtopushon*.*.*tags. - Add
workflow_dispatchinput (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.
…teUI/igniteui-angular into amarinov/fixLicensedRelease
There was a problem hiding this comment.
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_dispatchtrigger with a requiredrelease_taginput. - Set workflow token permissions to an empty set (
permissions: {}). - Adjust payload generation to use either the manual input tag or the published release tag.
| "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>
Closes #
Additional information (check all that apply):
Checklist:
feature/README.MDupdates for the feature docsREADME.MDCHANGELOG.MDupdates for newly added functionalityng updatemigrations for the breaking changes (migrations guidelines)