-
Notifications
You must be signed in to change notification settings - Fork 339
feat: implement ruleset bypass actor #2199
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
base: main
Are you sure you want to change the base?
feat: implement ruleset bypass actor #2199
Conversation
Dry-run check results |
29a954f to
023b6b5
Compare
| source_type: RulesetSourceType::Repository, | ||
| enforcement: RulesetEnforcement::Active, | ||
| bypass_actors: None, | ||
| bypass_actors: None, // Will be populated when applying the diff |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can discuss if this needs to be changed. I can think of making ID resolution methods available on the read client.
I'm okay with this comment because the current implementation is read-only
e1c1ba6 to
0330575
Compare
marcoieni
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you edit a toml file that can take advantage of this so that we can test this PR later? (I still need to review it before testing it)
| #[serde(rename_all = "snake_case")] | ||
| pub(crate) enum RulesetBypassMode { | ||
| Always, | ||
| #[serde(rename = "pull_request")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't rename_all = "snake_case" already doing this rename?
Closes: #2192