-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Allow an empty array of BypassActors in Ruleset struct in CreateRuleset endpoint #3174
Merged
Merged
Changes from 20 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
2a56435
work done on merge queue addition
Matthew-Reidy ff15302
added support for merge queue, altered tests to include merge queue
Matthew-Reidy aabde61
Merge branch 'google:master' into master
Matthew-Reidy ae78db8
alphabetized items in repo_rules.go and AUTHORS, removed blank space …
Matthew-Reidy db98743
Update github/repos_rules.go
Matthew-Reidy 905ca1c
Merge branch 'google:master' into master
Matthew-Reidy 0fd71e1
Merge branch 'google:master' into master
Matthew-Reidy 2c8a998
issue3106 changes
Matthew-Reidy 13c74db
added more detail to function comment
Matthew-Reidy 6f4c7c1
small gramatical change
Matthew-Reidy f43553d
Merge branch 'google:master' into master
Matthew-Reidy cadcc02
Merge branch 'google:master' into master
Matthew-Reidy 133421c
added extra endpoint for issue 3137
Matthew-Reidy 33bfd28
changed func param back to Ruleset
Matthew-Reidy 0feea60
Update github/repos_rules.go
Matthew-Reidy aef7538
Update github/repos_rules.go
Matthew-Reidy e34b7b3
Update github/repos_rules.go
Matthew-Reidy 0fd05d7
Update github/repos_rules.go
Matthew-Reidy 2b20337
Merge branch 'google:master' into master
Matthew-Reidy 1f7c1ef
changed struct to non-exported, code styling change in UpdateRulesetN…
Matthew-Reidy fa5bba3
fixed spelling nit
Matthew-Reidy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I think that you can embed the entire
Ruleset
object and shadow just thebypass_actors
example: https://goplay.tools/snippet/7lHZci7LW0y
@gmlewis WDYT?
Then you can use it like so:
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.
Sounds great, @tomfeigin - as long as we have a unit test that demonstrates this behavior (meaning a
BypassActors=nil
still gets passed through in JSON as"bypass_actors":[]
).