You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: "Set to 'true' to enable security alerts for vulnerable dependencies. Enabling requires alerts to be enabled on the owner level. (Note for importing: GitHub enables the alerts on all repos by default). Note that vulnerability alerts have not been successfully tested on any GitHub Enterprise instance and may be unavailable in those settings.",
403
403
},
404
404
"ignore_vulnerability_alerts_during_read": {
405
-
Type: schema.TypeBool,
406
-
Optional: true,
407
-
Default: false,
408
-
Description: "Set to true to not call the vulnerability alerts endpoint so the resource can also be used without admin permissions during read.",
405
+
Type: schema.TypeBool,
406
+
Optional: true,
407
+
Default: false,
408
+
Deprecated: "This is ignored as the provider now handles lack of permissions automatically.",
409
409
},
410
410
"full_name": {
411
411
Type: schema.TypeString,
@@ -831,6 +831,7 @@ func resourceGithubRepositoryRead(ctx context.Context, d *schema.ResourceData, m
831
831
_=d.Set("node_id", repo.GetNodeID())
832
832
_=d.Set("repo_id", repo.GetID())
833
833
834
+
// TODO: Validate this behavior as I can see these fields being returned even when archived
834
835
// GitHub API doesn't respond following parameters when repository is archived
0 commit comments