-
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
Implement rulesets #2795
Implement rulesets #2795
Commits on May 31, 2023
-
Add repository ruleset and related structs
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 958a8a0 - Browse repository at this point
Copy the full SHA 958a8a0View commit details -
Add GetAllOrganizationRepositoryRulesets
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1e2554c - Browse repository at this point
Copy the full SHA 1e2554cView commit details -
Extend ruleset struct with conditions
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 6a93946 - Browse repository at this point
Copy the full SHA 6a93946View commit details -
Create all the different rules
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5b15d81 - Browse repository at this point
Copy the full SHA 5b15d81View commit details -
Spilt out ruleset conditions in different types
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for dc199b5 - Browse repository at this point
Copy the full SHA dc199b5View commit details
Commits on Jun 1, 2023
-
Add missing requiredStatusChecks struct
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 90d803f - Browse repository at this point
Copy the full SHA 90d803fView commit details -
Add CreateOrganizationRepositoryRuleset
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8b3f493 - Browse repository at this point
Copy the full SHA 8b3f493View commit details -
Fix unhandled rulesetRule type message
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f2b462f - Browse repository at this point
Copy the full SHA f2b462fView commit details -
Add comments on the rule creations
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 113d39f - Browse repository at this point
Copy the full SHA 113d39fView commit details -
Add GetOrganizationRepositoryRuleset
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 93e2a90 - Browse repository at this point
Copy the full SHA 93e2a90View commit details -
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3208f5c - Browse repository at this point
Copy the full SHA 3208f5cView commit details -
Add UpdateOrganizationRepositoryRuleset
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f58936c - Browse repository at this point
Copy the full SHA f58936cView commit details -
Add DeleteOrganizationRepositoryRuleset
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 879e3e0 - Browse repository at this point
Copy the full SHA 879e3e0View commit details -
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d89d75a - Browse repository at this point
Copy the full SHA d89d75aView commit details -
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 51f34d4 - Browse repository at this point
Copy the full SHA 51f34d4View commit details -
Add tests for Rule_UnmarshalJSON
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8d47d85 - Browse repository at this point
Copy the full SHA 8d47d85View commit details -
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5439e29 - Browse repository at this point
Copy the full SHA 5439e29View commit details -
Rename RuleSetRule to RepositoryRule
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3f1a6b4 - Browse repository at this point
Copy the full SHA 3f1a6b4View commit details -
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 90c2a8d - Browse repository at this point
Copy the full SHA 90c2a8dView commit details
Commits on Jun 2, 2023
-
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 0e828ee - Browse repository at this point
Copy the full SHA 0e828eeView commit details -
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5589fc1 - Browse repository at this point
Copy the full SHA 5589fc1View commit details -
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8c128a6 - Browse repository at this point
Copy the full SHA 8c128a6View commit details -
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7696f52 - Browse repository at this point
Copy the full SHA 7696f52View commit details -
Fix http method for UpdateOrganizationRepositoryRuleset
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9db0040 - Browse repository at this point
Copy the full SHA 9db0040View commit details -
Always return response when deleting rulesets
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for fc0b2f1 - Browse repository at this point
Copy the full SHA fc0b2f1View commit details -
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5a90752 - Browse repository at this point
Copy the full SHA 5a90752View commit details -
Small renaming and tidy up for consistency
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5492131 - Browse repository at this point
Copy the full SHA 5492131View commit details -
Configuration menu - View commit details
-
Copy full SHA for fdbe041 - Browse repository at this point
Copy the full SHA fdbe041View commit details -
Add includesParent query to GetAllRulesets
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for b814d7f - Browse repository at this point
Copy the full SHA b814d7fView commit details -
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c390b09 - Browse repository at this point
Copy the full SHA c390b09View commit details -
Fix the test for RepositoryRule UnmarshalJSON
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 6ab01f8 - Browse repository at this point
Copy the full SHA 6ab01f8View commit details -
Make fields in RulesetRepositoryConditionParameters optional
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a7d82e3 - Browse repository at this point
Copy the full SHA a7d82e3View commit details -
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for fe12731 - Browse repository at this point
Copy the full SHA fe12731View commit details
Commits on Jun 4, 2023
-
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for b584269 - Browse repository at this point
Copy the full SHA b584269View commit details -
Simplify Ruleset struct to use list of pointers
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ac74284 - Browse repository at this point
Copy the full SHA ac74284View commit details
Commits on Jun 5, 2023
-
Make BypassActor fields optional
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for b4eb612 - Browse repository at this point
Copy the full SHA b4eb612View commit details -
Add testing for RepositoryRule UnmarshalJSON
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ad0beca - Browse repository at this point
Copy the full SHA ad0becaView commit details
Commits on Jun 7, 2023
-
Switch parameters to *json.RawMessage type
Signed-off-by: Daniel Liao <10663736+liaodaniel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5618f6f - Browse repository at this point
Copy the full SHA 5618f6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 221c3ee - Browse repository at this point
Copy the full SHA 221c3eeView commit details