Skip to content

Commit d222f43

Browse files
committed
Fix TestGithubOrganizationRulesets/Creates_organization_ruleset_with_all_bypass_modes
Main fix: `bypass_actors` is returned as sorted from GH API so tests need re-indexing Signed-off-by: Timo Sand <[email protected]>
1 parent 921e999 commit d222f43

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

github/resource_github_organization_ruleset.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func resourceGithubOrganizationRuleset() *schema.Resource {
4646
Description: "Possible values for Enforcement are `disabled`, `active`, `evaluate`. Note: `evaluate` is currently only supported for owners of type `organization`.",
4747
},
4848
"bypass_actors": {
49-
Type: schema.TypeList,
49+
Type: schema.TypeList, // TODO: These are returned from GH API sorted by actor_id, we might want to investigate if we want to include sorting
5050
Optional: true,
5151
DiffSuppressFunc: bypassActorsDiffSuppressFunc,
5252
Description: "The actors that can bypass the rules in this ruleset.",

0 commit comments

Comments
 (0)