Skip to content
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

Add missing skip option to configuration schema #890

Merged
merged 2 commits into from
Jan 16, 2024

Conversation

ghengeveld
Copy link
Member

@ghengeveld ghengeveld commented Jan 16, 2024

Fixes #889

This option was documented and supposed to be available, but was omitted in the configuration schema. This adds the option so it can be used through chromatic.config.json.

📦 Published PR as canary version: 10.4.0--canary.890.7542881358.0

✨ Test out this PR locally via:

npm install [email protected]
# or 
yarn add [email protected]

@ghengeveld ghengeveld requested review from tmeasday and a team January 16, 2024 10:42
@ghengeveld ghengeveld added the patch Auto: Increment the patch version when merged label Jan 16, 2024
@ghengeveld ghengeveld added release Auto: Create a `latest` release when merged minor Auto: Increment the minor version when merged skip-release Auto: Preserve the current version when merged and removed release Auto: Create a `latest` release when merged patch Auto: Increment the patch version when merged skip-release Auto: Preserve the current version when merged labels Jan 16, 2024
@ghengeveld ghengeveld added this pull request to the merge queue Jan 16, 2024
Merged via the queue into main with commit 1e760f3 Jan 16, 2024
31 of 37 checks passed
@ghengeveld ghengeveld deleted the 889-add-missing-skip-config-option branch January 16, 2024 14:14
@ghengeveld
Copy link
Member Author

🚀 PR was released in v10.3.0 🚀

@ghengeveld ghengeveld added the released Verdict: This issue/pull request has been released label Jan 16, 2024
@tmeasday
Copy link
Member

@ghengeveld this was an intentional omission. The rationale was why would you always want to skip? But perhaps folks are using specific config files for specific situations. In which case we might want to consider adding some other once-off flags.

@ghengeveld
Copy link
Member Author

ghengeveld commented Jan 17, 2024

Skip can take a branch name glob, in which case it makes sense to specify that in the config file. E.g. to skip dependabot branches.

@tmeasday
Copy link
Member

Ahh, great point!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Auto: Increment the minor version when merged release Auto: Create a `latest` release when merged released Verdict: This issue/pull request has been released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unrecognized key "skip" in chromatic.config.json
3 participants