-
Notifications
You must be signed in to change notification settings - Fork 125
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
How to handle invalid config? #158
Comments
Ideally, it should have been possible for AllStar to notify GitHub App Managers of an organization regarding any validation/setup related issues. I couldn't find any documentation to do this though. cc @josepalafox - does GitHub provide a mechanism for GitHub Apps to notify App Managers? If not, is this a feature we could request from GitHub? In the short-term, a CLI might be a good workaround. |
Creating GitHub issue is a pretty good idea. 👍
+1 to be done by default. It'll be equally spammy as AllStar policy violations, so not too bad?
Would be nice if we can file issues in
Maybe we have one issue related to
Nice to have, but maybe not a requirement for a v0? @brianrussell2 fyi. |
Agree, if config & also run errors could be raised in a summarized issue in the .allstar repo or I guess in the .github if someone is using that location. Allow someone to turn on error logging. |
Is there any update on this issue? I see from this PR that I should be able to opt out Archived repository. It doesn't seem to work so I wonder if there isn't an error with my optConfig:
optOutStrategy: true
optOutPrivateRepos: false
optOutPublicRepos: false
optOutArchivedRepos: true
optOutForkedRepos: false
disableRepoOverride: true
schedule:
timezone: "Europe/Amsterdam"
days: ["saturday", "sunday"] The schedule option to tell Allstar not to execute during weekends isn't effective either. I wonder if there isn't an issue with this file. |
For the method of notification, the questions in the top post are still open questions. Any input on how you would like to be notified? Yes, |
It would be really helpful if AllStar emitted its merged configuration at the INFO level at the start of each run, and anytime there's a local override. I can't figure out if there's a bug in |
Allstar config is expected in yaml format and to unmarshal into the expected structs without error. Currently, when an error is found, Allstar just silently reverts to the default config. We would like users to be able to tell when they have an error. Some options:
The text was updated successfully, but these errors were encountered: