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

Create Configuration Object #21

Open
jhpierce opened this issue Apr 8, 2022 · 0 comments
Open

Create Configuration Object #21

jhpierce opened this issue Apr 8, 2022 · 0 comments

Comments

@jhpierce
Copy link
Collaborator

jhpierce commented Apr 8, 2022

Description

Create a Configuration Pydantic model, which holds all of the values needed for a Gator "run". These fields include:

  • changeset - a Changeset object
  • dry_run A boolean indicating whether or not this is a dry run
  • github_domain
  • github_token_env_var the name of the environment variable where a Github token is stored
  • repositories a list of repository slugs to process, of the form some-org/some-repo

This should be defined in a module gator.models

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

No branches or pull requests

3 participants