Repository navigation
Conversation
Signed-off-by: Ym <173550318+MaxonT@users.noreply.github.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi, this adds a condition so the CI workflows don't run on release commits in agentcore-cli. The issue title was my only guide, so the exact commit match may need adjusting.
Merging a release PR pushes a
chore(release):commit tov1.x, which starts both CI and the release-publish workflow. Both callverify.yml, so Linux and Windows verification runs twice for the same commit.This adds a condition to the
verifyande2ejobs in.github/workflows/ci.yml: onpushevents they are skipped when the head commit message starts withchore(release):. Pull request andworkflow_dispatchruns are unchanged, andrelease-main-and-preview.ymlkeeps its ownverifyjob before publishing. As the issue notes, GitHub still records a skipped CI run for these pushes, and the macOS and E2E checks are skipped on them too.Verified: the file still parses as YAML and the diff is the two
if:lines only. Not verified: I did not run the workflow on GitHub, andactionlintwas not available here, so the expression behavior rests on the documented semantics ofgithub.event.head_commit.messageandstartsWith. The check is on the commit message only, as the issue describes; release-publish itself identifies releases through the merged PR's author and branch, so I did not copy that stricter check into CI.Refs #2392