Skip to content

feat: validate config with schema #857

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

Open
wants to merge 4 commits into
base: main-enterprise
Choose a base branch
from

Conversation

marionebl
Copy link

This is an early implementation of json schema validation integrated with safe-settings directly.

This will

  1. Validate the .github/settings.yml
  2. Validate sub org settings
  3. Validate repo settings

The new validation is guarded by the env variable VALIDATE_CONFIG_SCHEMA.

I haven't manually tested this across all use cases yet but will do so over the next days.

For this PR I'm for now looking for feedback and an indication if the maintainers are interested in this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant