From 668d7432011cf08c4f1a53ad88f298e421bf7ed8 Mon Sep 17 00:00:00 2001 From: Graham Hargreaves Date: Tue, 1 Oct 2024 17:34:14 +0100 Subject: [PATCH] chore: update go-github to V65 (#2359) * chore: update go-github to V64 * Update data_source_github_organization_team_sync_groups.go Co-authored-by: Ze Peng * chore: fix linting * chore: update go-github to V65 * chore: update after go mod tidy --------- Co-authored-by: Ze Peng Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com> --- github/config.go | 2 +- ...urce_github_actions_environment_secrets.go | 2 +- ...ce_github_actions_environment_variables.go | 2 +- ...rce_github_actions_organization_secrets.go | 2 +- ...e_github_actions_organization_variables.go | 2 +- github/data_source_github_actions_secrets.go | 2 +- .../data_source_github_actions_variables.go | 2 +- github/data_source_github_app_token_test.go | 2 +- github/data_source_github_branch.go | 2 +- ..._github_codespaces_organization_secrets.go | 2 +- .../data_source_github_codespaces_secrets.go | 2 +- ...a_source_github_codespaces_user_secrets.go | 2 +- github/data_source_github_collaborators.go | 2 +- ..._github_dependabot_organization_secrets.go | 2 +- .../data_source_github_dependabot_secrets.go | 2 +- github/data_source_github_external_groups.go | 2 +- github/data_source_github_issue_labels.go | 2 +- github/data_source_github_organization.go | 2 +- ..._source_github_organization_custom_role.go | 2 +- ...ce_github_organization_team_sync_groups.go | 8 +- ...ata_source_github_organization_webhooks.go | 2 +- github/data_source_github_ref.go | 2 +- github/data_source_github_release.go | 2 +- github/data_source_github_repositories.go | 2 +- github/data_source_github_repository.go | 2 +- ...e_github_repository_autolink_references.go | 2 +- .../data_source_github_repository_branches.go | 2 +- ...ta_source_github_repository_deploy_keys.go | 2 +- ...a_source_github_repository_environments.go | 2 +- github/data_source_github_repository_file.go | 2 +- ...data_source_github_repository_file_test.go | 2 +- ..._source_github_repository_pull_requests.go | 2 +- github/data_source_github_repository_teams.go | 2 +- .../data_source_github_repository_webhooks.go | 2 +- github/data_source_github_team.go | 2 +- github/repository_utils.go | 2 +- ...ource_github_actions_environment_secret.go | 2 +- ...rce_github_actions_environment_variable.go | 2 +- ...dc_subject_claim_customization_template.go | 2 +- ...github_actions_organization_permissions.go | 2 +- ...urce_github_actions_organization_secret.go | 2 +- ...ctions_organization_secret_repositories.go | 2 +- ...ce_github_actions_organization_variable.go | 2 +- ..._github_actions_repository_access_level.go | 2 +- ...dc_subject_claim_customization_template.go | 2 +- ...e_github_actions_repository_permissions.go | 2 +- .../resource_github_actions_runner_group.go | 2 +- github/resource_github_actions_secret.go | 2 +- github/resource_github_actions_variable.go | 2 +- ...ce_github_app_installation_repositories.go | 2 +- ...urce_github_app_installation_repository.go | 2 +- github/resource_github_branch.go | 2 +- github/resource_github_branch_default.go | 2 +- .../resource_github_branch_protection_v3.go | 2 +- ...ource_github_branch_protection_v3_utils.go | 2 +- ...e_github_codespaces_organization_secret.go | 2 +- ...spaces_organization_secret_repositories.go | 2 +- github/resource_github_codespaces_secret.go | 2 +- .../resource_github_codespaces_user_secret.go | 2 +- ...e_github_dependabot_organization_secret.go | 2 +- ...ndabot_organization_secret_repositories.go | 2 +- github/resource_github_dependabot_secret.go | 2 +- github/resource_github_emu_group_mapping.go | 2 +- ...e_github_enterprise_actions_permissions.go | 2 +- ..._github_enterprise_actions_runner_group.go | 2 +- ...resource_github_enterprise_organization.go | 2 +- github/resource_github_issue.go | 2 +- github/resource_github_issue_label.go | 2 +- github/resource_github_issue_labels.go | 2 +- github/resource_github_membership.go | 2 +- github/resource_github_membership_test.go | 2 +- ...esource_github_organization_custom_role.go | 2 +- .../resource_github_organization_project.go | 2 +- ...source_github_organization_project_test.go | 2 +- .../resource_github_organization_ruleset.go | 2 +- ...ce_github_organization_security_manager.go | 2 +- .../resource_github_organization_settings.go | 2 +- .../resource_github_organization_webhook.go | 2 +- github/resource_github_project_card.go | 2 +- github/resource_github_project_column.go | 2 +- github/resource_github_project_column_test.go | 2 +- github/resource_github_release.go | 2 +- github/resource_github_repository.go | 2 +- ...ce_github_repository_autolink_reference.go | 2 +- ...resource_github_repository_collaborator.go | 2 +- ...esource_github_repository_collaborators.go | 2 +- ...ce_github_repository_collaborators_test.go | 2 +- .../resource_github_repository_deploy_key.go | 2 +- ...hub_repository_deployment_branch_policy.go | 2 +- .../resource_github_repository_environment.go | 2 +- ...epository_environment_deployment_policy.go | 2 +- github/resource_github_repository_file.go | 2 +- .../resource_github_repository_milestone.go | 2 +- github/resource_github_repository_project.go | 2 +- ...resource_github_repository_pull_request.go | 2 +- github/resource_github_repository_ruleset.go | 2 +- ...source_github_repository_tag_protection.go | 2 +- github/resource_github_repository_topics.go | 2 +- github/resource_github_repository_webhook.go | 2 +- github/resource_github_team.go | 2 +- github/resource_github_team_members.go | 2 +- github/resource_github_team_members_test.go | 2 +- github/resource_github_team_membership.go | 2 +- .../resource_github_team_membership_test.go | 2 +- github/resource_github_team_repository.go | 2 +- ...resource_github_team_sync_group_mapping.go | 2 +- ...rce_github_team_sync_group_mapping_test.go | 2 +- github/resource_github_user_gpg_key.go | 2 +- github/resource_github_user_ssh_key.go | 2 +- github/resource_organization_block.go | 2 +- github/respository_rules_utils.go | 2 +- github/transport.go | 2 +- github/transport_test.go | 2 +- github/util.go | 2 +- go.mod | 2 +- go.sum | 4 +- .../v63/github/orgs_personal_access_tokens.go | 36 --- .../google/go-github/{v63 => v65}/AUTHORS | 1 + .../google/go-github/{v63 => v65}/LICENSE | 0 .../go-github/{v63 => v65}/github/actions.go | 0 .../{v63 => v65}/github/actions_artifacts.go | 0 .../{v63 => v65}/github/actions_cache.go | 0 .../{v63 => v65}/github/actions_oidc.go | 0 .../github/actions_permissions_enterprise.go | 0 .../github/actions_permissions_orgs.go | 0 .../github/actions_required_workflows.go | 0 .../github/actions_runner_groups.go | 0 .../{v63 => v65}/github/actions_runners.go | 0 .../{v63 => v65}/github/actions_secrets.go | 0 .../{v63 => v65}/github/actions_variables.go | 0 .../github/actions_workflow_jobs.go | 0 .../github/actions_workflow_runs.go | 0 .../{v63 => v65}/github/actions_workflows.go | 0 .../go-github/{v63 => v65}/github/activity.go | 0 .../{v63 => v65}/github/activity_events.go | 0 .../github/activity_notifications.go | 0 .../{v63 => v65}/github/activity_star.go | 0 .../{v63 => v65}/github/activity_watching.go | 0 .../go-github/{v63 => v65}/github/admin.go | 0 .../{v63 => v65}/github/admin_orgs.go | 0 .../{v63 => v65}/github/admin_stats.go | 0 .../{v63 => v65}/github/admin_users.go | 0 .../go-github/{v63 => v65}/github/apps.go | 82 ++--- .../{v63 => v65}/github/apps_hooks.go | 0 .../github/apps_hooks_deliveries.go | 0 .../{v63 => v65}/github/apps_installation.go | 0 .../{v63 => v65}/github/apps_manifest.go | 0 .../{v63 => v65}/github/apps_marketplace.go | 0 .../{v63 => v65}/github/authorizations.go | 0 .../go-github/{v63 => v65}/github/billing.go | 7 +- .../go-github/{v63 => v65}/github/checks.go | 0 .../{v63 => v65}/github/code-scanning.go | 0 .../{v63 => v65}/github/codesofconduct.go | 0 .../{v63 => v65}/github/codespaces.go | 0 .../{v63 => v65}/github/codespaces_secrets.go | 0 .../go-github/{v63 => v65}/github/copilot.go | 0 .../{v63 => v65}/github/dependabot.go | 0 .../{v63 => v65}/github/dependabot_alerts.go | 0 .../{v63 => v65}/github/dependabot_secrets.go | 0 .../{v63 => v65}/github/dependency_graph.go | 0 .../github/dependency_graph_snapshots.go | 0 .../go-github/{v63 => v65}/github/doc.go | 2 +- .../go-github/{v63 => v65}/github/emojis.go | 0 .../{v63 => v65}/github/enterprise.go | 0 .../enterprise_actions_runner_groups.go | 0 .../github/enterprise_actions_runners.go | 0 .../github/enterprise_audit_log.go | 0 .../enterprise_code_security_and_analysis.go | 0 .../go-github/{v63 => v65}/github/event.go | 0 .../{v63 => v65}/github/event_types.go | 100 +++--- .../go-github/{v63 => v65}/github/gists.go | 0 .../{v63 => v65}/github/gists_comments.go | 0 .../go-github/{v63 => v65}/github/git.go | 0 .../{v63 => v65}/github/git_blobs.go | 0 .../{v63 => v65}/github/git_commits.go | 0 .../go-github/{v63 => v65}/github/git_refs.go | 0 .../go-github/{v63 => v65}/github/git_tags.go | 0 .../{v63 => v65}/github/git_trees.go | 0 .../{v63 => v65}/github/github-accessors.go | 304 +++++++++++++++--- .../go-github/{v63 => v65}/github/github.go | 2 +- .../{v63 => v65}/github/gitignore.go | 0 .../{v63 => v65}/github/interactions.go | 0 .../{v63 => v65}/github/interactions_orgs.go | 0 .../{v63 => v65}/github/interactions_repos.go | 0 .../{v63 => v65}/github/issue_import.go | 0 .../go-github/{v63 => v65}/github/issues.go | 0 .../{v63 => v65}/github/issues_assignees.go | 0 .../{v63 => v65}/github/issues_comments.go | 0 .../{v63 => v65}/github/issues_events.go | 0 .../{v63 => v65}/github/issues_labels.go | 0 .../{v63 => v65}/github/issues_milestones.go | 0 .../{v63 => v65}/github/issues_timeline.go | 0 .../go-github/{v63 => v65}/github/licenses.go | 0 .../go-github/{v63 => v65}/github/markdown.go | 0 .../go-github/{v63 => v65}/github/messages.go | 1 + .../go-github/{v63 => v65}/github/meta.go | 22 +- .../{v63 => v65}/github/migrations.go | 0 .../github/migrations_source_import.go | 0 .../{v63 => v65}/github/migrations_user.go | 0 .../go-github/{v63 => v65}/github/orgs.go | 0 .../github/orgs_actions_allowed.go | 0 .../github/orgs_actions_permissions.go | 0 .../{v63 => v65}/github/orgs_audit_log.go | 0 .../github/orgs_credential_authorizations.go | 0 .../{v63 => v65}/github/orgs_custom_roles.go | 30 +- .../{v63 => v65}/github/orgs_hooks.go | 0 .../github/orgs_hooks_configuration.go | 0 .../github/orgs_hooks_deliveries.go | 0 .../{v63 => v65}/github/orgs_members.go | 0 .../github/orgs_outside_collaborators.go | 0 .../{v63 => v65}/github/orgs_packages.go | 0 .../v65/github/orgs_personal_access_tokens.go | 167 ++++++++++ .../{v63 => v65}/github/orgs_projects.go | 0 .../{v63 => v65}/github/orgs_properties.go | 39 ++- .../{v63 => v65}/github/orgs_rules.go | 0 .../github/orgs_security_managers.go | 0 .../github/orgs_users_blocking.go | 0 .../go-github/{v63 => v65}/github/packages.go | 0 .../go-github/{v63 => v65}/github/projects.go | 0 .../go-github/{v63 => v65}/github/pulls.go | 13 +- .../{v63 => v65}/github/pulls_comments.go | 0 .../{v63 => v65}/github/pulls_reviewers.go | 0 .../{v63 => v65}/github/pulls_reviews.go | 9 +- .../{v63 => v65}/github/pulls_threads.go | 0 .../{v63 => v65}/github/rate_limit.go | 0 .../{v63 => v65}/github/reactions.go | 0 .../go-github/{v63 => v65}/github/repos.go | 106 +++--- .../github/repos_actions_access.go | 0 .../github/repos_actions_allowed.go | 0 .../github/repos_actions_permissions.go | 0 .../{v63 => v65}/github/repos_autolinks.go | 0 .../{v63 => v65}/github/repos_codeowners.go | 0 .../github/repos_collaborators.go | 0 .../{v63 => v65}/github/repos_comments.go | 0 .../{v63 => v65}/github/repos_commits.go | 0 .../github/repos_community_health.go | 0 .../{v63 => v65}/github/repos_contents.go | 0 .../repos_deployment_branch_policies.go | 0 .../repos_deployment_protection_rules.go | 0 .../{v63 => v65}/github/repos_deployments.go | 0 .../{v63 => v65}/github/repos_environments.go | 0 .../{v63 => v65}/github/repos_forks.go | 0 .../{v63 => v65}/github/repos_hooks.go | 0 .../github/repos_hooks_configuration.go | 0 .../github/repos_hooks_deliveries.go | 0 .../{v63 => v65}/github/repos_invitations.go | 0 .../{v63 => v65}/github/repos_keys.go | 0 .../{v63 => v65}/github/repos_lfs.go | 0 .../{v63 => v65}/github/repos_merging.go | 0 .../{v63 => v65}/github/repos_pages.go | 0 .../github/repos_prereceive_hooks.go | 0 .../{v63 => v65}/github/repos_projects.go | 0 .../{v63 => v65}/github/repos_properties.go | 0 .../{v63 => v65}/github/repos_releases.go | 0 .../{v63 => v65}/github/repos_rules.go | 68 +++- .../{v63 => v65}/github/repos_stats.go | 0 .../{v63 => v65}/github/repos_statuses.go | 0 .../{v63 => v65}/github/repos_tags.go | 0 .../{v63 => v65}/github/repos_traffic.go | 0 .../go-github/{v63 => v65}/github/scim.go | 14 +- .../go-github/{v63 => v65}/github/search.go | 0 .../{v63 => v65}/github/secret_scanning.go | 0 .../github/security_advisories.go | 0 .../go-github/{v63 => v65}/github/strings.go | 0 .../go-github/{v63 => v65}/github/teams.go | 10 +- .../github/teams_discussion_comments.go | 0 .../{v63 => v65}/github/teams_discussions.go | 0 .../{v63 => v65}/github/teams_members.go | 0 .../{v63 => v65}/github/timestamp.go | 0 .../go-github/{v63 => v65}/github/users.go | 0 .../github/users_administration.go | 0 .../{v63 => v65}/github/users_blocking.go | 0 .../{v63 => v65}/github/users_emails.go | 0 .../{v63 => v65}/github/users_followers.go | 0 .../{v63 => v65}/github/users_gpg_keys.go | 0 .../{v63 => v65}/github/users_keys.go | 0 .../{v63 => v65}/github/users_packages.go | 0 .../{v63 => v65}/github/users_projects.go | 0 .../github/users_ssh_signing_keys.go | 0 .../{v63 => v65}/github/with_appengine.go | 0 .../{v63 => v65}/github/without_appengine.go | 0 vendor/modules.txt | 6 +- 282 files changed, 886 insertions(+), 373 deletions(-) delete mode 100644 vendor/github.com/google/go-github/v63/github/orgs_personal_access_tokens.go rename vendor/github.com/google/go-github/{v63 => v65}/AUTHORS (99%) rename vendor/github.com/google/go-github/{v63 => v65}/LICENSE (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/actions.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/actions_artifacts.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/actions_cache.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/actions_oidc.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/actions_permissions_enterprise.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/actions_permissions_orgs.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/actions_required_workflows.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/actions_runner_groups.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/actions_runners.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/actions_secrets.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/actions_variables.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/actions_workflow_jobs.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/actions_workflow_runs.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/actions_workflows.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/activity.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/activity_events.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/activity_notifications.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/activity_star.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/activity_watching.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/admin.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/admin_orgs.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/admin_stats.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/admin_users.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/apps.go (82%) rename vendor/github.com/google/go-github/{v63 => v65}/github/apps_hooks.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/apps_hooks_deliveries.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/apps_installation.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/apps_manifest.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/apps_marketplace.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/authorizations.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/billing.go (93%) rename vendor/github.com/google/go-github/{v63 => v65}/github/checks.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/code-scanning.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/codesofconduct.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/codespaces.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/codespaces_secrets.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/copilot.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/dependabot.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/dependabot_alerts.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/dependabot_secrets.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/dependency_graph.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/dependency_graph_snapshots.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/doc.go (99%) rename vendor/github.com/google/go-github/{v63 => v65}/github/emojis.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/enterprise.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/enterprise_actions_runner_groups.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/enterprise_actions_runners.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/enterprise_audit_log.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/enterprise_code_security_and_analysis.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/event.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/event_types.go (95%) rename vendor/github.com/google/go-github/{v63 => v65}/github/gists.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/gists_comments.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/git.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/git_blobs.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/git_commits.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/git_refs.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/git_tags.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/git_trees.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/github-accessors.go (98%) rename vendor/github.com/google/go-github/{v63 => v65}/github/github.go (99%) rename vendor/github.com/google/go-github/{v63 => v65}/github/gitignore.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/interactions.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/interactions_orgs.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/interactions_repos.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/issue_import.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/issues.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/issues_assignees.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/issues_comments.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/issues_events.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/issues_labels.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/issues_milestones.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/issues_timeline.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/licenses.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/markdown.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/messages.go (99%) rename vendor/github.com/google/go-github/{v63 => v65}/github/meta.go (83%) rename vendor/github.com/google/go-github/{v63 => v65}/github/migrations.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/migrations_source_import.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/migrations_user.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/orgs.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/orgs_actions_allowed.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/orgs_actions_permissions.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/orgs_audit_log.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/orgs_credential_authorizations.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/orgs_custom_roles.go (91%) rename vendor/github.com/google/go-github/{v63 => v65}/github/orgs_hooks.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/orgs_hooks_configuration.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/orgs_hooks_deliveries.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/orgs_members.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/orgs_outside_collaborators.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/orgs_packages.go (100%) create mode 100644 vendor/github.com/google/go-github/v65/github/orgs_personal_access_tokens.go rename vendor/github.com/google/go-github/{v63 => v65}/github/orgs_projects.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/orgs_properties.go (88%) rename vendor/github.com/google/go-github/{v63 => v65}/github/orgs_rules.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/orgs_security_managers.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/orgs_users_blocking.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/packages.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/projects.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/pulls.go (97%) rename vendor/github.com/google/go-github/{v63 => v65}/github/pulls_comments.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/pulls_reviewers.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/pulls_reviews.go (97%) rename vendor/github.com/google/go-github/{v63 => v65}/github/pulls_threads.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/rate_limit.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/reactions.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos.go (95%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_actions_access.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_actions_allowed.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_actions_permissions.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_autolinks.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_codeowners.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_collaborators.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_comments.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_commits.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_community_health.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_contents.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_deployment_branch_policies.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_deployment_protection_rules.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_deployments.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_environments.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_forks.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_hooks.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_hooks_configuration.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_hooks_deliveries.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_invitations.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_keys.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_lfs.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_merging.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_pages.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_prereceive_hooks.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_projects.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_properties.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_releases.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_rules.go (90%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_stats.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_statuses.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_tags.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/repos_traffic.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/scim.go (96%) rename vendor/github.com/google/go-github/{v63 => v65}/github/search.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/secret_scanning.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/security_advisories.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/strings.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/teams.go (99%) rename vendor/github.com/google/go-github/{v63 => v65}/github/teams_discussion_comments.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/teams_discussions.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/teams_members.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/timestamp.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/users.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/users_administration.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/users_blocking.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/users_emails.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/users_followers.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/users_gpg_keys.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/users_keys.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/users_packages.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/users_projects.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/users_ssh_signing_keys.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/with_appengine.go (100%) rename vendor/github.com/google/go-github/{v63 => v65}/github/without_appengine.go (100%) diff --git a/github/config.go b/github/config.go index f89ebd02b9..536d70dc1b 100644 --- a/github/config.go +++ b/github/config.go @@ -8,7 +8,7 @@ import ( "strings" "time" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/logging" "github.com/shurcooL/githubv4" "golang.org/x/oauth2" diff --git a/github/data_source_github_actions_environment_secrets.go b/github/data_source_github_actions_environment_secrets.go index 59571521b1..0d0ed2e622 100644 --- a/github/data_source_github_actions_environment_secrets.go +++ b/github/data_source_github_actions_environment_secrets.go @@ -5,7 +5,7 @@ import ( "fmt" "net/url" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/data_source_github_actions_environment_variables.go b/github/data_source_github_actions_environment_variables.go index 96b56ccbd9..c8fe37fff6 100644 --- a/github/data_source_github_actions_environment_variables.go +++ b/github/data_source_github_actions_environment_variables.go @@ -5,7 +5,7 @@ import ( "fmt" "net/url" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/data_source_github_actions_organization_secrets.go b/github/data_source_github_actions_organization_secrets.go index 04be9e7d12..22d8b9975b 100644 --- a/github/data_source_github_actions_organization_secrets.go +++ b/github/data_source_github_actions_organization_secrets.go @@ -3,7 +3,7 @@ package github import ( "context" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/data_source_github_actions_organization_variables.go b/github/data_source_github_actions_organization_variables.go index 281a4a802a..cb1bbf4fad 100644 --- a/github/data_source_github_actions_organization_variables.go +++ b/github/data_source_github_actions_organization_variables.go @@ -3,7 +3,7 @@ package github import ( "context" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/data_source_github_actions_secrets.go b/github/data_source_github_actions_secrets.go index 643bb61a95..f13fe70513 100644 --- a/github/data_source_github_actions_secrets.go +++ b/github/data_source_github_actions_secrets.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/data_source_github_actions_variables.go b/github/data_source_github_actions_variables.go index c9a8b3299e..478c2e17f0 100644 --- a/github/data_source_github_actions_variables.go +++ b/github/data_source_github_actions_variables.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/data_source_github_app_token_test.go b/github/data_source_github_app_token_test.go index c0ecbb286d..04bf4bd17c 100644 --- a/github/data_source_github_app_token_test.go +++ b/github/data_source_github_app_token_test.go @@ -7,7 +7,7 @@ import ( "os" "testing" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/stretchr/testify/assert" ) diff --git a/github/data_source_github_branch.go b/github/data_source_github_branch.go index a26dc7656f..6c860ed3f7 100644 --- a/github/data_source_github_branch.go +++ b/github/data_source_github_branch.go @@ -5,7 +5,7 @@ import ( "log" "net/http" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/data_source_github_codespaces_organization_secrets.go b/github/data_source_github_codespaces_organization_secrets.go index b030a93b93..31336f9ebf 100644 --- a/github/data_source_github_codespaces_organization_secrets.go +++ b/github/data_source_github_codespaces_organization_secrets.go @@ -3,7 +3,7 @@ package github import ( "context" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/data_source_github_codespaces_secrets.go b/github/data_source_github_codespaces_secrets.go index 989b6a0064..40d6589f8c 100644 --- a/github/data_source_github_codespaces_secrets.go +++ b/github/data_source_github_codespaces_secrets.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/data_source_github_codespaces_user_secrets.go b/github/data_source_github_codespaces_user_secrets.go index c39a88d63f..60f199af75 100644 --- a/github/data_source_github_codespaces_user_secrets.go +++ b/github/data_source_github_codespaces_user_secrets.go @@ -3,7 +3,7 @@ package github import ( "context" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/data_source_github_collaborators.go b/github/data_source_github_collaborators.go index 64529ab110..8eab8c08b2 100644 --- a/github/data_source_github_collaborators.go +++ b/github/data_source_github_collaborators.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" ) diff --git a/github/data_source_github_dependabot_organization_secrets.go b/github/data_source_github_dependabot_organization_secrets.go index f15a33aebb..01c2598b7b 100644 --- a/github/data_source_github_dependabot_organization_secrets.go +++ b/github/data_source_github_dependabot_organization_secrets.go @@ -3,7 +3,7 @@ package github import ( "context" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/data_source_github_dependabot_secrets.go b/github/data_source_github_dependabot_secrets.go index 52afdd86dd..d5ca898892 100644 --- a/github/data_source_github_dependabot_secrets.go +++ b/github/data_source_github_dependabot_secrets.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/data_source_github_external_groups.go b/github/data_source_github_external_groups.go index 2155dff78e..73f9041b78 100644 --- a/github/data_source_github_external_groups.go +++ b/github/data_source_github_external_groups.go @@ -5,7 +5,7 @@ import ( "encoding/json" "fmt" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/data_source_github_issue_labels.go b/github/data_source_github_issue_labels.go index b077639d9f..1535ceb38d 100644 --- a/github/data_source_github_issue_labels.go +++ b/github/data_source_github_issue_labels.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/data_source_github_organization.go b/github/data_source_github_organization.go index 4163b8beef..93fdc8723b 100644 --- a/github/data_source_github_organization.go +++ b/github/data_source_github_organization.go @@ -3,7 +3,7 @@ package github import ( "strconv" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/shurcooL/githubv4" ) diff --git a/github/data_source_github_organization_custom_role.go b/github/data_source_github_organization_custom_role.go index a7f80fcd5b..72cc49ebcd 100644 --- a/github/data_source_github_organization_custom_role.go +++ b/github/data_source_github_organization_custom_role.go @@ -5,7 +5,7 @@ import ( "fmt" "log" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/data_source_github_organization_team_sync_groups.go b/github/data_source_github_organization_team_sync_groups.go index 3b1c2d8fad..a6affe3d0a 100644 --- a/github/data_source_github_organization_team_sync_groups.go +++ b/github/data_source_github_organization_team_sync_groups.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) @@ -42,7 +42,11 @@ func dataSourceGithubOrganizationTeamSyncGroupsRead(d *schema.ResourceData, meta ctx := context.Background() orgName := meta.(*Owner).name - options := &github.ListCursorOptions{PerPage: maxPerPage} + options := &github.ListIDPGroupsOptions{ + ListCursorOptions: github.ListCursorOptions{ + PerPage: maxPerPage, + }, + } groups := make([]interface{}, 0) for { diff --git a/github/data_source_github_organization_webhooks.go b/github/data_source_github_organization_webhooks.go index 7885c7e50c..19fba08194 100644 --- a/github/data_source_github_organization_webhooks.go +++ b/github/data_source_github_organization_webhooks.go @@ -3,7 +3,7 @@ package github import ( "context" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/data_source_github_ref.go b/github/data_source_github_ref.go index cc4ed26ea2..ab2a1b12f0 100644 --- a/github/data_source_github_ref.go +++ b/github/data_source_github_ref.go @@ -5,7 +5,7 @@ import ( "log" "net/http" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/data_source_github_release.go b/github/data_source_github_release.go index 3897a888bb..e3b52446dc 100644 --- a/github/data_source_github_release.go +++ b/github/data_source_github_release.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/data_source_github_repositories.go b/github/data_source_github_repositories.go index 86f053dbe5..663eb99560 100644 --- a/github/data_source_github_repositories.go +++ b/github/data_source_github_repositories.go @@ -3,7 +3,7 @@ package github import ( "context" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" ) diff --git a/github/data_source_github_repository.go b/github/data_source_github_repository.go index ea07a59155..925c6c1b2a 100644 --- a/github/data_source_github_repository.go +++ b/github/data_source_github_repository.go @@ -7,7 +7,7 @@ import ( "net/http" "strings" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/data_source_github_repository_autolink_references.go b/github/data_source_github_repository_autolink_references.go index f678c1b49d..6ee2e05dae 100644 --- a/github/data_source_github_repository_autolink_references.go +++ b/github/data_source_github_repository_autolink_references.go @@ -3,7 +3,7 @@ package github import ( "context" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/data_source_github_repository_branches.go b/github/data_source_github_repository_branches.go index 90f9e290ea..60c755acfa 100644 --- a/github/data_source_github_repository_branches.go +++ b/github/data_source_github_repository_branches.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/data_source_github_repository_deploy_keys.go b/github/data_source_github_repository_deploy_keys.go index aecdeae81a..52e15dde26 100644 --- a/github/data_source_github_repository_deploy_keys.go +++ b/github/data_source_github_repository_deploy_keys.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/data_source_github_repository_environments.go b/github/data_source_github_repository_environments.go index ccba31282f..a68147db90 100644 --- a/github/data_source_github_repository_environments.go +++ b/github/data_source_github_repository_environments.go @@ -3,7 +3,7 @@ package github import ( "context" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/data_source_github_repository_file.go b/github/data_source_github_repository_file.go index 160cc16d76..79b7ab93cb 100644 --- a/github/data_source_github_repository_file.go +++ b/github/data_source_github_repository_file.go @@ -8,7 +8,7 @@ import ( "net/url" "strings" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/data_source_github_repository_file_test.go b/github/data_source_github_repository_file_test.go index 650ae43bf3..41f8d161d6 100644 --- a/github/data_source_github_repository_file_test.go +++ b/github/data_source_github_repository_file_test.go @@ -9,7 +9,7 @@ import ( "net/url" "testing" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/stretchr/testify/assert" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" diff --git a/github/data_source_github_repository_pull_requests.go b/github/data_source_github_repository_pull_requests.go index 9dcc02d73a..e7ac9c4eff 100644 --- a/github/data_source_github_repository_pull_requests.go +++ b/github/data_source_github_repository_pull_requests.go @@ -4,7 +4,7 @@ import ( "context" "strings" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" ) diff --git a/github/data_source_github_repository_teams.go b/github/data_source_github_repository_teams.go index 70d93e4c23..03ce9a06e9 100644 --- a/github/data_source_github_repository_teams.go +++ b/github/data_source_github_repository_teams.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/data_source_github_repository_webhooks.go b/github/data_source_github_repository_webhooks.go index a2522e3c15..450b45d159 100644 --- a/github/data_source_github_repository_webhooks.go +++ b/github/data_source_github_repository_webhooks.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/data_source_github_team.go b/github/data_source_github_team.go index 96a4ed4b44..4e5f534175 100644 --- a/github/data_source_github_team.go +++ b/github/data_source_github_team.go @@ -4,7 +4,7 @@ import ( "context" "strconv" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/shurcooL/githubv4" diff --git a/github/repository_utils.go b/github/repository_utils.go index 4f00e2c94f..eba144b10a 100644 --- a/github/repository_utils.go +++ b/github/repository_utils.go @@ -6,7 +6,7 @@ import ( "net/http" "strings" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" ) // checkRepositoryBranchExists tests if a branch exists in a repository. diff --git a/github/resource_github_actions_environment_secret.go b/github/resource_github_actions_environment_secret.go index 2c644cf6a6..e9b6c3ffe0 100644 --- a/github/resource_github_actions_environment_secret.go +++ b/github/resource_github_actions_environment_secret.go @@ -7,7 +7,7 @@ import ( "net/http" "net/url" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" ) diff --git a/github/resource_github_actions_environment_variable.go b/github/resource_github_actions_environment_variable.go index fdd89a1f29..5cd198f42b 100644 --- a/github/resource_github_actions_environment_variable.go +++ b/github/resource_github_actions_environment_variable.go @@ -6,7 +6,7 @@ import ( "net/http" "net/url" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_actions_organization_oidc_subject_claim_customization_template.go b/github/resource_github_actions_organization_oidc_subject_claim_customization_template.go index 72fa93a017..ab9399ea9f 100644 --- a/github/resource_github_actions_organization_oidc_subject_claim_customization_template.go +++ b/github/resource_github_actions_organization_oidc_subject_claim_customization_template.go @@ -3,7 +3,7 @@ package github import ( "context" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_actions_organization_permissions.go b/github/resource_github_actions_organization_permissions.go index ff4b73b1ec..c5dafe66ee 100644 --- a/github/resource_github_actions_organization_permissions.go +++ b/github/resource_github_actions_organization_permissions.go @@ -5,7 +5,7 @@ import ( "errors" "log" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" ) diff --git a/github/resource_github_actions_organization_secret.go b/github/resource_github_actions_organization_secret.go index f5a0112821..182b911b55 100644 --- a/github/resource_github_actions_organization_secret.go +++ b/github/resource_github_actions_organization_secret.go @@ -7,7 +7,7 @@ import ( "log" "net/http" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" ) diff --git a/github/resource_github_actions_organization_secret_repositories.go b/github/resource_github_actions_organization_secret_repositories.go index 4bf94743ec..99e08cc464 100644 --- a/github/resource_github_actions_organization_secret_repositories.go +++ b/github/resource_github_actions_organization_secret_repositories.go @@ -3,7 +3,7 @@ package github import ( "context" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_actions_organization_variable.go b/github/resource_github_actions_organization_variable.go index e120e37bc0..ebe6921b2d 100644 --- a/github/resource_github_actions_organization_variable.go +++ b/github/resource_github_actions_organization_variable.go @@ -6,7 +6,7 @@ import ( "log" "net/http" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_actions_repository_access_level.go b/github/resource_github_actions_repository_access_level.go index ac58c80701..98074d30e2 100644 --- a/github/resource_github_actions_repository_access_level.go +++ b/github/resource_github_actions_repository_access_level.go @@ -3,7 +3,7 @@ package github import ( "context" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" ) diff --git a/github/resource_github_actions_repository_oidc_subject_claim_customization_template.go b/github/resource_github_actions_repository_oidc_subject_claim_customization_template.go index 28a01e760c..289e5e9a61 100644 --- a/github/resource_github_actions_repository_oidc_subject_claim_customization_template.go +++ b/github/resource_github_actions_repository_oidc_subject_claim_customization_template.go @@ -4,7 +4,7 @@ import ( "context" "errors" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" ) diff --git a/github/resource_github_actions_repository_permissions.go b/github/resource_github_actions_repository_permissions.go index 69a2d22ad0..db7588ab74 100644 --- a/github/resource_github_actions_repository_permissions.go +++ b/github/resource_github_actions_repository_permissions.go @@ -4,7 +4,7 @@ import ( "context" "log" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" ) diff --git a/github/resource_github_actions_runner_group.go b/github/resource_github_actions_runner_group.go index 18ac4925fc..aad3319498 100644 --- a/github/resource_github_actions_runner_group.go +++ b/github/resource_github_actions_runner_group.go @@ -7,7 +7,7 @@ import ( "net/http" "strconv" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" ) diff --git a/github/resource_github_actions_secret.go b/github/resource_github_actions_secret.go index 6941b89f9f..791806fa12 100644 --- a/github/resource_github_actions_secret.go +++ b/github/resource_github_actions_secret.go @@ -8,7 +8,7 @@ import ( "net/http" "strings" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "golang.org/x/crypto/nacl/box" ) diff --git a/github/resource_github_actions_variable.go b/github/resource_github_actions_variable.go index 398c3ffb61..334bb241a7 100644 --- a/github/resource_github_actions_variable.go +++ b/github/resource_github_actions_variable.go @@ -5,7 +5,7 @@ import ( "log" "net/http" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_app_installation_repositories.go b/github/resource_github_app_installation_repositories.go index e67ebbad16..ab8cad41b3 100644 --- a/github/resource_github_app_installation_repositories.go +++ b/github/resource_github_app_installation_repositories.go @@ -5,7 +5,7 @@ import ( "log" "strconv" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_app_installation_repository.go b/github/resource_github_app_installation_repository.go index 2eb35e1a53..758803ac86 100644 --- a/github/resource_github_app_installation_repository.go +++ b/github/resource_github_app_installation_repository.go @@ -5,7 +5,7 @@ import ( "log" "strconv" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_branch.go b/github/resource_github_branch.go index 64bd7d7e5b..97979dc67e 100644 --- a/github/resource_github_branch.go +++ b/github/resource_github_branch.go @@ -7,7 +7,7 @@ import ( "net/http" "strings" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_branch_default.go b/github/resource_github_branch_default.go index 32d8d299b2..91df5694f9 100644 --- a/github/resource_github_branch_default.go +++ b/github/resource_github_branch_default.go @@ -5,7 +5,7 @@ import ( "log" "net/http" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_branch_protection_v3.go b/github/resource_github_branch_protection_v3.go index 22b28a5fe2..89624a1ecc 100644 --- a/github/resource_github_branch_protection_v3.go +++ b/github/resource_github_branch_protection_v3.go @@ -6,7 +6,7 @@ import ( "log" "net/http" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" ) diff --git a/github/resource_github_branch_protection_v3_utils.go b/github/resource_github_branch_protection_v3_utils.go index 47e6616b0d..686f9a449f 100644 --- a/github/resource_github_branch_protection_v3_utils.go +++ b/github/resource_github_branch_protection_v3_utils.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_codespaces_organization_secret.go b/github/resource_github_codespaces_organization_secret.go index ba33c14aaf..640619c5ab 100644 --- a/github/resource_github_codespaces_organization_secret.go +++ b/github/resource_github_codespaces_organization_secret.go @@ -7,7 +7,7 @@ import ( "log" "net/http" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" ) diff --git a/github/resource_github_codespaces_organization_secret_repositories.go b/github/resource_github_codespaces_organization_secret_repositories.go index 7292d794d8..39467cc61d 100644 --- a/github/resource_github_codespaces_organization_secret_repositories.go +++ b/github/resource_github_codespaces_organization_secret_repositories.go @@ -3,7 +3,7 @@ package github import ( "context" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_codespaces_secret.go b/github/resource_github_codespaces_secret.go index 8bb806da1b..19078cc5c2 100644 --- a/github/resource_github_codespaces_secret.go +++ b/github/resource_github_codespaces_secret.go @@ -8,7 +8,7 @@ import ( "net/http" "strings" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_codespaces_user_secret.go b/github/resource_github_codespaces_user_secret.go index c9867809cb..45a6c35e0f 100644 --- a/github/resource_github_codespaces_user_secret.go +++ b/github/resource_github_codespaces_user_secret.go @@ -6,7 +6,7 @@ import ( "log" "net/http" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" ) diff --git a/github/resource_github_dependabot_organization_secret.go b/github/resource_github_dependabot_organization_secret.go index 58e97654b3..2a696027c0 100644 --- a/github/resource_github_dependabot_organization_secret.go +++ b/github/resource_github_dependabot_organization_secret.go @@ -7,7 +7,7 @@ import ( "log" "net/http" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" ) diff --git a/github/resource_github_dependabot_organization_secret_repositories.go b/github/resource_github_dependabot_organization_secret_repositories.go index 3eb2846939..d9bc5899b7 100644 --- a/github/resource_github_dependabot_organization_secret_repositories.go +++ b/github/resource_github_dependabot_organization_secret_repositories.go @@ -3,7 +3,7 @@ package github import ( "context" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_dependabot_secret.go b/github/resource_github_dependabot_secret.go index 59f234cea7..203b2a46df 100644 --- a/github/resource_github_dependabot_secret.go +++ b/github/resource_github_dependabot_secret.go @@ -8,7 +8,7 @@ import ( "net/http" "strings" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "golang.org/x/crypto/nacl/box" ) diff --git a/github/resource_github_emu_group_mapping.go b/github/resource_github_emu_group_mapping.go index 299c7aceea..bc152c1962 100644 --- a/github/resource_github_emu_group_mapping.go +++ b/github/resource_github_emu_group_mapping.go @@ -5,7 +5,7 @@ import ( "fmt" "strconv" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_enterprise_actions_permissions.go b/github/resource_github_enterprise_actions_permissions.go index 97847277fd..337db3a976 100644 --- a/github/resource_github_enterprise_actions_permissions.go +++ b/github/resource_github_enterprise_actions_permissions.go @@ -4,7 +4,7 @@ import ( "context" "errors" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" ) diff --git a/github/resource_github_enterprise_actions_runner_group.go b/github/resource_github_enterprise_actions_runner_group.go index 7116d6a95c..96973a37c7 100644 --- a/github/resource_github_enterprise_actions_runner_group.go +++ b/github/resource_github_enterprise_actions_runner_group.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" ) diff --git a/github/resource_github_enterprise_organization.go b/github/resource_github_enterprise_organization.go index 71b95bc6ee..864869b2c9 100644 --- a/github/resource_github_enterprise_organization.go +++ b/github/resource_github_enterprise_organization.go @@ -6,7 +6,7 @@ import ( "log" "strings" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/shurcooL/githubv4" ) diff --git a/github/resource_github_issue.go b/github/resource_github_issue.go index 3d82b02838..8b669f07a0 100644 --- a/github/resource_github_issue.go +++ b/github/resource_github_issue.go @@ -6,7 +6,7 @@ import ( "net/http" "strconv" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_issue_label.go b/github/resource_github_issue_label.go index 070e632ad3..d368a70bc5 100644 --- a/github/resource_github_issue_label.go +++ b/github/resource_github_issue_label.go @@ -5,7 +5,7 @@ import ( "log" "net/http" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_issue_labels.go b/github/resource_github_issue_labels.go index fb62807217..93d2919652 100644 --- a/github/resource_github_issue_labels.go +++ b/github/resource_github_issue_labels.go @@ -5,7 +5,7 @@ import ( "log" "strings" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_membership.go b/github/resource_github_membership.go index 1acf8ad75f..605798f76b 100644 --- a/github/resource_github_membership.go +++ b/github/resource_github_membership.go @@ -5,7 +5,7 @@ import ( "log" "net/http" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_membership_test.go b/github/resource_github_membership_test.go index 5de47af221..179743d2d6 100644 --- a/github/resource_github_membership_test.go +++ b/github/resource_github_membership_test.go @@ -6,7 +6,7 @@ import ( "fmt" "testing" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" ) diff --git a/github/resource_github_organization_custom_role.go b/github/resource_github_organization_custom_role.go index 23bcb20492..12ae72ec73 100644 --- a/github/resource_github_organization_custom_role.go +++ b/github/resource_github_organization_custom_role.go @@ -6,7 +6,7 @@ import ( "log" "strconv" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_organization_project.go b/github/resource_github_organization_project.go index 84dec1d193..2414a31d11 100644 --- a/github/resource_github_organization_project.go +++ b/github/resource_github_organization_project.go @@ -7,7 +7,7 @@ import ( "net/http" "strconv" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_organization_project_test.go b/github/resource_github_organization_project_test.go index 13f515c0db..a65daf6bae 100644 --- a/github/resource_github_organization_project_test.go +++ b/github/resource_github_organization_project_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" ) diff --git a/github/resource_github_organization_ruleset.go b/github/resource_github_organization_ruleset.go index c1324df1ef..8831f70f5b 100644 --- a/github/resource_github_organization_ruleset.go +++ b/github/resource_github_organization_ruleset.go @@ -7,7 +7,7 @@ import ( "net/http" "strconv" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" ) diff --git a/github/resource_github_organization_security_manager.go b/github/resource_github_organization_security_manager.go index debb5e57a3..ed39728975 100644 --- a/github/resource_github_organization_security_manager.go +++ b/github/resource_github_organization_security_manager.go @@ -6,7 +6,7 @@ import ( "net/http" "strconv" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_organization_settings.go b/github/resource_github_organization_settings.go index e2098d57ba..db7d62a6da 100644 --- a/github/resource_github_organization_settings.go +++ b/github/resource_github_organization_settings.go @@ -5,7 +5,7 @@ import ( "log" "strconv" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" ) diff --git a/github/resource_github_organization_webhook.go b/github/resource_github_organization_webhook.go index 526cf52203..55b6cc61a3 100644 --- a/github/resource_github_organization_webhook.go +++ b/github/resource_github_organization_webhook.go @@ -6,7 +6,7 @@ import ( "net/http" "strconv" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_project_card.go b/github/resource_github_project_card.go index 51f097b8ad..95f2552516 100644 --- a/github/resource_github_project_card.go +++ b/github/resource_github_project_card.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_project_column.go b/github/resource_github_project_column.go index 01c0c1a520..72bf1c986f 100644 --- a/github/resource_github_project_column.go +++ b/github/resource_github_project_column.go @@ -7,7 +7,7 @@ import ( "strconv" "strings" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_project_column_test.go b/github/resource_github_project_column_test.go index 20e16fb38b..adcaceef4b 100644 --- a/github/resource_github_project_column_test.go +++ b/github/resource_github_project_column_test.go @@ -6,7 +6,7 @@ import ( "strconv" "testing" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" ) diff --git a/github/resource_github_release.go b/github/resource_github_release.go index 319a193aef..d5f01f19c3 100644 --- a/github/resource_github_release.go +++ b/github/resource_github_release.go @@ -7,7 +7,7 @@ import ( "net/http" "strconv" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_repository.go b/github/resource_github_repository.go index eb3588450f..9afbdd8960 100644 --- a/github/resource_github_repository.go +++ b/github/resource_github_repository.go @@ -9,7 +9,7 @@ import ( "regexp" "strings" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" ) diff --git a/github/resource_github_repository_autolink_reference.go b/github/resource_github_repository_autolink_reference.go index 809a8104a3..27e12a036a 100644 --- a/github/resource_github_repository_autolink_reference.go +++ b/github/resource_github_repository_autolink_reference.go @@ -9,7 +9,7 @@ import ( "strconv" "strings" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" ) diff --git a/github/resource_github_repository_collaborator.go b/github/resource_github_repository_collaborator.go index 48282730bb..096b514e64 100644 --- a/github/resource_github_repository_collaborator.go +++ b/github/resource_github_repository_collaborator.go @@ -7,7 +7,7 @@ import ( "net/http" "strings" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_repository_collaborators.go b/github/resource_github_repository_collaborators.go index c2d484c45d..bf05cdddca 100644 --- a/github/resource_github_repository_collaborators.go +++ b/github/resource_github_repository_collaborators.go @@ -7,7 +7,7 @@ import ( "sort" "strconv" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/customdiff" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_repository_collaborators_test.go b/github/resource_github_repository_collaborators_test.go index c7e14cbfcd..3484ead3a6 100644 --- a/github/resource_github_repository_collaborators_test.go +++ b/github/resource_github_repository_collaborators_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" diff --git a/github/resource_github_repository_deploy_key.go b/github/resource_github_repository_deploy_key.go index 66e5784b31..ef21272319 100644 --- a/github/resource_github_repository_deploy_key.go +++ b/github/resource_github_repository_deploy_key.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_repository_deployment_branch_policy.go b/github/resource_github_repository_deployment_branch_policy.go index b0c5787f32..1c504e18f1 100644 --- a/github/resource_github_repository_deployment_branch_policy.go +++ b/github/resource_github_repository_deployment_branch_policy.go @@ -6,7 +6,7 @@ import ( "net/http" "strconv" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_repository_environment.go b/github/resource_github_repository_environment.go index 83a0f7d739..ff5cd5a892 100644 --- a/github/resource_github_repository_environment.go +++ b/github/resource_github_repository_environment.go @@ -6,7 +6,7 @@ import ( "net/http" "net/url" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" ) diff --git a/github/resource_github_repository_environment_deployment_policy.go b/github/resource_github_repository_environment_deployment_policy.go index 1b3f97ad1b..598ecdbf2a 100644 --- a/github/resource_github_repository_environment_deployment_policy.go +++ b/github/resource_github_repository_environment_deployment_policy.go @@ -7,7 +7,7 @@ import ( "net/url" "strconv" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_repository_file.go b/github/resource_github_repository_file.go index 5e5bd1318f..4892cf73ac 100644 --- a/github/resource_github_repository_file.go +++ b/github/resource_github_repository_file.go @@ -10,7 +10,7 @@ import ( "fmt" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_repository_milestone.go b/github/resource_github_repository_milestone.go index fd2fc19fc1..f8c0b6184a 100644 --- a/github/resource_github_repository_milestone.go +++ b/github/resource_github_repository_milestone.go @@ -9,7 +9,7 @@ import ( "strings" "time" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" ) diff --git a/github/resource_github_repository_project.go b/github/resource_github_repository_project.go index 7fc7a17c8a..2c1d09d3cf 100644 --- a/github/resource_github_repository_project.go +++ b/github/resource_github_repository_project.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_repository_pull_request.go b/github/resource_github_repository_pull_request.go index c0ab9f6568..249cd5d3e4 100644 --- a/github/resource_github_repository_pull_request.go +++ b/github/resource_github_repository_pull_request.go @@ -7,7 +7,7 @@ import ( "strconv" "strings" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_repository_ruleset.go b/github/resource_github_repository_ruleset.go index 3a4c1eb868..2eb1270614 100644 --- a/github/resource_github_repository_ruleset.go +++ b/github/resource_github_repository_ruleset.go @@ -7,7 +7,7 @@ import ( "net/http" "strconv" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" ) diff --git a/github/resource_github_repository_tag_protection.go b/github/resource_github_repository_tag_protection.go index 5cf3c929e3..de0bf2aeeb 100644 --- a/github/resource_github_repository_tag_protection.go +++ b/github/resource_github_repository_tag_protection.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_repository_topics.go b/github/resource_github_repository_topics.go index d458bf6e8c..41708ac5da 100644 --- a/github/resource_github_repository_topics.go +++ b/github/resource_github_repository_topics.go @@ -6,7 +6,7 @@ import ( "net/http" "regexp" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" ) diff --git a/github/resource_github_repository_webhook.go b/github/resource_github_repository_webhook.go index f2759a7cd4..c0eba0d176 100644 --- a/github/resource_github_repository_webhook.go +++ b/github/resource_github_repository_webhook.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_team.go b/github/resource_github_team.go index 3315164465..9943e1c34c 100644 --- a/github/resource_github_team.go +++ b/github/resource_github_team.go @@ -6,7 +6,7 @@ import ( "net/http" "strconv" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/customdiff" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/shurcooL/githubv4" diff --git a/github/resource_github_team_members.go b/github/resource_github_team_members.go index a1e55b20f7..290b2b3d79 100644 --- a/github/resource_github_team_members.go +++ b/github/resource_github_team_members.go @@ -7,7 +7,7 @@ import ( "strconv" "strings" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/shurcooL/githubv4" ) diff --git a/github/resource_github_team_members_test.go b/github/resource_github_team_members_test.go index d30d4b763b..0fbba16f99 100644 --- a/github/resource_github_team_members_test.go +++ b/github/resource_github_team_members_test.go @@ -6,7 +6,7 @@ import ( "strconv" "testing" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" diff --git a/github/resource_github_team_membership.go b/github/resource_github_team_membership.go index ea0c2ab7de..a3d953ca83 100644 --- a/github/resource_github_team_membership.go +++ b/github/resource_github_team_membership.go @@ -6,7 +6,7 @@ import ( "net/http" "strconv" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_team_membership_test.go b/github/resource_github_team_membership_test.go index 9d9c16e878..d0594e1663 100644 --- a/github/resource_github_team_membership_test.go +++ b/github/resource_github_team_membership_test.go @@ -7,7 +7,7 @@ import ( "strconv" "testing" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" diff --git a/github/resource_github_team_repository.go b/github/resource_github_team_repository.go index 4765b78470..adac093d3c 100644 --- a/github/resource_github_team_repository.go +++ b/github/resource_github_team_repository.go @@ -6,7 +6,7 @@ import ( "net/http" "strconv" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_team_sync_group_mapping.go b/github/resource_github_team_sync_group_mapping.go index 335d31691c..e52b886cb6 100644 --- a/github/resource_github_team_sync_group_mapping.go +++ b/github/resource_github_team_sync_group_mapping.go @@ -6,7 +6,7 @@ import ( "log" "net/http" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_team_sync_group_mapping_test.go b/github/resource_github_team_sync_group_mapping_test.go index 1bf9b98694..b460757576 100644 --- a/github/resource_github_team_sync_group_mapping_test.go +++ b/github/resource_github_team_sync_group_mapping_test.go @@ -5,7 +5,7 @@ import ( "fmt" "testing" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" diff --git a/github/resource_github_user_gpg_key.go b/github/resource_github_user_gpg_key.go index 0fe54497c5..f44041dd1c 100644 --- a/github/resource_github_user_gpg_key.go +++ b/github/resource_github_user_gpg_key.go @@ -6,7 +6,7 @@ import ( "net/http" "strconv" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_github_user_ssh_key.go b/github/resource_github_user_ssh_key.go index 6fc21abfa5..62bbf37dba 100644 --- a/github/resource_github_user_ssh_key.go +++ b/github/resource_github_user_ssh_key.go @@ -7,7 +7,7 @@ import ( "strconv" "strings" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/resource_organization_block.go b/github/resource_organization_block.go index ba8c15a5d6..a22b2d020b 100644 --- a/github/resource_organization_block.go +++ b/github/resource_organization_block.go @@ -5,7 +5,7 @@ import ( "log" "net/http" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/respository_rules_utils.go b/github/respository_rules_utils.go index 12cc24778b..7a42c6feb8 100644 --- a/github/respository_rules_utils.go +++ b/github/respository_rules_utils.go @@ -6,7 +6,7 @@ import ( "reflect" "sort" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) diff --git a/github/transport.go b/github/transport.go index eab3bbe45a..94096f8e31 100644 --- a/github/transport.go +++ b/github/transport.go @@ -8,7 +8,7 @@ import ( "sync" "time" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" ) const ( diff --git a/github/transport_test.go b/github/transport_test.go index f2e127d36b..b8741a5132 100644 --- a/github/transport_test.go +++ b/github/transport_test.go @@ -11,7 +11,7 @@ import ( "testing" "time" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" ) func TestEtagTransport(t *testing.T) { diff --git a/github/util.go b/github/util.go index 8ed689d5ec..df879255d2 100644 --- a/github/util.go +++ b/github/util.go @@ -12,7 +12,7 @@ import ( "strconv" "strings" - "github.com/google/go-github/v63/github" + "github.com/google/go-github/v65/github" "github.com/hashicorp/go-cty/cty" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" diff --git a/go.mod b/go.mod index c626c5d9d3..cad7c78b36 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ require ( github.com/client9/misspell v0.3.4 github.com/go-jose/go-jose/v3 v3.0.3 github.com/golangci/golangci-lint v1.59.1 - github.com/google/go-github/v63 v63.0.0 + github.com/google/go-github/v65 v65.0.0 github.com/google/uuid v1.6.0 github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 github.com/hashicorp/terraform-plugin-sdk/v2 v2.34.0 diff --git a/go.sum b/go.sum index 33bd14b0c0..846603e138 100644 --- a/go.sum +++ b/go.sum @@ -290,8 +290,8 @@ github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeN github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-github/v63 v63.0.0 h1:13xwK/wk9alSokujB9lJkuzdmQuVn2QCPeck76wR3nE= -github.com/google/go-github/v63 v63.0.0/go.mod h1:IqbcrgUmIcEaioWrGYei/09o+ge5vhffGOcxrO0AfmA= +github.com/google/go-github/v65 v65.0.0 h1:pQ7BmO3DZivvFk92geC0jB0q2m3gyn8vnYPgV7GSLhQ= +github.com/google/go-github/v65 v65.0.0/go.mod h1:DvrqWo5hvsdhJvHd4WyVF9ttANN3BniqjP8uTFMNb60= github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8= github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= diff --git a/vendor/github.com/google/go-github/v63/github/orgs_personal_access_tokens.go b/vendor/github.com/google/go-github/v63/github/orgs_personal_access_tokens.go deleted file mode 100644 index 0d786114f8..0000000000 --- a/vendor/github.com/google/go-github/v63/github/orgs_personal_access_tokens.go +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2023 The go-github AUTHORS. All rights reserved. -// -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package github - -import ( - "context" - "fmt" - "net/http" -) - -// ReviewPersonalAccessTokenRequestOptions specifies the parameters to the ReviewPersonalAccessTokenRequest method. -type ReviewPersonalAccessTokenRequestOptions struct { - Action string `json:"action"` - Reason *string `json:"reason,omitempty"` -} - -// ReviewPersonalAccessTokenRequest approves or denies a pending request to access organization resources via a fine-grained personal access token. -// Only GitHub Apps can call this API, using the `organization_personal_access_token_requests: write` permission. -// `action` can be one of `approve` or `deny`. -// -// GitHub API docs: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token -// -//meta:operation POST /orgs/{org}/personal-access-token-requests/{pat_request_id} -func (s *OrganizationsService) ReviewPersonalAccessTokenRequest(ctx context.Context, org string, requestID int64, opts ReviewPersonalAccessTokenRequestOptions) (*Response, error) { - u := fmt.Sprintf("orgs/%v/personal-access-token-requests/%v", org, requestID) - - req, err := s.client.NewRequest(http.MethodPost, u, &opts) - if err != nil { - return nil, err - } - - return s.client.Do(ctx, req, nil) -} diff --git a/vendor/github.com/google/go-github/v63/AUTHORS b/vendor/github.com/google/go-github/v65/AUTHORS similarity index 99% rename from vendor/github.com/google/go-github/v63/AUTHORS rename to vendor/github.com/google/go-github/v65/AUTHORS index 0197b94a23..075ba8dfa3 100644 --- a/vendor/github.com/google/go-github/v63/AUTHORS +++ b/vendor/github.com/google/go-github/v65/AUTHORS @@ -431,6 +431,7 @@ Steve Teuber Stian Eikeland Suhaib Mujahid sushmita wable +Sven Palberg Szymon Kodrebski Søren Hansen T.J. Corrigan diff --git a/vendor/github.com/google/go-github/v63/LICENSE b/vendor/github.com/google/go-github/v65/LICENSE similarity index 100% rename from vendor/github.com/google/go-github/v63/LICENSE rename to vendor/github.com/google/go-github/v65/LICENSE diff --git a/vendor/github.com/google/go-github/v63/github/actions.go b/vendor/github.com/google/go-github/v65/github/actions.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/actions.go rename to vendor/github.com/google/go-github/v65/github/actions.go diff --git a/vendor/github.com/google/go-github/v63/github/actions_artifacts.go b/vendor/github.com/google/go-github/v65/github/actions_artifacts.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/actions_artifacts.go rename to vendor/github.com/google/go-github/v65/github/actions_artifacts.go diff --git a/vendor/github.com/google/go-github/v63/github/actions_cache.go b/vendor/github.com/google/go-github/v65/github/actions_cache.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/actions_cache.go rename to vendor/github.com/google/go-github/v65/github/actions_cache.go diff --git a/vendor/github.com/google/go-github/v63/github/actions_oidc.go b/vendor/github.com/google/go-github/v65/github/actions_oidc.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/actions_oidc.go rename to vendor/github.com/google/go-github/v65/github/actions_oidc.go diff --git a/vendor/github.com/google/go-github/v63/github/actions_permissions_enterprise.go b/vendor/github.com/google/go-github/v65/github/actions_permissions_enterprise.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/actions_permissions_enterprise.go rename to vendor/github.com/google/go-github/v65/github/actions_permissions_enterprise.go diff --git a/vendor/github.com/google/go-github/v63/github/actions_permissions_orgs.go b/vendor/github.com/google/go-github/v65/github/actions_permissions_orgs.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/actions_permissions_orgs.go rename to vendor/github.com/google/go-github/v65/github/actions_permissions_orgs.go diff --git a/vendor/github.com/google/go-github/v63/github/actions_required_workflows.go b/vendor/github.com/google/go-github/v65/github/actions_required_workflows.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/actions_required_workflows.go rename to vendor/github.com/google/go-github/v65/github/actions_required_workflows.go diff --git a/vendor/github.com/google/go-github/v63/github/actions_runner_groups.go b/vendor/github.com/google/go-github/v65/github/actions_runner_groups.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/actions_runner_groups.go rename to vendor/github.com/google/go-github/v65/github/actions_runner_groups.go diff --git a/vendor/github.com/google/go-github/v63/github/actions_runners.go b/vendor/github.com/google/go-github/v65/github/actions_runners.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/actions_runners.go rename to vendor/github.com/google/go-github/v65/github/actions_runners.go diff --git a/vendor/github.com/google/go-github/v63/github/actions_secrets.go b/vendor/github.com/google/go-github/v65/github/actions_secrets.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/actions_secrets.go rename to vendor/github.com/google/go-github/v65/github/actions_secrets.go diff --git a/vendor/github.com/google/go-github/v63/github/actions_variables.go b/vendor/github.com/google/go-github/v65/github/actions_variables.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/actions_variables.go rename to vendor/github.com/google/go-github/v65/github/actions_variables.go diff --git a/vendor/github.com/google/go-github/v63/github/actions_workflow_jobs.go b/vendor/github.com/google/go-github/v65/github/actions_workflow_jobs.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/actions_workflow_jobs.go rename to vendor/github.com/google/go-github/v65/github/actions_workflow_jobs.go diff --git a/vendor/github.com/google/go-github/v63/github/actions_workflow_runs.go b/vendor/github.com/google/go-github/v65/github/actions_workflow_runs.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/actions_workflow_runs.go rename to vendor/github.com/google/go-github/v65/github/actions_workflow_runs.go diff --git a/vendor/github.com/google/go-github/v63/github/actions_workflows.go b/vendor/github.com/google/go-github/v65/github/actions_workflows.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/actions_workflows.go rename to vendor/github.com/google/go-github/v65/github/actions_workflows.go diff --git a/vendor/github.com/google/go-github/v63/github/activity.go b/vendor/github.com/google/go-github/v65/github/activity.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/activity.go rename to vendor/github.com/google/go-github/v65/github/activity.go diff --git a/vendor/github.com/google/go-github/v63/github/activity_events.go b/vendor/github.com/google/go-github/v65/github/activity_events.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/activity_events.go rename to vendor/github.com/google/go-github/v65/github/activity_events.go diff --git a/vendor/github.com/google/go-github/v63/github/activity_notifications.go b/vendor/github.com/google/go-github/v65/github/activity_notifications.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/activity_notifications.go rename to vendor/github.com/google/go-github/v65/github/activity_notifications.go diff --git a/vendor/github.com/google/go-github/v63/github/activity_star.go b/vendor/github.com/google/go-github/v65/github/activity_star.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/activity_star.go rename to vendor/github.com/google/go-github/v65/github/activity_star.go diff --git a/vendor/github.com/google/go-github/v63/github/activity_watching.go b/vendor/github.com/google/go-github/v65/github/activity_watching.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/activity_watching.go rename to vendor/github.com/google/go-github/v65/github/activity_watching.go diff --git a/vendor/github.com/google/go-github/v63/github/admin.go b/vendor/github.com/google/go-github/v65/github/admin.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/admin.go rename to vendor/github.com/google/go-github/v65/github/admin.go diff --git a/vendor/github.com/google/go-github/v63/github/admin_orgs.go b/vendor/github.com/google/go-github/v65/github/admin_orgs.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/admin_orgs.go rename to vendor/github.com/google/go-github/v65/github/admin_orgs.go diff --git a/vendor/github.com/google/go-github/v63/github/admin_stats.go b/vendor/github.com/google/go-github/v65/github/admin_stats.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/admin_stats.go rename to vendor/github.com/google/go-github/v65/github/admin_stats.go diff --git a/vendor/github.com/google/go-github/v63/github/admin_users.go b/vendor/github.com/google/go-github/v65/github/admin_users.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/admin_users.go rename to vendor/github.com/google/go-github/v65/github/admin_users.go diff --git a/vendor/github.com/google/go-github/v63/github/apps.go b/vendor/github.com/google/go-github/v65/github/apps.go similarity index 82% rename from vendor/github.com/google/go-github/v63/github/apps.go rename to vendor/github.com/google/go-github/v65/github/apps.go index 16ef758cbd..2f74c2c263 100644 --- a/vendor/github.com/google/go-github/v63/github/apps.go +++ b/vendor/github.com/google/go-github/v65/github/apps.go @@ -77,46 +77,48 @@ type InstallationTokenListRepoOptions struct { // https://docs.github.com/enterprise-server@3.0/rest/apps#create-an-installation-access-token-for-an-app // https://docs.github.com/rest/apps#create-an-installation-access-token-for-an-app type InstallationPermissions struct { - Actions *string `json:"actions,omitempty"` - ActionsVariables *string `json:"actions_variables,omitempty"` - Administration *string `json:"administration,omitempty"` - Blocking *string `json:"blocking,omitempty"` - Checks *string `json:"checks,omitempty"` - Contents *string `json:"contents,omitempty"` - ContentReferences *string `json:"content_references,omitempty"` - Deployments *string `json:"deployments,omitempty"` - Emails *string `json:"emails,omitempty"` - Environments *string `json:"environments,omitempty"` - Followers *string `json:"followers,omitempty"` - Issues *string `json:"issues,omitempty"` - Metadata *string `json:"metadata,omitempty"` - Members *string `json:"members,omitempty"` - OrganizationAdministration *string `json:"organization_administration,omitempty"` - OrganizationCustomProperties *string `json:"organization_custom_properties,omitempty"` - OrganizationCustomRoles *string `json:"organization_custom_roles,omitempty"` - OrganizationCustomOrgRoles *string `json:"organization_custom_org_roles,omitempty"` - OrganizationHooks *string `json:"organization_hooks,omitempty"` - OrganizationPackages *string `json:"organization_packages,omitempty"` - OrganizationPlan *string `json:"organization_plan,omitempty"` - OrganizationPreReceiveHooks *string `json:"organization_pre_receive_hooks,omitempty"` - OrganizationProjects *string `json:"organization_projects,omitempty"` - OrganizationSecrets *string `json:"organization_secrets,omitempty"` - OrganizationSelfHostedRunners *string `json:"organization_self_hosted_runners,omitempty"` - OrganizationUserBlocking *string `json:"organization_user_blocking,omitempty"` - Packages *string `json:"packages,omitempty"` - Pages *string `json:"pages,omitempty"` - PullRequests *string `json:"pull_requests,omitempty"` - RepositoryHooks *string `json:"repository_hooks,omitempty"` - RepositoryProjects *string `json:"repository_projects,omitempty"` - RepositoryPreReceiveHooks *string `json:"repository_pre_receive_hooks,omitempty"` - Secrets *string `json:"secrets,omitempty"` - SecretScanningAlerts *string `json:"secret_scanning_alerts,omitempty"` - SecurityEvents *string `json:"security_events,omitempty"` - SingleFile *string `json:"single_file,omitempty"` - Statuses *string `json:"statuses,omitempty"` - TeamDiscussions *string `json:"team_discussions,omitempty"` - VulnerabilityAlerts *string `json:"vulnerability_alerts,omitempty"` - Workflows *string `json:"workflows,omitempty"` + Actions *string `json:"actions,omitempty"` + ActionsVariables *string `json:"actions_variables,omitempty"` + Administration *string `json:"administration,omitempty"` + Blocking *string `json:"blocking,omitempty"` + Checks *string `json:"checks,omitempty"` + Contents *string `json:"contents,omitempty"` + ContentReferences *string `json:"content_references,omitempty"` + Deployments *string `json:"deployments,omitempty"` + Emails *string `json:"emails,omitempty"` + Environments *string `json:"environments,omitempty"` + Followers *string `json:"followers,omitempty"` + Issues *string `json:"issues,omitempty"` + Metadata *string `json:"metadata,omitempty"` + Members *string `json:"members,omitempty"` + OrganizationAdministration *string `json:"organization_administration,omitempty"` + OrganizationCustomProperties *string `json:"organization_custom_properties,omitempty"` + OrganizationCustomRoles *string `json:"organization_custom_roles,omitempty"` + OrganizationCustomOrgRoles *string `json:"organization_custom_org_roles,omitempty"` + OrganizationHooks *string `json:"organization_hooks,omitempty"` + OrganizationPackages *string `json:"organization_packages,omitempty"` + OrganizationPersonalAccessTokens *string `json:"organization_personal_access_tokens,omitempty"` + OrganizationPersonalAccessTokenRequests *string `json:"organization_personal_access_token_requests,omitempty"` + OrganizationPlan *string `json:"organization_plan,omitempty"` + OrganizationPreReceiveHooks *string `json:"organization_pre_receive_hooks,omitempty"` + OrganizationProjects *string `json:"organization_projects,omitempty"` + OrganizationSecrets *string `json:"organization_secrets,omitempty"` + OrganizationSelfHostedRunners *string `json:"organization_self_hosted_runners,omitempty"` + OrganizationUserBlocking *string `json:"organization_user_blocking,omitempty"` + Packages *string `json:"packages,omitempty"` + Pages *string `json:"pages,omitempty"` + PullRequests *string `json:"pull_requests,omitempty"` + RepositoryHooks *string `json:"repository_hooks,omitempty"` + RepositoryProjects *string `json:"repository_projects,omitempty"` + RepositoryPreReceiveHooks *string `json:"repository_pre_receive_hooks,omitempty"` + Secrets *string `json:"secrets,omitempty"` + SecretScanningAlerts *string `json:"secret_scanning_alerts,omitempty"` + SecurityEvents *string `json:"security_events,omitempty"` + SingleFile *string `json:"single_file,omitempty"` + Statuses *string `json:"statuses,omitempty"` + TeamDiscussions *string `json:"team_discussions,omitempty"` + VulnerabilityAlerts *string `json:"vulnerability_alerts,omitempty"` + Workflows *string `json:"workflows,omitempty"` } // InstallationRequest represents a pending GitHub App installation request. diff --git a/vendor/github.com/google/go-github/v63/github/apps_hooks.go b/vendor/github.com/google/go-github/v65/github/apps_hooks.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/apps_hooks.go rename to vendor/github.com/google/go-github/v65/github/apps_hooks.go diff --git a/vendor/github.com/google/go-github/v63/github/apps_hooks_deliveries.go b/vendor/github.com/google/go-github/v65/github/apps_hooks_deliveries.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/apps_hooks_deliveries.go rename to vendor/github.com/google/go-github/v65/github/apps_hooks_deliveries.go diff --git a/vendor/github.com/google/go-github/v63/github/apps_installation.go b/vendor/github.com/google/go-github/v65/github/apps_installation.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/apps_installation.go rename to vendor/github.com/google/go-github/v65/github/apps_installation.go diff --git a/vendor/github.com/google/go-github/v63/github/apps_manifest.go b/vendor/github.com/google/go-github/v65/github/apps_manifest.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/apps_manifest.go rename to vendor/github.com/google/go-github/v65/github/apps_manifest.go diff --git a/vendor/github.com/google/go-github/v63/github/apps_marketplace.go b/vendor/github.com/google/go-github/v65/github/apps_marketplace.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/apps_marketplace.go rename to vendor/github.com/google/go-github/v65/github/apps_marketplace.go diff --git a/vendor/github.com/google/go-github/v63/github/authorizations.go b/vendor/github.com/google/go-github/v65/github/authorizations.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/authorizations.go rename to vendor/github.com/google/go-github/v65/github/authorizations.go diff --git a/vendor/github.com/google/go-github/v63/github/billing.go b/vendor/github.com/google/go-github/v65/github/billing.go similarity index 93% rename from vendor/github.com/google/go-github/v63/github/billing.go rename to vendor/github.com/google/go-github/v65/github/billing.go index 6d7579b884..09b1a5d017 100644 --- a/vendor/github.com/google/go-github/v63/github/billing.go +++ b/vendor/github.com/google/go-github/v65/github/billing.go @@ -43,8 +43,11 @@ type StorageBilling struct { // ActiveCommitters represents the total active committers across all repositories in an Organization. type ActiveCommitters struct { - TotalAdvancedSecurityCommitters int `json:"total_advanced_security_committers"` - Repositories []*RepositoryActiveCommitters `json:"repositories,omitempty"` + TotalAdvancedSecurityCommitters int `json:"total_advanced_security_committers"` + TotalCount int `json:"total_count"` + MaximumAdvancedSecurityCommitters int `json:"maximum_advanced_security_committers"` + PurchasedAdvancedSecurityCommitters int `json:"purchased_advanced_security_committers"` + Repositories []*RepositoryActiveCommitters `json:"repositories,omitempty"` } // RepositoryActiveCommitters represents active committers on each repository. diff --git a/vendor/github.com/google/go-github/v63/github/checks.go b/vendor/github.com/google/go-github/v65/github/checks.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/checks.go rename to vendor/github.com/google/go-github/v65/github/checks.go diff --git a/vendor/github.com/google/go-github/v63/github/code-scanning.go b/vendor/github.com/google/go-github/v65/github/code-scanning.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/code-scanning.go rename to vendor/github.com/google/go-github/v65/github/code-scanning.go diff --git a/vendor/github.com/google/go-github/v63/github/codesofconduct.go b/vendor/github.com/google/go-github/v65/github/codesofconduct.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/codesofconduct.go rename to vendor/github.com/google/go-github/v65/github/codesofconduct.go diff --git a/vendor/github.com/google/go-github/v63/github/codespaces.go b/vendor/github.com/google/go-github/v65/github/codespaces.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/codespaces.go rename to vendor/github.com/google/go-github/v65/github/codespaces.go diff --git a/vendor/github.com/google/go-github/v63/github/codespaces_secrets.go b/vendor/github.com/google/go-github/v65/github/codespaces_secrets.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/codespaces_secrets.go rename to vendor/github.com/google/go-github/v65/github/codespaces_secrets.go diff --git a/vendor/github.com/google/go-github/v63/github/copilot.go b/vendor/github.com/google/go-github/v65/github/copilot.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/copilot.go rename to vendor/github.com/google/go-github/v65/github/copilot.go diff --git a/vendor/github.com/google/go-github/v63/github/dependabot.go b/vendor/github.com/google/go-github/v65/github/dependabot.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/dependabot.go rename to vendor/github.com/google/go-github/v65/github/dependabot.go diff --git a/vendor/github.com/google/go-github/v63/github/dependabot_alerts.go b/vendor/github.com/google/go-github/v65/github/dependabot_alerts.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/dependabot_alerts.go rename to vendor/github.com/google/go-github/v65/github/dependabot_alerts.go diff --git a/vendor/github.com/google/go-github/v63/github/dependabot_secrets.go b/vendor/github.com/google/go-github/v65/github/dependabot_secrets.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/dependabot_secrets.go rename to vendor/github.com/google/go-github/v65/github/dependabot_secrets.go diff --git a/vendor/github.com/google/go-github/v63/github/dependency_graph.go b/vendor/github.com/google/go-github/v65/github/dependency_graph.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/dependency_graph.go rename to vendor/github.com/google/go-github/v65/github/dependency_graph.go diff --git a/vendor/github.com/google/go-github/v63/github/dependency_graph_snapshots.go b/vendor/github.com/google/go-github/v65/github/dependency_graph_snapshots.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/dependency_graph_snapshots.go rename to vendor/github.com/google/go-github/v65/github/dependency_graph_snapshots.go diff --git a/vendor/github.com/google/go-github/v63/github/doc.go b/vendor/github.com/google/go-github/v65/github/doc.go similarity index 99% rename from vendor/github.com/google/go-github/v63/github/doc.go rename to vendor/github.com/google/go-github/v65/github/doc.go index 1781a6a4af..f98f84ef20 100644 --- a/vendor/github.com/google/go-github/v63/github/doc.go +++ b/vendor/github.com/google/go-github/v65/github/doc.go @@ -8,7 +8,7 @@ Package github provides a client for using the GitHub API. Usage: - import "github.com/google/go-github/v63/github" // with go modules enabled (GO111MODULE=on or outside GOPATH) + import "github.com/google/go-github/v65/github" // with go modules enabled (GO111MODULE=on or outside GOPATH) import "github.com/google/go-github/github" // with go modules disabled Construct a new GitHub client, then use the various services on the client to diff --git a/vendor/github.com/google/go-github/v63/github/emojis.go b/vendor/github.com/google/go-github/v65/github/emojis.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/emojis.go rename to vendor/github.com/google/go-github/v65/github/emojis.go diff --git a/vendor/github.com/google/go-github/v63/github/enterprise.go b/vendor/github.com/google/go-github/v65/github/enterprise.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/enterprise.go rename to vendor/github.com/google/go-github/v65/github/enterprise.go diff --git a/vendor/github.com/google/go-github/v63/github/enterprise_actions_runner_groups.go b/vendor/github.com/google/go-github/v65/github/enterprise_actions_runner_groups.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/enterprise_actions_runner_groups.go rename to vendor/github.com/google/go-github/v65/github/enterprise_actions_runner_groups.go diff --git a/vendor/github.com/google/go-github/v63/github/enterprise_actions_runners.go b/vendor/github.com/google/go-github/v65/github/enterprise_actions_runners.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/enterprise_actions_runners.go rename to vendor/github.com/google/go-github/v65/github/enterprise_actions_runners.go diff --git a/vendor/github.com/google/go-github/v63/github/enterprise_audit_log.go b/vendor/github.com/google/go-github/v65/github/enterprise_audit_log.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/enterprise_audit_log.go rename to vendor/github.com/google/go-github/v65/github/enterprise_audit_log.go diff --git a/vendor/github.com/google/go-github/v63/github/enterprise_code_security_and_analysis.go b/vendor/github.com/google/go-github/v65/github/enterprise_code_security_and_analysis.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/enterprise_code_security_and_analysis.go rename to vendor/github.com/google/go-github/v65/github/enterprise_code_security_and_analysis.go diff --git a/vendor/github.com/google/go-github/v63/github/event.go b/vendor/github.com/google/go-github/v65/github/event.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/event.go rename to vendor/github.com/google/go-github/v65/github/event.go diff --git a/vendor/github.com/google/go-github/v63/github/event_types.go b/vendor/github.com/google/go-github/v65/github/event_types.go similarity index 95% rename from vendor/github.com/google/go-github/v63/github/event_types.go rename to vendor/github.com/google/go-github/v65/github/event_types.go index e5ae33a5fa..41d71f8ddf 100644 --- a/vendor/github.com/google/go-github/v63/github/event_types.go +++ b/vendor/github.com/google/go-github/v65/github/event_types.go @@ -1348,44 +1348,44 @@ func (h HeadCommit) String() string { // PushEventRepository represents the repo object in a PushEvent payload. type PushEventRepository struct { - ID *int64 `json:"id,omitempty"` - NodeID *string `json:"node_id,omitempty"` - Name *string `json:"name,omitempty"` - FullName *string `json:"full_name,omitempty"` - Owner *User `json:"owner,omitempty"` - Private *bool `json:"private,omitempty"` - Description *string `json:"description,omitempty"` - Fork *bool `json:"fork,omitempty"` - CreatedAt *Timestamp `json:"created_at,omitempty"` - PushedAt *Timestamp `json:"pushed_at,omitempty"` - UpdatedAt *Timestamp `json:"updated_at,omitempty"` - Homepage *string `json:"homepage,omitempty"` - PullsURL *string `json:"pulls_url,omitempty"` - Size *int `json:"size,omitempty"` - StargazersCount *int `json:"stargazers_count,omitempty"` - WatchersCount *int `json:"watchers_count,omitempty"` - Language *string `json:"language,omitempty"` - HasIssues *bool `json:"has_issues,omitempty"` - HasDownloads *bool `json:"has_downloads,omitempty"` - HasWiki *bool `json:"has_wiki,omitempty"` - HasPages *bool `json:"has_pages,omitempty"` - ForksCount *int `json:"forks_count,omitempty"` - Archived *bool `json:"archived,omitempty"` - Disabled *bool `json:"disabled,omitempty"` - OpenIssuesCount *int `json:"open_issues_count,omitempty"` - DefaultBranch *string `json:"default_branch,omitempty"` - MasterBranch *string `json:"master_branch,omitempty"` - Organization *string `json:"organization,omitempty"` - URL *string `json:"url,omitempty"` - ArchiveURL *string `json:"archive_url,omitempty"` - HTMLURL *string `json:"html_url,omitempty"` - StatusesURL *string `json:"statuses_url,omitempty"` - GitURL *string `json:"git_url,omitempty"` - SSHURL *string `json:"ssh_url,omitempty"` - CloneURL *string `json:"clone_url,omitempty"` - SVNURL *string `json:"svn_url,omitempty"` - Topics []string `json:"topics,omitempty"` - CustomProperties map[string]string `json:"custom_properties,omitempty"` + ID *int64 `json:"id,omitempty"` + NodeID *string `json:"node_id,omitempty"` + Name *string `json:"name,omitempty"` + FullName *string `json:"full_name,omitempty"` + Owner *User `json:"owner,omitempty"` + Private *bool `json:"private,omitempty"` + Description *string `json:"description,omitempty"` + Fork *bool `json:"fork,omitempty"` + CreatedAt *Timestamp `json:"created_at,omitempty"` + PushedAt *Timestamp `json:"pushed_at,omitempty"` + UpdatedAt *Timestamp `json:"updated_at,omitempty"` + Homepage *string `json:"homepage,omitempty"` + PullsURL *string `json:"pulls_url,omitempty"` + Size *int `json:"size,omitempty"` + StargazersCount *int `json:"stargazers_count,omitempty"` + WatchersCount *int `json:"watchers_count,omitempty"` + Language *string `json:"language,omitempty"` + HasIssues *bool `json:"has_issues,omitempty"` + HasDownloads *bool `json:"has_downloads,omitempty"` + HasWiki *bool `json:"has_wiki,omitempty"` + HasPages *bool `json:"has_pages,omitempty"` + ForksCount *int `json:"forks_count,omitempty"` + Archived *bool `json:"archived,omitempty"` + Disabled *bool `json:"disabled,omitempty"` + OpenIssuesCount *int `json:"open_issues_count,omitempty"` + DefaultBranch *string `json:"default_branch,omitempty"` + MasterBranch *string `json:"master_branch,omitempty"` + Organization *string `json:"organization,omitempty"` + URL *string `json:"url,omitempty"` + ArchiveURL *string `json:"archive_url,omitempty"` + HTMLURL *string `json:"html_url,omitempty"` + StatusesURL *string `json:"statuses_url,omitempty"` + GitURL *string `json:"git_url,omitempty"` + SSHURL *string `json:"ssh_url,omitempty"` + CloneURL *string `json:"clone_url,omitempty"` + SVNURL *string `json:"svn_url,omitempty"` + Topics []string `json:"topics,omitempty"` + CustomProperties map[string]interface{} `json:"custom_properties,omitempty"` } // PushEventRepoOwner is a basic representation of user/org in a PushEvent payload. @@ -1821,3 +1821,27 @@ type CodeScanningAlertEvent struct { Installation *Installation `json:"installation,omitempty"` } + +// SponsorshipEvent represents a sponsorship event in GitHub. +// +// GitHub API docs: https://docs.github.com/en/rest/overview/github-event-types?apiVersion=2022-11-28#sponsorshipevent +type SponsorshipEvent struct { + Action *string `json:"action,omitempty"` + EffectiveDate *string `json:"effective_date,omitempty"` + Changes *SponsorshipChanges `json:"changes,omitempty"` + Repository *Repository `json:"repository,omitempty"` + Organization *Organization `json:"organization,omitempty"` + Sender *User `json:"sender,omitempty"` + Installation *Installation `json:"installation,omitempty"` +} + +// SponsorshipChanges represents changes made to the sponsorship. +type SponsorshipChanges struct { + Tier *SponsorshipTier `json:"tier,omitempty"` + PrivacyLevel *string `json:"privacy_level,omitempty"` +} + +// SponsorshipTier represents the tier information of a sponsorship. +type SponsorshipTier struct { + From *string `json:"from,omitempty"` +} diff --git a/vendor/github.com/google/go-github/v63/github/gists.go b/vendor/github.com/google/go-github/v65/github/gists.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/gists.go rename to vendor/github.com/google/go-github/v65/github/gists.go diff --git a/vendor/github.com/google/go-github/v63/github/gists_comments.go b/vendor/github.com/google/go-github/v65/github/gists_comments.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/gists_comments.go rename to vendor/github.com/google/go-github/v65/github/gists_comments.go diff --git a/vendor/github.com/google/go-github/v63/github/git.go b/vendor/github.com/google/go-github/v65/github/git.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/git.go rename to vendor/github.com/google/go-github/v65/github/git.go diff --git a/vendor/github.com/google/go-github/v63/github/git_blobs.go b/vendor/github.com/google/go-github/v65/github/git_blobs.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/git_blobs.go rename to vendor/github.com/google/go-github/v65/github/git_blobs.go diff --git a/vendor/github.com/google/go-github/v63/github/git_commits.go b/vendor/github.com/google/go-github/v65/github/git_commits.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/git_commits.go rename to vendor/github.com/google/go-github/v65/github/git_commits.go diff --git a/vendor/github.com/google/go-github/v63/github/git_refs.go b/vendor/github.com/google/go-github/v65/github/git_refs.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/git_refs.go rename to vendor/github.com/google/go-github/v65/github/git_refs.go diff --git a/vendor/github.com/google/go-github/v63/github/git_tags.go b/vendor/github.com/google/go-github/v65/github/git_tags.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/git_tags.go rename to vendor/github.com/google/go-github/v65/github/git_tags.go diff --git a/vendor/github.com/google/go-github/v63/github/git_trees.go b/vendor/github.com/google/go-github/v65/github/git_trees.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/git_trees.go rename to vendor/github.com/google/go-github/v65/github/git_trees.go diff --git a/vendor/github.com/google/go-github/v63/github/github-accessors.go b/vendor/github.com/google/go-github/v65/github/github-accessors.go similarity index 98% rename from vendor/github.com/google/go-github/v63/github/github-accessors.go rename to vendor/github.com/google/go-github/v65/github/github-accessors.go index 5118791cdd..1abbabd0b6 100644 --- a/vendor/github.com/google/go-github/v63/github/github-accessors.go +++ b/vendor/github.com/google/go-github/v65/github/github-accessors.go @@ -662,6 +662,14 @@ func (a *AnalysesListOptions) GetSarifID() string { return *a.SarifID } +// GetDomains returns the Domains field. +func (a *APIMeta) GetDomains() *APIMetaDomains { + if a == nil { + return nil + } + return a.Domains +} + // GetSSHKeyFingerprints returns the SSHKeyFingerprints map if it's non-nil, an empty map otherwise. func (a *APIMeta) GetSSHKeyFingerprints() map[string]string { if a == nil || a.SSHKeyFingerprints == nil { @@ -678,6 +686,14 @@ func (a *APIMeta) GetVerifiablePasswordAuthentication() bool { return *a.VerifiablePasswordAuthentication } +// GetArtifactAttestations returns the ArtifactAttestations field. +func (a *APIMetaDomains) GetArtifactAttestations() *APIMetaArtifactAttestations { + if a == nil { + return nil + } + return a.ArtifactAttestations +} + // GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. func (a *App) GetCreatedAt() Timestamp { if a == nil || a.CreatedAt == nil { @@ -4702,6 +4718,22 @@ func (c *CustomDeploymentProtectionRuleRequest) GetIntegrationID() int64 { return *c.IntegrationID } +// GetBaseRole returns the BaseRole field if it's non-nil, zero value otherwise. +func (c *CustomOrgRoles) GetBaseRole() string { + if c == nil || c.BaseRole == nil { + return "" + } + return *c.BaseRole +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (c *CustomOrgRoles) GetCreatedAt() Timestamp { + if c == nil || c.CreatedAt == nil { + return Timestamp{} + } + return *c.CreatedAt +} + // GetDescription returns the Description field if it's non-nil, zero value otherwise. func (c *CustomOrgRoles) GetDescription() string { if c == nil || c.Description == nil { @@ -4726,6 +4758,30 @@ func (c *CustomOrgRoles) GetName() string { return *c.Name } +// GetOrg returns the Org field. +func (c *CustomOrgRoles) GetOrg() *Organization { + if c == nil { + return nil + } + return c.Org +} + +// GetSource returns the Source field if it's non-nil, zero value otherwise. +func (c *CustomOrgRoles) GetSource() string { + if c == nil || c.Source == nil { + return "" + } + return *c.Source +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (c *CustomOrgRoles) GetUpdatedAt() Timestamp { + if c == nil || c.UpdatedAt == nil { + return Timestamp{} + } + return *c.UpdatedAt +} + // GetDefaultValue returns the DefaultValue field if it's non-nil, zero value otherwise. func (c *CustomProperty) GetDefaultValue() string { if c == nil || c.DefaultValue == nil { @@ -4766,14 +4822,6 @@ func (c *CustomProperty) GetValuesEditableBy() string { return *c.ValuesEditableBy } -// GetValue returns the Value field if it's non-nil, zero value otherwise. -func (c *CustomPropertyValue) GetValue() string { - if c == nil || c.Value == nil { - return "" - } - return *c.Value -} - // GetBaseRole returns the BaseRole field if it's non-nil, zero value otherwise. func (c *CustomRepoRoles) GetBaseRole() string { if c == nil || c.BaseRole == nil { @@ -4782,6 +4830,14 @@ func (c *CustomRepoRoles) GetBaseRole() string { return *c.BaseRole } +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (c *CustomRepoRoles) GetCreatedAt() Timestamp { + if c == nil || c.CreatedAt == nil { + return Timestamp{} + } + return *c.CreatedAt +} + // GetDescription returns the Description field if it's non-nil, zero value otherwise. func (c *CustomRepoRoles) GetDescription() string { if c == nil || c.Description == nil { @@ -4806,6 +4862,22 @@ func (c *CustomRepoRoles) GetName() string { return *c.Name } +// GetOrg returns the Org field. +func (c *CustomRepoRoles) GetOrg() *Organization { + if c == nil { + return nil + } + return c.Org +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (c *CustomRepoRoles) GetUpdatedAt() Timestamp { + if c == nil || c.UpdatedAt == nil { + return Timestamp{} + } + return *c.UpdatedAt +} + // GetQuerySuite returns the QuerySuite field if it's non-nil, zero value otherwise. func (d *DefaultSetupConfiguration) GetQuerySuite() string { if d == nil || d.QuerySuite == nil { @@ -6550,22 +6622,6 @@ func (d *DraftReviewComment) GetBody() string { return *d.Body } -// GetCommitID returns the CommitID field if it's non-nil, zero value otherwise. -func (d *DraftReviewComment) GetCommitID() string { - if d == nil || d.CommitID == nil { - return "" - } - return *d.CommitID -} - -// GetInReplyTo returns the InReplyTo field if it's non-nil, zero value otherwise. -func (d *DraftReviewComment) GetInReplyTo() int64 { - if d == nil || d.InReplyTo == nil { - return 0 - } - return *d.InReplyTo -} - // GetLine returns the Line field if it's non-nil, zero value otherwise. func (d *DraftReviewComment) GetLine() int { if d == nil || d.Line == nil { @@ -6614,14 +6670,6 @@ func (d *DraftReviewComment) GetStartSide() string { return *d.StartSide } -// GetSubjectType returns the SubjectType field if it's non-nil, zero value otherwise. -func (d *DraftReviewComment) GetSubjectType() string { - if d == nil || d.SubjectType == nil { - return "" - } - return *d.SubjectType -} - // GetRef returns the Ref field. func (e *EditBase) GetRef() *EditRef { if e == nil { @@ -8974,6 +9022,22 @@ func (i *InstallationPermissions) GetOrganizationPackages() string { return *i.OrganizationPackages } +// GetOrganizationPersonalAccessTokenRequests returns the OrganizationPersonalAccessTokenRequests field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationPersonalAccessTokenRequests() string { + if i == nil || i.OrganizationPersonalAccessTokenRequests == nil { + return "" + } + return *i.OrganizationPersonalAccessTokenRequests +} + +// GetOrganizationPersonalAccessTokens returns the OrganizationPersonalAccessTokens field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationPersonalAccessTokens() string { + if i == nil || i.OrganizationPersonalAccessTokens == nil { + return "" + } + return *i.OrganizationPersonalAccessTokens +} + // GetOrganizationPlan returns the OrganizationPlan field if it's non-nil, zero value otherwise. func (i *InstallationPermissions) GetOrganizationPlan() string { if i == nil || i.OrganizationPlan == nil { @@ -14326,6 +14390,78 @@ func (p *PagesUpdate) GetSource() *PagesSource { return p.Source } +// GetAccessGrantedAt returns the AccessGrantedAt field if it's non-nil, zero value otherwise. +func (p *PersonalAccessToken) GetAccessGrantedAt() Timestamp { + if p == nil || p.AccessGrantedAt == nil { + return Timestamp{} + } + return *p.AccessGrantedAt +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (p *PersonalAccessToken) GetID() int64 { + if p == nil || p.ID == nil { + return 0 + } + return *p.ID +} + +// GetOwner returns the Owner field. +func (p *PersonalAccessToken) GetOwner() *User { + if p == nil { + return nil + } + return p.Owner +} + +// GetPermissions returns the Permissions field. +func (p *PersonalAccessToken) GetPermissions() *PersonalAccessTokenPermissions { + if p == nil { + return nil + } + return p.Permissions +} + +// GetRepositoriesURL returns the RepositoriesURL field if it's non-nil, zero value otherwise. +func (p *PersonalAccessToken) GetRepositoriesURL() string { + if p == nil || p.RepositoriesURL == nil { + return "" + } + return *p.RepositoriesURL +} + +// GetRepositorySelection returns the RepositorySelection field if it's non-nil, zero value otherwise. +func (p *PersonalAccessToken) GetRepositorySelection() string { + if p == nil || p.RepositorySelection == nil { + return "" + } + return *p.RepositorySelection +} + +// GetTokenExpired returns the TokenExpired field if it's non-nil, zero value otherwise. +func (p *PersonalAccessToken) GetTokenExpired() bool { + if p == nil || p.TokenExpired == nil { + return false + } + return *p.TokenExpired +} + +// GetTokenExpiresAt returns the TokenExpiresAt field if it's non-nil, zero value otherwise. +func (p *PersonalAccessToken) GetTokenExpiresAt() Timestamp { + if p == nil || p.TokenExpiresAt == nil { + return Timestamp{} + } + return *p.TokenExpiresAt +} + +// GetTokenLastUsedAt returns the TokenLastUsedAt field if it's non-nil, zero value otherwise. +func (p *PersonalAccessToken) GetTokenLastUsedAt() Timestamp { + if p == nil || p.TokenLastUsedAt == nil { + return Timestamp{} + } + return *p.TokenLastUsedAt +} + // GetOrg returns the Org map if it's non-nil, an empty map otherwise. func (p *PersonalAccessTokenPermissions) GetOrg() map[string]string { if p == nil || p.Org == nil { @@ -17622,14 +17758,6 @@ func (p *PushEventRepository) GetCreatedAt() Timestamp { return *p.CreatedAt } -// GetCustomProperties returns the CustomProperties map if it's non-nil, an empty map otherwise. -func (p *PushEventRepository) GetCustomProperties() map[string]string { - if p == nil || p.CustomProperties == nil { - return map[string]string{} - } - return p.CustomProperties -} - // GetDefaultBranch returns the DefaultBranch field if it's non-nil, zero value otherwise. func (p *PushEventRepository) GetDefaultBranch() string { if p == nil || p.DefaultBranch == nil { @@ -18774,14 +18902,6 @@ func (r *Repository) GetCreatedAt() Timestamp { return *r.CreatedAt } -// GetCustomProperties returns the CustomProperties map if it's non-nil, an empty map otherwise. -func (r *Repository) GetCustomProperties() map[string]string { - if r == nil || r.CustomProperties == nil { - return map[string]string{} - } - return r.CustomProperties -} - // GetDefaultBranch returns the DefaultBranch field if it's non-nil, zero value otherwise. func (r *Repository) GetDefaultBranch() string { if r == nil || r.DefaultBranch == nil { @@ -20758,6 +20878,14 @@ func (r *Rule) GetSeverity() string { return *r.Severity } +// GetRestrictedFilePaths returns the RestrictedFilePaths field if it's non-nil, zero value otherwise. +func (r *RuleFileParameters) GetRestrictedFilePaths() []string { + if r == nil || r.RestrictedFilePaths == nil { + return nil + } + return *r.RestrictedFilePaths +} + // GetName returns the Name field if it's non-nil, zero value otherwise. func (r *RulePatternParameters) GetName() string { if r == nil || r.Name == nil { @@ -22270,6 +22398,86 @@ func (s *SourceImportAuthor) GetURL() string { return *s.URL } +// GetPrivacyLevel returns the PrivacyLevel field if it's non-nil, zero value otherwise. +func (s *SponsorshipChanges) GetPrivacyLevel() string { + if s == nil || s.PrivacyLevel == nil { + return "" + } + return *s.PrivacyLevel +} + +// GetTier returns the Tier field. +func (s *SponsorshipChanges) GetTier() *SponsorshipTier { + if s == nil { + return nil + } + return s.Tier +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (s *SponsorshipEvent) GetAction() string { + if s == nil || s.Action == nil { + return "" + } + return *s.Action +} + +// GetChanges returns the Changes field. +func (s *SponsorshipEvent) GetChanges() *SponsorshipChanges { + if s == nil { + return nil + } + return s.Changes +} + +// GetEffectiveDate returns the EffectiveDate field if it's non-nil, zero value otherwise. +func (s *SponsorshipEvent) GetEffectiveDate() string { + if s == nil || s.EffectiveDate == nil { + return "" + } + return *s.EffectiveDate +} + +// GetInstallation returns the Installation field. +func (s *SponsorshipEvent) GetInstallation() *Installation { + if s == nil { + return nil + } + return s.Installation +} + +// GetOrganization returns the Organization field. +func (s *SponsorshipEvent) GetOrganization() *Organization { + if s == nil { + return nil + } + return s.Organization +} + +// GetRepository returns the Repository field. +func (s *SponsorshipEvent) GetRepository() *Repository { + if s == nil { + return nil + } + return s.Repository +} + +// GetSender returns the Sender field. +func (s *SponsorshipEvent) GetSender() *User { + if s == nil { + return nil + } + return s.Sender +} + +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (s *SponsorshipTier) GetFrom() string { + if s == nil || s.From == nil { + return "" + } + return *s.From +} + // GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. func (s *SSHSigningKey) GetCreatedAt() Timestamp { if s == nil || s.CreatedAt == nil { diff --git a/vendor/github.com/google/go-github/v63/github/github.go b/vendor/github.com/google/go-github/v65/github/github.go similarity index 99% rename from vendor/github.com/google/go-github/v63/github/github.go rename to vendor/github.com/google/go-github/v65/github/github.go index cd0c013339..cceaec03d4 100644 --- a/vendor/github.com/google/go-github/v63/github/github.go +++ b/vendor/github.com/google/go-github/v65/github/github.go @@ -28,7 +28,7 @@ import ( ) const ( - Version = "v63.0.0" + Version = "v65.0.0" defaultAPIVersion = "2022-11-28" defaultBaseURL = "https://api.github.com/" diff --git a/vendor/github.com/google/go-github/v63/github/gitignore.go b/vendor/github.com/google/go-github/v65/github/gitignore.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/gitignore.go rename to vendor/github.com/google/go-github/v65/github/gitignore.go diff --git a/vendor/github.com/google/go-github/v63/github/interactions.go b/vendor/github.com/google/go-github/v65/github/interactions.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/interactions.go rename to vendor/github.com/google/go-github/v65/github/interactions.go diff --git a/vendor/github.com/google/go-github/v63/github/interactions_orgs.go b/vendor/github.com/google/go-github/v65/github/interactions_orgs.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/interactions_orgs.go rename to vendor/github.com/google/go-github/v65/github/interactions_orgs.go diff --git a/vendor/github.com/google/go-github/v63/github/interactions_repos.go b/vendor/github.com/google/go-github/v65/github/interactions_repos.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/interactions_repos.go rename to vendor/github.com/google/go-github/v65/github/interactions_repos.go diff --git a/vendor/github.com/google/go-github/v63/github/issue_import.go b/vendor/github.com/google/go-github/v65/github/issue_import.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/issue_import.go rename to vendor/github.com/google/go-github/v65/github/issue_import.go diff --git a/vendor/github.com/google/go-github/v63/github/issues.go b/vendor/github.com/google/go-github/v65/github/issues.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/issues.go rename to vendor/github.com/google/go-github/v65/github/issues.go diff --git a/vendor/github.com/google/go-github/v63/github/issues_assignees.go b/vendor/github.com/google/go-github/v65/github/issues_assignees.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/issues_assignees.go rename to vendor/github.com/google/go-github/v65/github/issues_assignees.go diff --git a/vendor/github.com/google/go-github/v63/github/issues_comments.go b/vendor/github.com/google/go-github/v65/github/issues_comments.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/issues_comments.go rename to vendor/github.com/google/go-github/v65/github/issues_comments.go diff --git a/vendor/github.com/google/go-github/v63/github/issues_events.go b/vendor/github.com/google/go-github/v65/github/issues_events.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/issues_events.go rename to vendor/github.com/google/go-github/v65/github/issues_events.go diff --git a/vendor/github.com/google/go-github/v63/github/issues_labels.go b/vendor/github.com/google/go-github/v65/github/issues_labels.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/issues_labels.go rename to vendor/github.com/google/go-github/v65/github/issues_labels.go diff --git a/vendor/github.com/google/go-github/v63/github/issues_milestones.go b/vendor/github.com/google/go-github/v65/github/issues_milestones.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/issues_milestones.go rename to vendor/github.com/google/go-github/v65/github/issues_milestones.go diff --git a/vendor/github.com/google/go-github/v63/github/issues_timeline.go b/vendor/github.com/google/go-github/v65/github/issues_timeline.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/issues_timeline.go rename to vendor/github.com/google/go-github/v65/github/issues_timeline.go diff --git a/vendor/github.com/google/go-github/v63/github/licenses.go b/vendor/github.com/google/go-github/v65/github/licenses.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/licenses.go rename to vendor/github.com/google/go-github/v65/github/licenses.go diff --git a/vendor/github.com/google/go-github/v63/github/markdown.go b/vendor/github.com/google/go-github/v65/github/markdown.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/markdown.go rename to vendor/github.com/google/go-github/v65/github/markdown.go diff --git a/vendor/github.com/google/go-github/v63/github/messages.go b/vendor/github.com/google/go-github/v65/github/messages.go similarity index 99% rename from vendor/github.com/google/go-github/v63/github/messages.go rename to vendor/github.com/google/go-github/v65/github/messages.go index 72edbd9fee..0385d398bd 100644 --- a/vendor/github.com/google/go-github/v63/github/messages.go +++ b/vendor/github.com/google/go-github/v65/github/messages.go @@ -102,6 +102,7 @@ var ( "secret_scanning_alert": &SecretScanningAlertEvent{}, "security_advisory": &SecurityAdvisoryEvent{}, "security_and_analysis": &SecurityAndAnalysisEvent{}, + "sponsorship": &SponsorshipEvent{}, "star": &StarEvent{}, "status": &StatusEvent{}, "team": &TeamEvent{}, diff --git a/vendor/github.com/google/go-github/v63/github/meta.go b/vendor/github.com/google/go-github/v65/github/meta.go similarity index 83% rename from vendor/github.com/google/go-github/v63/github/meta.go rename to vendor/github.com/google/go-github/v65/github/meta.go index e0e355e8cd..cc90b618b1 100644 --- a/vendor/github.com/google/go-github/v63/github/meta.go +++ b/vendor/github.com/google/go-github/v65/github/meta.go @@ -70,9 +70,25 @@ type APIMeta struct { // which serve GitHub APIs. API []string `json:"api,omitempty"` - // A map of GitHub services and their associated domains. Note that many - // of these domains are represented as wildcards (e.g. "*.github.com"). - Domains map[string][]string `json:"domains,omitempty"` + // GitHub services and their associated domains. Note that many of these domains + // are represented as wildcards (e.g. "*.github.com"). + Domains *APIMetaDomains `json:"domains,omitempty"` +} + +// APIMetaDomains represents the domains associated with GitHub services. +type APIMetaDomains struct { + Website []string `json:"website,omitempty"` + Codespaces []string `json:"codespaces,omitempty"` + Copilot []string `json:"copilot,omitempty"` + Packages []string `json:"packages,omitempty"` + Actions []string `json:"actions,omitempty"` + ArtifactAttestations *APIMetaArtifactAttestations `json:"artifact_attestations,omitempty"` +} + +// APIMetaArtifactAttestations represents the artifact attestation services domains. +type APIMetaArtifactAttestations struct { + TrustDomain string `json:"trust_domain,omitempty"` + Services []string `json:"services,omitempty"` } // Get returns information about GitHub.com, the service. Or, if you access diff --git a/vendor/github.com/google/go-github/v63/github/migrations.go b/vendor/github.com/google/go-github/v65/github/migrations.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/migrations.go rename to vendor/github.com/google/go-github/v65/github/migrations.go diff --git a/vendor/github.com/google/go-github/v63/github/migrations_source_import.go b/vendor/github.com/google/go-github/v65/github/migrations_source_import.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/migrations_source_import.go rename to vendor/github.com/google/go-github/v65/github/migrations_source_import.go diff --git a/vendor/github.com/google/go-github/v63/github/migrations_user.go b/vendor/github.com/google/go-github/v65/github/migrations_user.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/migrations_user.go rename to vendor/github.com/google/go-github/v65/github/migrations_user.go diff --git a/vendor/github.com/google/go-github/v63/github/orgs.go b/vendor/github.com/google/go-github/v65/github/orgs.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/orgs.go rename to vendor/github.com/google/go-github/v65/github/orgs.go diff --git a/vendor/github.com/google/go-github/v63/github/orgs_actions_allowed.go b/vendor/github.com/google/go-github/v65/github/orgs_actions_allowed.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/orgs_actions_allowed.go rename to vendor/github.com/google/go-github/v65/github/orgs_actions_allowed.go diff --git a/vendor/github.com/google/go-github/v63/github/orgs_actions_permissions.go b/vendor/github.com/google/go-github/v65/github/orgs_actions_permissions.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/orgs_actions_permissions.go rename to vendor/github.com/google/go-github/v65/github/orgs_actions_permissions.go diff --git a/vendor/github.com/google/go-github/v63/github/orgs_audit_log.go b/vendor/github.com/google/go-github/v65/github/orgs_audit_log.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/orgs_audit_log.go rename to vendor/github.com/google/go-github/v65/github/orgs_audit_log.go diff --git a/vendor/github.com/google/go-github/v63/github/orgs_credential_authorizations.go b/vendor/github.com/google/go-github/v65/github/orgs_credential_authorizations.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/orgs_credential_authorizations.go rename to vendor/github.com/google/go-github/v65/github/orgs_credential_authorizations.go diff --git a/vendor/github.com/google/go-github/v63/github/orgs_custom_roles.go b/vendor/github.com/google/go-github/v65/github/orgs_custom_roles.go similarity index 91% rename from vendor/github.com/google/go-github/v63/github/orgs_custom_roles.go rename to vendor/github.com/google/go-github/v65/github/orgs_custom_roles.go index f71cb7aee0..ca0c6d7bcb 100644 --- a/vendor/github.com/google/go-github/v63/github/orgs_custom_roles.go +++ b/vendor/github.com/google/go-github/v65/github/orgs_custom_roles.go @@ -18,10 +18,15 @@ type OrganizationCustomRoles struct { // CustomOrgRoles represents custom organization role available in specified organization. type CustomOrgRoles struct { - ID *int64 `json:"id,omitempty"` - Name *string `json:"name,omitempty"` - Description *string `json:"description,omitempty"` - Permissions []string `json:"permissions,omitempty"` + ID *int64 `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Description *string `json:"description,omitempty"` + Permissions []string `json:"permissions,omitempty"` + Org *Organization `json:"organization,omitempty"` + CreatedAt *Timestamp `json:"created_at,omitempty"` + UpdatedAt *Timestamp `json:"updated_at,omitempty"` + Source *string `json:"source,omitempty"` + BaseRole *string `json:"base_role,omitempty"` } // OrganizationCustomRepoRoles represents custom repository roles available in specified organization. @@ -34,18 +39,21 @@ type OrganizationCustomRepoRoles struct { // See https://docs.github.com/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization // for more information. type CustomRepoRoles struct { - ID *int64 `json:"id,omitempty"` - Name *string `json:"name,omitempty"` - Description *string `json:"description,omitempty"` - BaseRole *string `json:"base_role,omitempty"` - Permissions []string `json:"permissions,omitempty"` + ID *int64 `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Description *string `json:"description,omitempty"` + BaseRole *string `json:"base_role,omitempty"` + Permissions []string `json:"permissions,omitempty"` + Org *Organization `json:"organization,omitempty"` + CreatedAt *Timestamp `json:"created_at,omitempty"` + UpdatedAt *Timestamp `json:"updated_at,omitempty"` } // CreateOrUpdateOrgRoleOptions represents options required to create or update a custom organization role. type CreateOrUpdateOrgRoleOptions struct { Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` - Permissions []string `json:"permissions,omitempty"` + Permissions []string `json:"permissions"` } // CreateOrUpdateCustomRepoRoleOptions represents options required to create or update a custom repository role. @@ -53,7 +61,7 @@ type CreateOrUpdateCustomRepoRoleOptions struct { Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` BaseRole *string `json:"base_role,omitempty"` - Permissions []string `json:"permissions,omitempty"` + Permissions []string `json:"permissions"` } // ListRoles lists the custom roles available in this organization. diff --git a/vendor/github.com/google/go-github/v63/github/orgs_hooks.go b/vendor/github.com/google/go-github/v65/github/orgs_hooks.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/orgs_hooks.go rename to vendor/github.com/google/go-github/v65/github/orgs_hooks.go diff --git a/vendor/github.com/google/go-github/v63/github/orgs_hooks_configuration.go b/vendor/github.com/google/go-github/v65/github/orgs_hooks_configuration.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/orgs_hooks_configuration.go rename to vendor/github.com/google/go-github/v65/github/orgs_hooks_configuration.go diff --git a/vendor/github.com/google/go-github/v63/github/orgs_hooks_deliveries.go b/vendor/github.com/google/go-github/v65/github/orgs_hooks_deliveries.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/orgs_hooks_deliveries.go rename to vendor/github.com/google/go-github/v65/github/orgs_hooks_deliveries.go diff --git a/vendor/github.com/google/go-github/v63/github/orgs_members.go b/vendor/github.com/google/go-github/v65/github/orgs_members.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/orgs_members.go rename to vendor/github.com/google/go-github/v65/github/orgs_members.go diff --git a/vendor/github.com/google/go-github/v63/github/orgs_outside_collaborators.go b/vendor/github.com/google/go-github/v65/github/orgs_outside_collaborators.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/orgs_outside_collaborators.go rename to vendor/github.com/google/go-github/v65/github/orgs_outside_collaborators.go diff --git a/vendor/github.com/google/go-github/v63/github/orgs_packages.go b/vendor/github.com/google/go-github/v65/github/orgs_packages.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/orgs_packages.go rename to vendor/github.com/google/go-github/v65/github/orgs_packages.go diff --git a/vendor/github.com/google/go-github/v65/github/orgs_personal_access_tokens.go b/vendor/github.com/google/go-github/v65/github/orgs_personal_access_tokens.go new file mode 100644 index 0000000000..af083744e8 --- /dev/null +++ b/vendor/github.com/google/go-github/v65/github/orgs_personal_access_tokens.go @@ -0,0 +1,167 @@ +// Copyright 2023 The go-github AUTHORS. All rights reserved. +// +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package github + +import ( + "context" + "fmt" + "net/http" + "net/url" + "strings" +) + +// PersonalAccessToken represents the minimal representation of an organization programmatic access grant. +// +// GitHub API docs: https://docs.github.com/en/rest/orgs/personal-access-tokens?apiVersion=2022-11-28 +type PersonalAccessToken struct { + // "Unique identifier of the fine-grained personal access token. + // The `pat_id` used to get details about an approved fine-grained personal access token. + ID *int64 `json:"id"` + + // Owner is the GitHub user associated with the token. + Owner *User `json:"owner"` + + // RepositorySelection is the type of repository selection requested. + // Possible values are: "none", "all", "subset". + RepositorySelection *string `json:"repository_selection"` + + // URL to the list of repositories the fine-grained personal access token can access. + // Only follow when `repository_selection` is `subset`. + RepositoriesURL *string `json:"repositories_url"` + + // Permissions are the permissions requested, categorized by type. + Permissions *PersonalAccessTokenPermissions `json:"permissions"` + + // Date and time when the fine-grained personal access token was approved to access the organization. + AccessGrantedAt *Timestamp `json:"access_granted_at"` + + // Whether the associated fine-grained personal access token has expired. + TokenExpired *bool `json:"token_expired"` + + // Date and time when the associated fine-grained personal access token expires. + TokenExpiresAt *Timestamp `json:"token_expires_at"` + + // Date and time when the associated fine-grained personal access token was last used for authentication. + TokenLastUsedAt *Timestamp `json:"token_last_used_at"` +} + +// ListFineGrainedPATOptions specifies optional parameters to ListFineGrainedPersonalAccessTokens. +type ListFineGrainedPATOptions struct { + // The property by which to sort the results. + // Default: created_at + // Value: created_at + Sort string `url:"sort,omitempty"` + + // The direction to sort the results by. + // Default: desc + // Value: asc, desc + Direction string `url:"direction,omitempty"` + + // A list of owner usernames to use to filter the results. + Owner []string `url:"-"` + + // The name of the repository to use to filter the results. + Repository string `url:"repository,omitempty"` + + // The permission to use to filter the results. + Permission string `url:"permission,omitempty"` + + // Only show fine-grained personal access tokens used before the given time. + // This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. + LastUsedBefore string `url:"last_used_before,omitempty"` + + // Only show fine-grained personal access tokens used after the given time. + // This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. + LastUsedAfter string `url:"last_used_after,omitempty"` + + ListOptions +} + +// ListFineGrainedPersonalAccessTokens lists approved fine-grained personal access tokens owned by organization members that can access organization resources. +// Only GitHub Apps can call this API, using the `Personal access tokens` organization permissions (read). +// +// GitHub API docs: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources +// +//meta:operation GET /orgs/{org}/personal-access-tokens +func (s *OrganizationsService) ListFineGrainedPersonalAccessTokens(ctx context.Context, org string, opts *ListFineGrainedPATOptions) ([]*PersonalAccessToken, *Response, error) { + u := fmt.Sprintf("orgs/%v/personal-access-tokens", org) + // The `owner` parameter is a special case that uses the `owner[]=...` format and needs a custom function to format it correctly. + u, err := addListFineGrainedPATOptions(u, opts) + if err != nil { + return nil, nil, err + } + + req, err := s.client.NewRequest(http.MethodGet, u, opts) + if err != nil { + return nil, nil, err + } + + var pats []*PersonalAccessToken + + resp, err := s.client.Do(ctx, req, &pats) + if err != nil { + return nil, resp, err + } + + return pats, resp, nil +} + +// ReviewPersonalAccessTokenRequestOptions specifies the parameters to the ReviewPersonalAccessTokenRequest method. +type ReviewPersonalAccessTokenRequestOptions struct { + Action string `json:"action"` + Reason *string `json:"reason,omitempty"` +} + +// ReviewPersonalAccessTokenRequest approves or denies a pending request to access organization resources via a fine-grained personal access token. +// Only GitHub Apps can call this API, using the `organization_personal_access_token_requests: write` permission. +// `action` can be one of `approve` or `deny`. +// +// GitHub API docs: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token +// +//meta:operation POST /orgs/{org}/personal-access-token-requests/{pat_request_id} +func (s *OrganizationsService) ReviewPersonalAccessTokenRequest(ctx context.Context, org string, requestID int64, opts ReviewPersonalAccessTokenRequestOptions) (*Response, error) { + u := fmt.Sprintf("orgs/%v/personal-access-token-requests/%v", org, requestID) + + req, err := s.client.NewRequest(http.MethodPost, u, &opts) + if err != nil { + return nil, err + } + + return s.client.Do(ctx, req, nil) +} + +// addListFineGrainedPATOptions adds the owner parameter to the URL query string with the correct format if it is set. +// +// GitHub API expects the owner parameter to be a list of strings in the `owner[]=...` format. +// For multiple owner values, the owner parameter is repeated in the query string. +// +// Example: +// owner[]=user1&owner[]=user2 +// This will filter the results to only include fine-grained personal access tokens owned by `user1` and `user2`. +// +// This function ensures the owner parameter is formatted correctly in the URL query string. +func addListFineGrainedPATOptions(s string, opts *ListFineGrainedPATOptions) (string, error) { + u, err := addOptions(s, opts) + if err != nil { + return s, err + } + + if len(opts.Owner) > 0 { + ownerVals := make([]string, len(opts.Owner)) + for i, owner := range opts.Owner { + ownerVals[i] = fmt.Sprintf("owner[]=%s", url.QueryEscape(owner)) + } + ownerQuery := strings.Join(ownerVals, "&") + + if strings.Contains(u, "?") { + u += "&" + ownerQuery + } else { + u += "?" + ownerQuery + } + } + + return u, nil +} diff --git a/vendor/github.com/google/go-github/v63/github/orgs_projects.go b/vendor/github.com/google/go-github/v65/github/orgs_projects.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/orgs_projects.go rename to vendor/github.com/google/go-github/v65/github/orgs_projects.go diff --git a/vendor/github.com/google/go-github/v63/github/orgs_properties.go b/vendor/github.com/google/go-github/v65/github/orgs_properties.go similarity index 88% rename from vendor/github.com/google/go-github/v63/github/orgs_properties.go rename to vendor/github.com/google/go-github/v65/github/orgs_properties.go index 124b89cb5d..f7416d5300 100644 --- a/vendor/github.com/google/go-github/v63/github/orgs_properties.go +++ b/vendor/github.com/google/go-github/v65/github/orgs_properties.go @@ -7,6 +7,7 @@ package github import ( "context" + "encoding/json" "fmt" ) @@ -40,8 +41,42 @@ type RepoCustomPropertyValue struct { // CustomPropertyValue represents a custom property value. type CustomPropertyValue struct { - PropertyName string `json:"property_name"` - Value *string `json:"value,omitempty"` + PropertyName string `json:"property_name"` + Value interface{} `json:"value,omitempty"` +} + +// UnmarshalJSON implements the json.Unmarshaler interface. +// This helps us handle the fact that Value can be either a string, []string, or nil. +func (cpv *CustomPropertyValue) UnmarshalJSON(data []byte) error { + type aliasCustomPropertyValue CustomPropertyValue + aux := &struct { + *aliasCustomPropertyValue + }{ + aliasCustomPropertyValue: (*aliasCustomPropertyValue)(cpv), + } + if err := json.Unmarshal(data, &aux); err != nil { + return err + } + + switch v := aux.Value.(type) { + case nil: + cpv.Value = nil + case string: + cpv.Value = v + case []interface{}: + strSlice := make([]string, len(v)) + for i, item := range v { + if str, ok := item.(string); ok { + strSlice[i] = str + } else { + return fmt.Errorf("non-string value in string array") + } + } + cpv.Value = strSlice + default: + return fmt.Errorf("unexpected value type: %T", v) + } + return nil } // GetAllCustomProperties gets all custom properties that are defined for the specified organization. diff --git a/vendor/github.com/google/go-github/v63/github/orgs_rules.go b/vendor/github.com/google/go-github/v65/github/orgs_rules.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/orgs_rules.go rename to vendor/github.com/google/go-github/v65/github/orgs_rules.go diff --git a/vendor/github.com/google/go-github/v63/github/orgs_security_managers.go b/vendor/github.com/google/go-github/v65/github/orgs_security_managers.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/orgs_security_managers.go rename to vendor/github.com/google/go-github/v65/github/orgs_security_managers.go diff --git a/vendor/github.com/google/go-github/v63/github/orgs_users_blocking.go b/vendor/github.com/google/go-github/v65/github/orgs_users_blocking.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/orgs_users_blocking.go rename to vendor/github.com/google/go-github/v65/github/orgs_users_blocking.go diff --git a/vendor/github.com/google/go-github/v63/github/packages.go b/vendor/github.com/google/go-github/v65/github/packages.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/packages.go rename to vendor/github.com/google/go-github/v65/github/packages.go diff --git a/vendor/github.com/google/go-github/v63/github/projects.go b/vendor/github.com/google/go-github/v65/github/projects.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/projects.go rename to vendor/github.com/google/go-github/v65/github/projects.go diff --git a/vendor/github.com/google/go-github/v63/github/pulls.go b/vendor/github.com/google/go-github/v65/github/pulls.go similarity index 97% rename from vendor/github.com/google/go-github/v63/github/pulls.go rename to vendor/github.com/google/go-github/v65/github/pulls.go index 80df9fa688..b668502691 100644 --- a/vendor/github.com/google/go-github/v63/github/pulls.go +++ b/vendor/github.com/google/go-github/v65/github/pulls.go @@ -250,9 +250,16 @@ func (s *PullRequestsService) GetRaw(ctx context.Context, owner string, repo str // NewPullRequest represents a new pull request to be created. type NewPullRequest struct { - Title *string `json:"title,omitempty"` - Head *string `json:"head,omitempty"` - HeadRepo *string `json:"head_repo,omitempty"` + Title *string `json:"title,omitempty"` + // The name of the branch where your changes are implemented. For + // cross-repository pull requests in the same network, namespace head with + // a user like this: username:branch. + Head *string `json:"head,omitempty"` + HeadRepo *string `json:"head_repo,omitempty"` + // The name of the branch you want the changes pulled into. This should be + // an existing branch on the current repository. You cannot submit a pull + // request to one repository that requests a merge to a base of another + // repository. Base *string `json:"base,omitempty"` Body *string `json:"body,omitempty"` Issue *int `json:"issue,omitempty"` diff --git a/vendor/github.com/google/go-github/v63/github/pulls_comments.go b/vendor/github.com/google/go-github/v65/github/pulls_comments.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/pulls_comments.go rename to vendor/github.com/google/go-github/v65/github/pulls_comments.go diff --git a/vendor/github.com/google/go-github/v63/github/pulls_reviewers.go b/vendor/github.com/google/go-github/v65/github/pulls_reviewers.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/pulls_reviewers.go rename to vendor/github.com/google/go-github/v65/github/pulls_reviewers.go diff --git a/vendor/github.com/google/go-github/v63/github/pulls_reviews.go b/vendor/github.com/google/go-github/v65/github/pulls_reviews.go similarity index 97% rename from vendor/github.com/google/go-github/v63/github/pulls_reviews.go rename to vendor/github.com/google/go-github/v65/github/pulls_reviews.go index 28450c3d43..27b8dc37d5 100644 --- a/vendor/github.com/google/go-github/v63/github/pulls_reviews.go +++ b/vendor/github.com/google/go-github/v65/github/pulls_reviews.go @@ -35,12 +35,9 @@ func (p PullRequestReview) String() string { // DraftReviewComment represents a comment part of the review. type DraftReviewComment struct { - Path *string `json:"path,omitempty"` - Position *int `json:"position,omitempty"` - Body *string `json:"body,omitempty"` - CommitID *string `json:"commit_id,omitempty"` - InReplyTo *int64 `json:"in_reply_to,omitempty"` - SubjectType *string `json:"subject_type,omitempty"` + Path *string `json:"path,omitempty"` + Position *int `json:"position,omitempty"` + Body *string `json:"body,omitempty"` // The new comfort-fade-preview fields StartSide *string `json:"start_side,omitempty"` diff --git a/vendor/github.com/google/go-github/v63/github/pulls_threads.go b/vendor/github.com/google/go-github/v65/github/pulls_threads.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/pulls_threads.go rename to vendor/github.com/google/go-github/v65/github/pulls_threads.go diff --git a/vendor/github.com/google/go-github/v63/github/rate_limit.go b/vendor/github.com/google/go-github/v65/github/rate_limit.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/rate_limit.go rename to vendor/github.com/google/go-github/v65/github/rate_limit.go diff --git a/vendor/github.com/google/go-github/v63/github/reactions.go b/vendor/github.com/google/go-github/v65/github/reactions.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/reactions.go rename to vendor/github.com/google/go-github/v65/github/reactions.go diff --git a/vendor/github.com/google/go-github/v63/github/repos.go b/vendor/github.com/google/go-github/v65/github/repos.go similarity index 95% rename from vendor/github.com/google/go-github/v63/github/repos.go rename to vendor/github.com/google/go-github/v65/github/repos.go index 630ce748c9..59ef2329f0 100644 --- a/vendor/github.com/google/go-github/v63/github/repos.go +++ b/vendor/github.com/google/go-github/v65/github/repos.go @@ -27,59 +27,59 @@ type RepositoriesService service // Repository represents a GitHub repository. type Repository struct { - ID *int64 `json:"id,omitempty"` - NodeID *string `json:"node_id,omitempty"` - Owner *User `json:"owner,omitempty"` - Name *string `json:"name,omitempty"` - FullName *string `json:"full_name,omitempty"` - Description *string `json:"description,omitempty"` - Homepage *string `json:"homepage,omitempty"` - CodeOfConduct *CodeOfConduct `json:"code_of_conduct,omitempty"` - DefaultBranch *string `json:"default_branch,omitempty"` - MasterBranch *string `json:"master_branch,omitempty"` - CreatedAt *Timestamp `json:"created_at,omitempty"` - PushedAt *Timestamp `json:"pushed_at,omitempty"` - UpdatedAt *Timestamp `json:"updated_at,omitempty"` - HTMLURL *string `json:"html_url,omitempty"` - CloneURL *string `json:"clone_url,omitempty"` - GitURL *string `json:"git_url,omitempty"` - MirrorURL *string `json:"mirror_url,omitempty"` - SSHURL *string `json:"ssh_url,omitempty"` - SVNURL *string `json:"svn_url,omitempty"` - Language *string `json:"language,omitempty"` - Fork *bool `json:"fork,omitempty"` - ForksCount *int `json:"forks_count,omitempty"` - NetworkCount *int `json:"network_count,omitempty"` - OpenIssuesCount *int `json:"open_issues_count,omitempty"` - OpenIssues *int `json:"open_issues,omitempty"` // Deprecated: Replaced by OpenIssuesCount. For backward compatibility OpenIssues is still populated. - StargazersCount *int `json:"stargazers_count,omitempty"` - SubscribersCount *int `json:"subscribers_count,omitempty"` - WatchersCount *int `json:"watchers_count,omitempty"` // Deprecated: Replaced by StargazersCount. For backward compatibility WatchersCount is still populated. - Watchers *int `json:"watchers,omitempty"` // Deprecated: Replaced by StargazersCount. For backward compatibility Watchers is still populated. - Size *int `json:"size,omitempty"` - AutoInit *bool `json:"auto_init,omitempty"` - Parent *Repository `json:"parent,omitempty"` - Source *Repository `json:"source,omitempty"` - TemplateRepository *Repository `json:"template_repository,omitempty"` - Organization *Organization `json:"organization,omitempty"` - Permissions map[string]bool `json:"permissions,omitempty"` - AllowRebaseMerge *bool `json:"allow_rebase_merge,omitempty"` - AllowUpdateBranch *bool `json:"allow_update_branch,omitempty"` - AllowSquashMerge *bool `json:"allow_squash_merge,omitempty"` - AllowMergeCommit *bool `json:"allow_merge_commit,omitempty"` - AllowAutoMerge *bool `json:"allow_auto_merge,omitempty"` - AllowForking *bool `json:"allow_forking,omitempty"` - WebCommitSignoffRequired *bool `json:"web_commit_signoff_required,omitempty"` - DeleteBranchOnMerge *bool `json:"delete_branch_on_merge,omitempty"` - UseSquashPRTitleAsDefault *bool `json:"use_squash_pr_title_as_default,omitempty"` - SquashMergeCommitTitle *string `json:"squash_merge_commit_title,omitempty"` // Can be one of: "PR_TITLE", "COMMIT_OR_PR_TITLE" - SquashMergeCommitMessage *string `json:"squash_merge_commit_message,omitempty"` // Can be one of: "PR_BODY", "COMMIT_MESSAGES", "BLANK" - MergeCommitTitle *string `json:"merge_commit_title,omitempty"` // Can be one of: "PR_TITLE", "MERGE_MESSAGE" - MergeCommitMessage *string `json:"merge_commit_message,omitempty"` // Can be one of: "PR_BODY", "PR_TITLE", "BLANK" - Topics []string `json:"topics,omitempty"` - CustomProperties map[string]string `json:"custom_properties,omitempty"` - Archived *bool `json:"archived,omitempty"` - Disabled *bool `json:"disabled,omitempty"` + ID *int64 `json:"id,omitempty"` + NodeID *string `json:"node_id,omitempty"` + Owner *User `json:"owner,omitempty"` + Name *string `json:"name,omitempty"` + FullName *string `json:"full_name,omitempty"` + Description *string `json:"description,omitempty"` + Homepage *string `json:"homepage,omitempty"` + CodeOfConduct *CodeOfConduct `json:"code_of_conduct,omitempty"` + DefaultBranch *string `json:"default_branch,omitempty"` + MasterBranch *string `json:"master_branch,omitempty"` + CreatedAt *Timestamp `json:"created_at,omitempty"` + PushedAt *Timestamp `json:"pushed_at,omitempty"` + UpdatedAt *Timestamp `json:"updated_at,omitempty"` + HTMLURL *string `json:"html_url,omitempty"` + CloneURL *string `json:"clone_url,omitempty"` + GitURL *string `json:"git_url,omitempty"` + MirrorURL *string `json:"mirror_url,omitempty"` + SSHURL *string `json:"ssh_url,omitempty"` + SVNURL *string `json:"svn_url,omitempty"` + Language *string `json:"language,omitempty"` + Fork *bool `json:"fork,omitempty"` + ForksCount *int `json:"forks_count,omitempty"` + NetworkCount *int `json:"network_count,omitempty"` + OpenIssuesCount *int `json:"open_issues_count,omitempty"` + OpenIssues *int `json:"open_issues,omitempty"` // Deprecated: Replaced by OpenIssuesCount. For backward compatibility OpenIssues is still populated. + StargazersCount *int `json:"stargazers_count,omitempty"` + SubscribersCount *int `json:"subscribers_count,omitempty"` + WatchersCount *int `json:"watchers_count,omitempty"` // Deprecated: Replaced by StargazersCount. For backward compatibility WatchersCount is still populated. + Watchers *int `json:"watchers,omitempty"` // Deprecated: Replaced by StargazersCount. For backward compatibility Watchers is still populated. + Size *int `json:"size,omitempty"` + AutoInit *bool `json:"auto_init,omitempty"` + Parent *Repository `json:"parent,omitempty"` + Source *Repository `json:"source,omitempty"` + TemplateRepository *Repository `json:"template_repository,omitempty"` + Organization *Organization `json:"organization,omitempty"` + Permissions map[string]bool `json:"permissions,omitempty"` + AllowRebaseMerge *bool `json:"allow_rebase_merge,omitempty"` + AllowUpdateBranch *bool `json:"allow_update_branch,omitempty"` + AllowSquashMerge *bool `json:"allow_squash_merge,omitempty"` + AllowMergeCommit *bool `json:"allow_merge_commit,omitempty"` + AllowAutoMerge *bool `json:"allow_auto_merge,omitempty"` + AllowForking *bool `json:"allow_forking,omitempty"` + WebCommitSignoffRequired *bool `json:"web_commit_signoff_required,omitempty"` + DeleteBranchOnMerge *bool `json:"delete_branch_on_merge,omitempty"` + UseSquashPRTitleAsDefault *bool `json:"use_squash_pr_title_as_default,omitempty"` + SquashMergeCommitTitle *string `json:"squash_merge_commit_title,omitempty"` // Can be one of: "PR_TITLE", "COMMIT_OR_PR_TITLE" + SquashMergeCommitMessage *string `json:"squash_merge_commit_message,omitempty"` // Can be one of: "PR_BODY", "COMMIT_MESSAGES", "BLANK" + MergeCommitTitle *string `json:"merge_commit_title,omitempty"` // Can be one of: "PR_TITLE", "MERGE_MESSAGE" + MergeCommitMessage *string `json:"merge_commit_message,omitempty"` // Can be one of: "PR_BODY", "PR_TITLE", "BLANK" + Topics []string `json:"topics,omitempty"` + CustomProperties map[string]interface{} `json:"custom_properties,omitempty"` + Archived *bool `json:"archived,omitempty"` + Disabled *bool `json:"disabled,omitempty"` // Only provided when using RepositoriesService.Get while in preview License *License `json:"license,omitempty"` diff --git a/vendor/github.com/google/go-github/v63/github/repos_actions_access.go b/vendor/github.com/google/go-github/v65/github/repos_actions_access.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_actions_access.go rename to vendor/github.com/google/go-github/v65/github/repos_actions_access.go diff --git a/vendor/github.com/google/go-github/v63/github/repos_actions_allowed.go b/vendor/github.com/google/go-github/v65/github/repos_actions_allowed.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_actions_allowed.go rename to vendor/github.com/google/go-github/v65/github/repos_actions_allowed.go diff --git a/vendor/github.com/google/go-github/v63/github/repos_actions_permissions.go b/vendor/github.com/google/go-github/v65/github/repos_actions_permissions.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_actions_permissions.go rename to vendor/github.com/google/go-github/v65/github/repos_actions_permissions.go diff --git a/vendor/github.com/google/go-github/v63/github/repos_autolinks.go b/vendor/github.com/google/go-github/v65/github/repos_autolinks.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_autolinks.go rename to vendor/github.com/google/go-github/v65/github/repos_autolinks.go diff --git a/vendor/github.com/google/go-github/v63/github/repos_codeowners.go b/vendor/github.com/google/go-github/v65/github/repos_codeowners.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_codeowners.go rename to vendor/github.com/google/go-github/v65/github/repos_codeowners.go diff --git a/vendor/github.com/google/go-github/v63/github/repos_collaborators.go b/vendor/github.com/google/go-github/v65/github/repos_collaborators.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_collaborators.go rename to vendor/github.com/google/go-github/v65/github/repos_collaborators.go diff --git a/vendor/github.com/google/go-github/v63/github/repos_comments.go b/vendor/github.com/google/go-github/v65/github/repos_comments.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_comments.go rename to vendor/github.com/google/go-github/v65/github/repos_comments.go diff --git a/vendor/github.com/google/go-github/v63/github/repos_commits.go b/vendor/github.com/google/go-github/v65/github/repos_commits.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_commits.go rename to vendor/github.com/google/go-github/v65/github/repos_commits.go diff --git a/vendor/github.com/google/go-github/v63/github/repos_community_health.go b/vendor/github.com/google/go-github/v65/github/repos_community_health.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_community_health.go rename to vendor/github.com/google/go-github/v65/github/repos_community_health.go diff --git a/vendor/github.com/google/go-github/v63/github/repos_contents.go b/vendor/github.com/google/go-github/v65/github/repos_contents.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_contents.go rename to vendor/github.com/google/go-github/v65/github/repos_contents.go diff --git a/vendor/github.com/google/go-github/v63/github/repos_deployment_branch_policies.go b/vendor/github.com/google/go-github/v65/github/repos_deployment_branch_policies.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_deployment_branch_policies.go rename to vendor/github.com/google/go-github/v65/github/repos_deployment_branch_policies.go diff --git a/vendor/github.com/google/go-github/v63/github/repos_deployment_protection_rules.go b/vendor/github.com/google/go-github/v65/github/repos_deployment_protection_rules.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_deployment_protection_rules.go rename to vendor/github.com/google/go-github/v65/github/repos_deployment_protection_rules.go diff --git a/vendor/github.com/google/go-github/v63/github/repos_deployments.go b/vendor/github.com/google/go-github/v65/github/repos_deployments.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_deployments.go rename to vendor/github.com/google/go-github/v65/github/repos_deployments.go diff --git a/vendor/github.com/google/go-github/v63/github/repos_environments.go b/vendor/github.com/google/go-github/v65/github/repos_environments.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_environments.go rename to vendor/github.com/google/go-github/v65/github/repos_environments.go diff --git a/vendor/github.com/google/go-github/v63/github/repos_forks.go b/vendor/github.com/google/go-github/v65/github/repos_forks.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_forks.go rename to vendor/github.com/google/go-github/v65/github/repos_forks.go diff --git a/vendor/github.com/google/go-github/v63/github/repos_hooks.go b/vendor/github.com/google/go-github/v65/github/repos_hooks.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_hooks.go rename to vendor/github.com/google/go-github/v65/github/repos_hooks.go diff --git a/vendor/github.com/google/go-github/v63/github/repos_hooks_configuration.go b/vendor/github.com/google/go-github/v65/github/repos_hooks_configuration.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_hooks_configuration.go rename to vendor/github.com/google/go-github/v65/github/repos_hooks_configuration.go diff --git a/vendor/github.com/google/go-github/v63/github/repos_hooks_deliveries.go b/vendor/github.com/google/go-github/v65/github/repos_hooks_deliveries.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_hooks_deliveries.go rename to vendor/github.com/google/go-github/v65/github/repos_hooks_deliveries.go diff --git a/vendor/github.com/google/go-github/v63/github/repos_invitations.go b/vendor/github.com/google/go-github/v65/github/repos_invitations.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_invitations.go rename to vendor/github.com/google/go-github/v65/github/repos_invitations.go diff --git a/vendor/github.com/google/go-github/v63/github/repos_keys.go b/vendor/github.com/google/go-github/v65/github/repos_keys.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_keys.go rename to vendor/github.com/google/go-github/v65/github/repos_keys.go diff --git a/vendor/github.com/google/go-github/v63/github/repos_lfs.go b/vendor/github.com/google/go-github/v65/github/repos_lfs.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_lfs.go rename to vendor/github.com/google/go-github/v65/github/repos_lfs.go diff --git a/vendor/github.com/google/go-github/v63/github/repos_merging.go b/vendor/github.com/google/go-github/v65/github/repos_merging.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_merging.go rename to vendor/github.com/google/go-github/v65/github/repos_merging.go diff --git a/vendor/github.com/google/go-github/v63/github/repos_pages.go b/vendor/github.com/google/go-github/v65/github/repos_pages.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_pages.go rename to vendor/github.com/google/go-github/v65/github/repos_pages.go diff --git a/vendor/github.com/google/go-github/v63/github/repos_prereceive_hooks.go b/vendor/github.com/google/go-github/v65/github/repos_prereceive_hooks.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_prereceive_hooks.go rename to vendor/github.com/google/go-github/v65/github/repos_prereceive_hooks.go diff --git a/vendor/github.com/google/go-github/v63/github/repos_projects.go b/vendor/github.com/google/go-github/v65/github/repos_projects.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_projects.go rename to vendor/github.com/google/go-github/v65/github/repos_projects.go diff --git a/vendor/github.com/google/go-github/v63/github/repos_properties.go b/vendor/github.com/google/go-github/v65/github/repos_properties.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_properties.go rename to vendor/github.com/google/go-github/v65/github/repos_properties.go diff --git a/vendor/github.com/google/go-github/v63/github/repos_releases.go b/vendor/github.com/google/go-github/v65/github/repos_releases.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_releases.go rename to vendor/github.com/google/go-github/v65/github/repos_releases.go diff --git a/vendor/github.com/google/go-github/v63/github/repos_rules.go b/vendor/github.com/google/go-github/v65/github/repos_rules.go similarity index 90% rename from vendor/github.com/google/go-github/v63/github/repos_rules.go rename to vendor/github.com/google/go-github/v65/github/repos_rules.go index 2827f85af1..a90555cc44 100644 --- a/vendor/github.com/google/go-github/v63/github/repos_rules.go +++ b/vendor/github.com/google/go-github/v65/github/repos_rules.go @@ -52,6 +52,7 @@ type RulesetRepositoryIDsConditionParameters struct { type RulesetRepositoryPropertyTargetParameters struct { Name string `json:"name"` Values []string `json:"property_values"` + Source string `json:"source"` } // RulesetRepositoryPropertyConditionParameters represents the conditions object for repository_property. @@ -79,6 +80,11 @@ type RulePatternParameters struct { Pattern string `json:"pattern"` } +// RuleFileParameters represents a list of file paths. +type RuleFileParameters struct { + RestrictedFilePaths *[]string `json:"restricted_file_paths"` +} + // UpdateAllowsFetchAndMergeRuleParameters represents the update rule parameters. type UpdateAllowsFetchAndMergeRuleParameters struct { UpdateAllowsFetchAndMerge bool `json:"update_allows_fetch_and_merge"` @@ -104,8 +110,22 @@ type RuleRequiredStatusChecks struct { IntegrationID *int64 `json:"integration_id,omitempty"` } +// MergeQueueRuleParameters represents the merge_queue rule parameters. +type MergeQueueRuleParameters struct { + CheckResponseTimeoutMinutes int `json:"check_response_timeout_minutes"` + // Possible values for GroupingStrategy are: ALLGREEN, HEADGREEN + GroupingStrategy string `json:"grouping_strategy"` + MaxEntriesToBuild int `json:"max_entries_to_build"` + MaxEntriesToMerge int `json:"max_entries_to_merge"` + // Possible values for MergeMethod are: MERGE, SQUASH, REBASE + MergeMethod string `json:"merge_method"` + MinEntriesToMerge int `json:"min_entries_to_merge"` + MinEntriesToMergeWaitMinutes int `json:"min_entries_to_merge_wait_minutes"` +} + // RequiredStatusChecksRuleParameters represents the required_status_checks rule parameters. type RequiredStatusChecksRuleParameters struct { + DoNotEnforceOnCreate bool `json:"do_not_enforce_on_create"` RequiredStatusChecks []RuleRequiredStatusChecks `json:"required_status_checks"` StrictRequiredStatusChecksPolicy bool `json:"strict_required_status_checks_policy"` } @@ -147,7 +167,7 @@ func (r *RepositoryRule) UnmarshalJSON(data []byte) error { r.Type = RepositoryRule.Type switch RepositoryRule.Type { - case "creation", "deletion", "merge_queue", "non_fast_forward", "required_linear_history", "required_signatures": + case "creation", "deletion", "non_fast_forward", "required_linear_history", "required_signatures": r.Parameters = nil case "update": if RepositoryRule.Parameters == nil { @@ -163,7 +183,20 @@ func (r *RepositoryRule) UnmarshalJSON(data []byte) error { rawParams := json.RawMessage(bytes) r.Parameters = &rawParams + case "merge_queue": + if RepositoryRule.Parameters == nil { + r.Parameters = nil + return nil + } + params := MergeQueueRuleParameters{} + if err := json.Unmarshal(*RepositoryRule.Parameters, ¶ms); err != nil { + return err + } + bytes, _ := json.Marshal(params) + rawParams := json.RawMessage(bytes) + + r.Parameters = &rawParams case "required_deployments": params := RequiredDeploymentEnvironmentsRuleParameters{} if err := json.Unmarshal(*RepositoryRule.Parameters, ¶ms); err != nil { @@ -213,6 +246,15 @@ func (r *RepositoryRule) UnmarshalJSON(data []byte) error { bytes, _ := json.Marshal(params) rawParams := json.RawMessage(bytes) + r.Parameters = &rawParams + case "file_path_restriction": + params := RuleFileParameters{} + if err := json.Unmarshal(*RepositoryRule.Parameters, ¶ms); err != nil { + return err + } + bytes, _ := json.Marshal(params) + rawParams := json.RawMessage(bytes) + r.Parameters = &rawParams default: r.Type = "" @@ -224,7 +266,17 @@ func (r *RepositoryRule) UnmarshalJSON(data []byte) error { } // NewMergeQueueRule creates a rule to only allow merges via a merge queue. -func NewMergeQueueRule() (rule *RepositoryRule) { +func NewMergeQueueRule(params *MergeQueueRuleParameters) (rule *RepositoryRule) { + if params != nil { + bytes, _ := json.Marshal(params) + + rawParams := json.RawMessage(bytes) + + return &RepositoryRule{ + Type: "merge_queue", + Parameters: &rawParams, + } + } return &RepositoryRule{ Type: "merge_queue", } @@ -390,6 +442,18 @@ func NewRequiredWorkflowsRule(params *RequiredWorkflowsRuleParameters) (rule *Re } } +// NewFilePathRestrictionRule creates a rule to restrict file paths from being pushed to. +func NewFilePathRestrictionRule(params *RuleFileParameters) (rule *RepositoryRule) { + bytes, _ := json.Marshal(params) + + rawParams := json.RawMessage(bytes) + + return &RepositoryRule{ + Type: "file_path_restriction", + Parameters: &rawParams, + } +} + // Ruleset represents a GitHub ruleset object. type Ruleset struct { ID *int64 `json:"id,omitempty"` diff --git a/vendor/github.com/google/go-github/v63/github/repos_stats.go b/vendor/github.com/google/go-github/v65/github/repos_stats.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_stats.go rename to vendor/github.com/google/go-github/v65/github/repos_stats.go diff --git a/vendor/github.com/google/go-github/v63/github/repos_statuses.go b/vendor/github.com/google/go-github/v65/github/repos_statuses.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_statuses.go rename to vendor/github.com/google/go-github/v65/github/repos_statuses.go diff --git a/vendor/github.com/google/go-github/v63/github/repos_tags.go b/vendor/github.com/google/go-github/v65/github/repos_tags.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_tags.go rename to vendor/github.com/google/go-github/v65/github/repos_tags.go diff --git a/vendor/github.com/google/go-github/v63/github/repos_traffic.go b/vendor/github.com/google/go-github/v65/github/repos_traffic.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/repos_traffic.go rename to vendor/github.com/google/go-github/v65/github/repos_traffic.go diff --git a/vendor/github.com/google/go-github/v63/github/scim.go b/vendor/github.com/google/go-github/v65/github/scim.go similarity index 96% rename from vendor/github.com/google/go-github/v63/github/scim.go rename to vendor/github.com/google/go-github/v65/github/scim.go index 02136d7ef9..4b34c1663c 100644 --- a/vendor/github.com/google/go-github/v63/github/scim.go +++ b/vendor/github.com/google/go-github/v65/github/scim.go @@ -110,19 +110,21 @@ func (s *SCIMService) ListSCIMProvisionedIdentities(ctx context.Context, org str // GitHub API docs: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#provision-and-invite-a-scim-user // //meta:operation POST /scim/v2/organizations/{org}/Users -func (s *SCIMService) ProvisionAndInviteSCIMUser(ctx context.Context, org string, opts *SCIMUserAttributes) (*Response, error) { +func (s *SCIMService) ProvisionAndInviteSCIMUser(ctx context.Context, org string, opts *SCIMUserAttributes) (*SCIMUserAttributes, *Response, error) { u := fmt.Sprintf("scim/v2/organizations/%v/Users", org) - u, err := addOptions(u, opts) + + req, err := s.client.NewRequest("POST", u, opts) if err != nil { - return nil, err + return nil, nil, err } - req, err := s.client.NewRequest("POST", u, nil) + user := new(SCIMUserAttributes) + resp, err := s.client.Do(ctx, req, user) if err != nil { - return nil, err + return nil, resp, err } - return s.client.Do(ctx, req, nil) + return user, resp, nil } // GetSCIMProvisioningInfoForUser returns SCIM provisioning information for a user. diff --git a/vendor/github.com/google/go-github/v63/github/search.go b/vendor/github.com/google/go-github/v65/github/search.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/search.go rename to vendor/github.com/google/go-github/v65/github/search.go diff --git a/vendor/github.com/google/go-github/v63/github/secret_scanning.go b/vendor/github.com/google/go-github/v65/github/secret_scanning.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/secret_scanning.go rename to vendor/github.com/google/go-github/v65/github/secret_scanning.go diff --git a/vendor/github.com/google/go-github/v63/github/security_advisories.go b/vendor/github.com/google/go-github/v65/github/security_advisories.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/security_advisories.go rename to vendor/github.com/google/go-github/v65/github/security_advisories.go diff --git a/vendor/github.com/google/go-github/v63/github/strings.go b/vendor/github.com/google/go-github/v65/github/strings.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/strings.go rename to vendor/github.com/google/go-github/v65/github/strings.go diff --git a/vendor/github.com/google/go-github/v63/github/teams.go b/vendor/github.com/google/go-github/v65/github/teams.go similarity index 99% rename from vendor/github.com/google/go-github/v63/github/teams.go rename to vendor/github.com/google/go-github/v65/github/teams.go index 0f6cc9d16e..b44e9418c0 100644 --- a/vendor/github.com/google/go-github/v63/github/teams.go +++ b/vendor/github.com/google/go-github/v65/github/teams.go @@ -796,6 +796,14 @@ func (s *TeamsService) RemoveTeamProjectBySlug(ctx context.Context, org, slug st return s.client.Do(ctx, req, nil) } +// ListIDPGroupsOptions specifies the optional parameters to the ListIDPGroupsInOrganization method. +type ListIDPGroupsOptions struct { + // Filters the results to return only those that begin with the value specified by this parameter. + Query string `url:"q,omitempty"` + + ListCursorOptions +} + // IDPGroupList represents a list of external identity provider (IDP) groups. type IDPGroupList struct { Groups []*IDPGroup `json:"groups"` @@ -813,7 +821,7 @@ type IDPGroup struct { // GitHub API docs: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-an-organization // //meta:operation GET /orgs/{org}/team-sync/groups -func (s *TeamsService) ListIDPGroupsInOrganization(ctx context.Context, org string, opts *ListCursorOptions) (*IDPGroupList, *Response, error) { +func (s *TeamsService) ListIDPGroupsInOrganization(ctx context.Context, org string, opts *ListIDPGroupsOptions) (*IDPGroupList, *Response, error) { u := fmt.Sprintf("orgs/%v/team-sync/groups", org) u, err := addOptions(u, opts) if err != nil { diff --git a/vendor/github.com/google/go-github/v63/github/teams_discussion_comments.go b/vendor/github.com/google/go-github/v65/github/teams_discussion_comments.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/teams_discussion_comments.go rename to vendor/github.com/google/go-github/v65/github/teams_discussion_comments.go diff --git a/vendor/github.com/google/go-github/v63/github/teams_discussions.go b/vendor/github.com/google/go-github/v65/github/teams_discussions.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/teams_discussions.go rename to vendor/github.com/google/go-github/v65/github/teams_discussions.go diff --git a/vendor/github.com/google/go-github/v63/github/teams_members.go b/vendor/github.com/google/go-github/v65/github/teams_members.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/teams_members.go rename to vendor/github.com/google/go-github/v65/github/teams_members.go diff --git a/vendor/github.com/google/go-github/v63/github/timestamp.go b/vendor/github.com/google/go-github/v65/github/timestamp.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/timestamp.go rename to vendor/github.com/google/go-github/v65/github/timestamp.go diff --git a/vendor/github.com/google/go-github/v63/github/users.go b/vendor/github.com/google/go-github/v65/github/users.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/users.go rename to vendor/github.com/google/go-github/v65/github/users.go diff --git a/vendor/github.com/google/go-github/v63/github/users_administration.go b/vendor/github.com/google/go-github/v65/github/users_administration.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/users_administration.go rename to vendor/github.com/google/go-github/v65/github/users_administration.go diff --git a/vendor/github.com/google/go-github/v63/github/users_blocking.go b/vendor/github.com/google/go-github/v65/github/users_blocking.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/users_blocking.go rename to vendor/github.com/google/go-github/v65/github/users_blocking.go diff --git a/vendor/github.com/google/go-github/v63/github/users_emails.go b/vendor/github.com/google/go-github/v65/github/users_emails.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/users_emails.go rename to vendor/github.com/google/go-github/v65/github/users_emails.go diff --git a/vendor/github.com/google/go-github/v63/github/users_followers.go b/vendor/github.com/google/go-github/v65/github/users_followers.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/users_followers.go rename to vendor/github.com/google/go-github/v65/github/users_followers.go diff --git a/vendor/github.com/google/go-github/v63/github/users_gpg_keys.go b/vendor/github.com/google/go-github/v65/github/users_gpg_keys.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/users_gpg_keys.go rename to vendor/github.com/google/go-github/v65/github/users_gpg_keys.go diff --git a/vendor/github.com/google/go-github/v63/github/users_keys.go b/vendor/github.com/google/go-github/v65/github/users_keys.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/users_keys.go rename to vendor/github.com/google/go-github/v65/github/users_keys.go diff --git a/vendor/github.com/google/go-github/v63/github/users_packages.go b/vendor/github.com/google/go-github/v65/github/users_packages.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/users_packages.go rename to vendor/github.com/google/go-github/v65/github/users_packages.go diff --git a/vendor/github.com/google/go-github/v63/github/users_projects.go b/vendor/github.com/google/go-github/v65/github/users_projects.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/users_projects.go rename to vendor/github.com/google/go-github/v65/github/users_projects.go diff --git a/vendor/github.com/google/go-github/v63/github/users_ssh_signing_keys.go b/vendor/github.com/google/go-github/v65/github/users_ssh_signing_keys.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/users_ssh_signing_keys.go rename to vendor/github.com/google/go-github/v65/github/users_ssh_signing_keys.go diff --git a/vendor/github.com/google/go-github/v63/github/with_appengine.go b/vendor/github.com/google/go-github/v65/github/with_appengine.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/with_appengine.go rename to vendor/github.com/google/go-github/v65/github/with_appengine.go diff --git a/vendor/github.com/google/go-github/v63/github/without_appengine.go b/vendor/github.com/google/go-github/v65/github/without_appengine.go similarity index 100% rename from vendor/github.com/google/go-github/v63/github/without_appengine.go rename to vendor/github.com/google/go-github/v65/github/without_appengine.go diff --git a/vendor/modules.txt b/vendor/modules.txt index 831aee05e4..922bac909f 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -440,9 +440,11 @@ github.com/google/go-cmp/cmp/internal/diff github.com/google/go-cmp/cmp/internal/flags github.com/google/go-cmp/cmp/internal/function github.com/google/go-cmp/cmp/internal/value -# github.com/google/go-github/v63 v63.0.0 +# github.com/google/go-github/v64 v64.0.0 ## explicit; go 1.21 -github.com/google/go-github/v63/github +# github.com/google/go-github/v65 v65.0.0 +## explicit; go 1.21 +github.com/google/go-github/v65/github # github.com/google/go-querystring v1.1.0 ## explicit; go 1.10 github.com/google/go-querystring/query