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

feat(build-cli): Add handler exclusion and listing to check policy command #12648

Merged
merged 3 commits into from
Oct 25, 2022

Conversation

tylerbutler
Copy link
Member

@tylerbutler tylerbutler commented Oct 24, 2022

Adds an --excludeHandler flag to the check policy command that can be used to exclude one or more handlers by name. The main use-case for this is to run policy check with or without the assert-shortcodes handler more easily. Technically it's possible to exclude a single handler using the regex argument, but this is much simpler.

Also, there is a new --listHandlers flag that will list all the handlers including their names, so one can now query the system for handlers, then exclude those handlers by name easily.

@github-actions github-actions bot added the base: main PRs targeted against main branch label Oct 24, 2022
@tylerbutler tylerbutler marked this pull request as ready for review October 25, 2022 00:06
@tylerbutler tylerbutler requested a review from a team as a code owner October 25, 2022 00:06
@tylerbutler tylerbutler merged commit 0435b82 into microsoft:main Oct 25, 2022
@tylerbutler tylerbutler deleted the cli/assert-handler branch October 25, 2022 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
base: main PRs targeted against main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants