-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better handling of undefined values in branches #1101
Better handling of undefined values in branches #1101
Conversation
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more |
📦 Package Size: 5264 KB |
@winkerVSbecks is there a better link I should use for this? I found https://www.chromatic.com/docs/custom-ci-provider/#overriding-chromatics-branch-detection but it does not mention |
@jmhobbs We could add an FAQ for precisely this scenario and link to that. wdty? |
Absolutely! I'll put this on hold for now until that is available. |
@jmhobbs FAQ link that you can use instead: https://www.chromatic.com/docs/faq/override-branch-name/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more Footnotes
|
020eedf
to
5d55843
Compare
🚀 PR was released in |
Sometimes our automatic CI detection lands us with an
undefined:<branch>
value, which is not correct.This strips that from branch values (unless explicitly set), and prints a warning message so users can possibly switch to
CHROMATIC_BRANCH
andCHROMATIC_SLUG
Also upgrades
env-ci
to detect more CI builders and hopefully avoid this situation in the first place.📦 Published PR as canary version:
11.13.1--canary.1101.11444008898.0
✨ Test out this PR locally via: