From 438cca35a5f630cebf5509f09844ad224ef980d7 Mon Sep 17 00:00:00 2001 From: Sam Robson Date: Tue, 6 Jun 2023 17:03:02 +0100 Subject: [PATCH] chore: bump google/go-github to v53.0.0 --- 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_branch.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 +- ...ce_github_organization_team_sync_groups.go | 2 +- ...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_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 +- ...resource_github_enterprise_organization.go | 2 +- github/resource_github_issue.go | 2 +- github/resource_github_issue_label.go | 2 +- github/resource_github_membership.go | 2 +- github/resource_github_membership_test.go | 2 +- .../resource_github_organization_project.go | 2 +- ...source_github_organization_project_test.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 +- .../resource_github_repository_environment.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 +- ...source_github_repository_tag_protection.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/transport.go | 2 +- github/transport_test.go | 2 +- github/util.go | 2 +- go.mod | 2 +- go.sum | 8 +- .../go-github/v52/github/orgs_audit_log.go | 119 -------- .../google/go-github/{v52 => v53}/AUTHORS | 0 .../google/go-github/{v52 => v53}/LICENSE | 0 .../go-github/{v52 => v53}/github/actions.go | 0 .../{v52 => v53}/github/actions_artifacts.go | 0 .../{v52 => v53}/github/actions_cache.go | 0 .../{v52 => v53}/github/actions_oidc.go | 0 .../github/actions_required_workflows.go | 2 +- .../github/actions_runner_groups.go | 0 .../{v52 => v53}/github/actions_runners.go | 0 .../{v52 => v53}/github/actions_secrets.go | 0 .../{v52 => v53}/github/actions_variables.go | 0 .../github/actions_workflow_jobs.go | 0 .../github/actions_workflow_runs.go | 1 + .../{v52 => v53}/github/actions_workflows.go | 0 .../go-github/{v52 => v53}/github/activity.go | 0 .../{v52 => v53}/github/activity_events.go | 0 .../github/activity_notifications.go | 0 .../{v52 => v53}/github/activity_star.go | 0 .../{v52 => v53}/github/activity_watching.go | 0 .../go-github/{v52 => v53}/github/admin.go | 0 .../{v52 => v53}/github/admin_orgs.go | 0 .../{v52 => v53}/github/admin_stats.go | 0 .../{v52 => v53}/github/admin_users.go | 0 .../go-github/{v52 => v53}/github/apps.go | 0 .../{v52 => v53}/github/apps_hooks.go | 0 .../github/apps_hooks_deliveries.go | 0 .../{v52 => v53}/github/apps_installation.go | 0 .../{v52 => v53}/github/apps_manifest.go | 0 .../{v52 => v53}/github/apps_marketplace.go | 0 .../{v52 => v53}/github/authorizations.go | 0 .../go-github/{v52 => v53}/github/billing.go | 0 .../go-github/{v52 => v53}/github/checks.go | 0 .../{v52 => v53}/github/code-scanning.go | 0 .../{v52 => v53}/github/dependabot.go | 0 .../{v52 => v53}/github/dependabot_alerts.go | 1 + .../{v52 => v53}/github/dependabot_secrets.go | 2 +- .../go-github/{v52 => v53}/github/doc.go | 2 +- .../{v52 => v53}/github/enterprise.go | 0 .../github/enterprise_actions_runners.go | 0 .../github/enterprise_audit_log.go | 0 .../enterprise_code_security_and_analysis.go | 0 .../go-github/{v52 => v53}/github/event.go | 2 + .../{v52 => v53}/github/event_types.go | 19 ++ .../go-github/{v52 => v53}/github/gists.go | 0 .../{v52 => v53}/github/gists_comments.go | 0 .../go-github/{v52 => v53}/github/git.go | 0 .../{v52 => v53}/github/git_blobs.go | 0 .../{v52 => v53}/github/git_commits.go | 0 .../go-github/{v52 => v53}/github/git_refs.go | 0 .../go-github/{v52 => v53}/github/git_tags.go | 0 .../{v52 => v53}/github/git_trees.go | 0 .../{v52 => v53}/github/github-accessors.go | 256 ++++++++++++++++++ .../go-github/{v52 => v53}/github/github.go | 36 ++- .../{v52 => v53}/github/gitignore.go | 0 .../{v52 => v53}/github/interactions.go | 0 .../{v52 => v53}/github/interactions_orgs.go | 0 .../{v52 => v53}/github/interactions_repos.go | 0 .../{v52 => v53}/github/issue_import.go | 0 .../go-github/{v52 => v53}/github/issues.go | 0 .../{v52 => v53}/github/issues_assignees.go | 0 .../{v52 => v53}/github/issues_comments.go | 0 .../{v52 => v53}/github/issues_events.go | 0 .../{v52 => v53}/github/issues_labels.go | 0 .../{v52 => v53}/github/issues_milestones.go | 0 .../{v52 => v53}/github/issues_timeline.go | 0 .../go-github/{v52 => v53}/github/licenses.go | 0 .../go-github/{v52 => v53}/github/messages.go | 1 + .../{v52 => v53}/github/migrations.go | 0 .../github/migrations_source_import.go | 0 .../{v52 => v53}/github/migrations_user.go | 0 .../go-github/{v52 => v53}/github/misc.go | 0 .../go-github/{v52 => v53}/github/orgs.go | 0 .../github/orgs_actions_allowed.go | 0 .../github/orgs_actions_permissions.go | 0 .../go-github/v53/github/orgs_audit_log.go | 148 ++++++++++ .../{v52 => v53}/github/orgs_custom_roles.go | 0 .../{v52 => v53}/github/orgs_hooks.go | 0 .../github/orgs_hooks_deliveries.go | 0 .../{v52 => v53}/github/orgs_members.go | 4 +- .../github/orgs_outside_collaborators.go | 0 .../{v52 => v53}/github/orgs_packages.go | 0 .../{v52 => v53}/github/orgs_projects.go | 0 .../github/orgs_security_managers.go | 0 .../github/orgs_users_blocking.go | 0 .../go-github/{v52 => v53}/github/packages.go | 0 .../go-github/{v52 => v53}/github/projects.go | 0 .../go-github/{v52 => v53}/github/pulls.go | 0 .../{v52 => v53}/github/pulls_comments.go | 0 .../{v52 => v53}/github/pulls_reviewers.go | 0 .../{v52 => v53}/github/pulls_reviews.go | 0 .../{v52 => v53}/github/pulls_threads.go | 0 .../{v52 => v53}/github/reactions.go | 0 .../go-github/{v52 => v53}/github/repos.go | 1 + .../github/repos_actions_access.go | 0 .../github/repos_actions_allowed.go | 0 .../github/repos_actions_permissions.go | 0 .../{v52 => v53}/github/repos_autolinks.go | 0 .../{v52 => v53}/github/repos_codeowners.go | 0 .../github/repos_collaborators.go | 0 .../{v52 => v53}/github/repos_comments.go | 0 .../{v52 => v53}/github/repos_commits.go | 0 .../github/repos_community_health.go | 0 .../{v52 => v53}/github/repos_contents.go | 0 .../repos_deployment_branch_policies.go | 0 .../{v52 => v53}/github/repos_deployments.go | 0 .../{v52 => v53}/github/repos_environments.go | 0 .../{v52 => v53}/github/repos_forks.go | 0 .../{v52 => v53}/github/repos_hooks.go | 0 .../github/repos_hooks_deliveries.go | 0 .../{v52 => v53}/github/repos_invitations.go | 0 .../{v52 => v53}/github/repos_keys.go | 0 .../{v52 => v53}/github/repos_lfs.go | 0 .../{v52 => v53}/github/repos_merging.go | 0 .../{v52 => v53}/github/repos_pages.go | 0 .../github/repos_prereceive_hooks.go | 0 .../{v52 => v53}/github/repos_projects.go | 0 .../{v52 => v53}/github/repos_releases.go | 0 .../{v52 => v53}/github/repos_stats.go | 0 .../{v52 => v53}/github/repos_statuses.go | 0 .../{v52 => v53}/github/repos_tags.go | 0 .../{v52 => v53}/github/repos_traffic.go | 0 .../go-github/{v52 => v53}/github/scim.go | 0 .../go-github/{v52 => v53}/github/search.go | 0 .../{v52 => v53}/github/secret_scanning.go | 0 .../go-github/{v52 => v53}/github/strings.go | 0 .../go-github/{v52 => v53}/github/teams.go | 0 .../github/teams_discussion_comments.go | 0 .../{v52 => v53}/github/teams_discussions.go | 0 .../{v52 => v53}/github/teams_members.go | 0 .../{v52 => v53}/github/timestamp.go | 0 .../go-github/{v52 => v53}/github/users.go | 0 .../github/users_administration.go | 0 .../{v52 => v53}/github/users_blocking.go | 0 .../{v52 => v53}/github/users_emails.go | 0 .../{v52 => v53}/github/users_followers.go | 0 .../{v52 => v53}/github/users_gpg_keys.go | 0 .../{v52 => v53}/github/users_keys.go | 0 .../{v52 => v53}/github/users_packages.go | 0 .../{v52 => v53}/github/users_projects.go | 0 .../github/users_ssh_signing_keys.go | 0 .../{v52 => v53}/github/with_appengine.go | 0 .../{v52 => v53}/github/without_appengine.go | 0 vendor/modules.txt | 4 +- 241 files changed, 562 insertions(+), 236 deletions(-) delete mode 100644 vendor/github.com/google/go-github/v52/github/orgs_audit_log.go rename vendor/github.com/google/go-github/{v52 => v53}/AUTHORS (100%) rename vendor/github.com/google/go-github/{v52 => v53}/LICENSE (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/actions.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/actions_artifacts.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/actions_cache.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/actions_oidc.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/actions_required_workflows.go (99%) rename vendor/github.com/google/go-github/{v52 => v53}/github/actions_runner_groups.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/actions_runners.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/actions_secrets.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/actions_variables.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/actions_workflow_jobs.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/actions_workflow_runs.go (99%) rename vendor/github.com/google/go-github/{v52 => v53}/github/actions_workflows.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/activity.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/activity_events.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/activity_notifications.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/activity_star.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/activity_watching.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/admin.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/admin_orgs.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/admin_stats.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/admin_users.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/apps.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/apps_hooks.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/apps_hooks_deliveries.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/apps_installation.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/apps_manifest.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/apps_marketplace.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/authorizations.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/billing.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/checks.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/code-scanning.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/dependabot.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/dependabot_alerts.go (98%) rename vendor/github.com/google/go-github/{v52 => v53}/github/dependabot_secrets.go (99%) rename vendor/github.com/google/go-github/{v52 => v53}/github/doc.go (99%) rename vendor/github.com/google/go-github/{v52 => v53}/github/enterprise.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/enterprise_actions_runners.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/enterprise_audit_log.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/enterprise_code_security_and_analysis.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/event.go (98%) rename vendor/github.com/google/go-github/{v52 => v53}/github/event_types.go (98%) rename vendor/github.com/google/go-github/{v52 => v53}/github/gists.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/gists_comments.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/git.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/git_blobs.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/git_commits.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/git_refs.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/git_tags.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/git_trees.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/github-accessors.go (98%) rename vendor/github.com/google/go-github/{v52 => v53}/github/github.go (97%) rename vendor/github.com/google/go-github/{v52 => v53}/github/gitignore.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/interactions.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/interactions_orgs.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/interactions_repos.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/issue_import.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/issues.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/issues_assignees.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/issues_comments.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/issues_events.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/issues_labels.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/issues_milestones.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/issues_timeline.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/licenses.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/messages.go (99%) rename vendor/github.com/google/go-github/{v52 => v53}/github/migrations.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/migrations_source_import.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/migrations_user.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/misc.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/orgs.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/orgs_actions_allowed.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/orgs_actions_permissions.go (100%) create mode 100644 vendor/github.com/google/go-github/v53/github/orgs_audit_log.go rename vendor/github.com/google/go-github/{v52 => v53}/github/orgs_custom_roles.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/orgs_hooks.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/orgs_hooks_deliveries.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/orgs_members.go (99%) rename vendor/github.com/google/go-github/{v52 => v53}/github/orgs_outside_collaborators.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/orgs_packages.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/orgs_projects.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/orgs_security_managers.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/orgs_users_blocking.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/packages.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/projects.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/pulls.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/pulls_comments.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/pulls_reviewers.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/pulls_reviews.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/pulls_threads.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/reactions.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/repos.go (99%) rename vendor/github.com/google/go-github/{v52 => v53}/github/repos_actions_access.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/repos_actions_allowed.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/repos_actions_permissions.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/repos_autolinks.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/repos_codeowners.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/repos_collaborators.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/repos_comments.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/repos_commits.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/repos_community_health.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/repos_contents.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/repos_deployment_branch_policies.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/repos_deployments.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/repos_environments.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/repos_forks.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/repos_hooks.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/repos_hooks_deliveries.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/repos_invitations.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/repos_keys.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/repos_lfs.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/repos_merging.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/repos_pages.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/repos_prereceive_hooks.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/repos_projects.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/repos_releases.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/repos_stats.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/repos_statuses.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/repos_tags.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/repos_traffic.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/scim.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/search.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/secret_scanning.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/strings.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/teams.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/teams_discussion_comments.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/teams_discussions.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/teams_members.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/timestamp.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/users.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/users_administration.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/users_blocking.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/users_emails.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/users_followers.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/users_gpg_keys.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/users_keys.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/users_packages.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/users_projects.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/users_ssh_signing_keys.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/with_appengine.go (100%) rename vendor/github.com/google/go-github/{v52 => v53}/github/without_appengine.go (100%) diff --git a/github/config.go b/github/config.go index 1d45621570..af54cd07f4 100644 --- a/github/config.go +++ b/github/config.go @@ -9,7 +9,7 @@ import ( "strings" "time" - "github.com/google/go-github/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/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 ea1ed2753b..fa009eeca2 100644 --- a/github/data_source_github_actions_environment_secrets.go +++ b/github/data_source_github_actions_environment_secrets.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/google/go-github/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/data_source_github_actions_environment_variables.go b/github/data_source_github_actions_environment_variables.go index c93481db8b..234bffc33e 100644 --- a/github/data_source_github_actions_environment_variables.go +++ b/github/data_source_github_actions_environment_variables.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/google/go-github/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/data_source_github_actions_organization_secrets.go b/github/data_source_github_actions_organization_secrets.go index c7c4193abe..5322f20d91 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/data_source_github_actions_organization_variables.go b/github/data_source_github_actions_organization_variables.go index e949cce602..6dbe52d306 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/data_source_github_actions_secrets.go b/github/data_source_github_actions_secrets.go index 7bf4cb9242..d33e430b06 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/data_source_github_actions_variables.go b/github/data_source_github_actions_variables.go index d8a3bdc8f2..4bc5994d95 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/data_source_github_branch.go b/github/data_source_github_branch.go index 4079518e48..477245b62d 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/data_source_github_collaborators.go b/github/data_source_github_collaborators.go index a1d6e88cd9..36770282a0 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/helper/validation" ) diff --git a/github/data_source_github_dependabot_organization_secrets.go b/github/data_source_github_dependabot_organization_secrets.go index ec8026d072..e6bc1121c7 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/data_source_github_dependabot_secrets.go b/github/data_source_github_dependabot_secrets.go index 7810d0f8f3..bdb9aee691 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/data_source_github_external_groups.go b/github/data_source_github_external_groups.go index e1163465ab..ef368c38dc 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/data_source_github_issue_labels.go b/github/data_source_github_issue_labels.go index a8c747a72a..a1c80174f3 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/data_source_github_organization.go b/github/data_source_github_organization.go index 7f618c6707..05c66b3eda 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" "github.com/shurcooL/githubv4" ) diff --git a/github/data_source_github_organization_team_sync_groups.go b/github/data_source_github_organization_team_sync_groups.go index 2bea30336f..bf4a12f6fc 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/data_source_github_organization_webhooks.go b/github/data_source_github_organization_webhooks.go index 8ecac54cac..033814c2f1 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/data_source_github_ref.go b/github/data_source_github_ref.go index fedd0c2295..6e3bb39b65 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/data_source_github_release.go b/github/data_source_github_release.go index a0f413c43a..3b447efda5 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/helper/validation" - "github.com/google/go-github/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/data_source_github_repositories.go b/github/data_source_github_repositories.go index d031e9e10b..d67e1e1e04 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/helper/validation" ) diff --git a/github/data_source_github_repository.go b/github/data_source_github_repository.go index c2ff924d23..c0676e0926 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/data_source_github_repository_autolink_references.go b/github/data_source_github_repository_autolink_references.go index 7a8fd4dd74..5e1815b85a 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/data_source_github_repository_branches.go b/github/data_source_github_repository_branches.go index 34c9bb0358..541d515e68 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/data_source_github_repository_deploy_keys.go b/github/data_source_github_repository_deploy_keys.go index 8d45d7cd82..cf94c1d9e6 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/data_source_github_repository_environments.go b/github/data_source_github_repository_environments.go index 155ac73e60..b5ebd935dd 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/data_source_github_repository_file.go b/github/data_source_github_repository_file.go index c55b17f5f1..cdc73dece1 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/data_source_github_repository_file_test.go b/github/data_source_github_repository_file_test.go index 7fa69076ea..ef29540246 100644 --- a/github/data_source_github_repository_file_test.go +++ b/github/data_source_github_repository_file_test.go @@ -8,7 +8,7 @@ import ( "net/url" "testing" - "github.com/google/go-github/v52/github" + "github.com/google/go-github/v53/github" "github.com/stretchr/testify/assert" "github.com/hashicorp/terraform-plugin-sdk/helper/acctest" diff --git a/github/data_source_github_repository_pull_requests.go b/github/data_source_github_repository_pull_requests.go index c7fd692136..9f8a77f3cb 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/helper/validation" ) diff --git a/github/data_source_github_repository_teams.go b/github/data_source_github_repository_teams.go index ba56f6c4a4..beda52c8ef 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/data_source_github_repository_webhooks.go b/github/data_source_github_repository_webhooks.go index 632990b863..4bcb14be86 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/data_source_github_team.go b/github/data_source_github_team.go index 48cd4f0007..70bccfe832 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/shurcooL/githubv4" diff --git a/github/repository_utils.go b/github/repository_utils.go index 8fc7ab66a8..ac34ce4d63 100644 --- a/github/repository_utils.go +++ b/github/repository_utils.go @@ -6,7 +6,7 @@ import ( "net/http" "strings" - "github.com/google/go-github/v52/github" + "github.com/google/go-github/v53/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 2da5287e1e..4bd2791de5 100644 --- a/github/resource_github_actions_environment_secret.go +++ b/github/resource_github_actions_environment_secret.go @@ -6,7 +6,7 @@ import ( "log" "net/http" - "github.com/google/go-github/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/helper/validation" ) diff --git a/github/resource_github_actions_environment_variable.go b/github/resource_github_actions_environment_variable.go index d3806ff4af..71002567e6 100644 --- a/github/resource_github_actions_environment_variable.go +++ b/github/resource_github_actions_environment_variable.go @@ -5,7 +5,7 @@ import ( "log" "net/http" - "github.com/google/go-github/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/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 541997149a..30bd03f4c0 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_actions_organization_permissions.go b/github/resource_github_actions_organization_permissions.go index 3d3ec1f2d3..8b3ed6cb31 100644 --- a/github/resource_github_actions_organization_permissions.go +++ b/github/resource_github_actions_organization_permissions.go @@ -4,7 +4,7 @@ import ( "context" "errors" - "github.com/google/go-github/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/helper/validation" ) diff --git a/github/resource_github_actions_organization_secret.go b/github/resource_github_actions_organization_secret.go index 3982cce64f..a21856a1b8 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/helper/validation" ) diff --git a/github/resource_github_actions_organization_secret_repositories.go b/github/resource_github_actions_organization_secret_repositories.go index a9e36f2e14..05afa4d3e6 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_actions_organization_variable.go b/github/resource_github_actions_organization_variable.go index 0c78c8aaf4..9baca613b6 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_actions_repository_access_level.go b/github/resource_github_actions_repository_access_level.go index 0d7bc914a6..4bccdb3708 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/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 a749335e74..938cc9b116 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/helper/validation" ) diff --git a/github/resource_github_actions_repository_permissions.go b/github/resource_github_actions_repository_permissions.go index b5867c3901..d3cc4ab442 100644 --- a/github/resource_github_actions_repository_permissions.go +++ b/github/resource_github_actions_repository_permissions.go @@ -5,7 +5,7 @@ import ( "errors" "log" - "github.com/google/go-github/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/helper/validation" ) diff --git a/github/resource_github_actions_runner_group.go b/github/resource_github_actions_runner_group.go index 2cdf6a9aa6..31c3f35e90 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/helper/validation" ) diff --git a/github/resource_github_actions_secret.go b/github/resource_github_actions_secret.go index 21ef825f35..22cfc66ad7 100644 --- a/github/resource_github_actions_secret.go +++ b/github/resource_github_actions_secret.go @@ -7,7 +7,7 @@ import ( "log" "net/http" - "github.com/google/go-github/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/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 138139b26d..c8897ba722 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_app_installation_repositories.go b/github/resource_github_app_installation_repositories.go index dacbe2f040..c7f9a1a51b 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_app_installation_repository.go b/github/resource_github_app_installation_repository.go index bdd70fe7a4..a29b56d349 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_branch.go b/github/resource_github_branch.go index 211ae464bf..feb5b41fdf 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_branch_default.go b/github/resource_github_branch_default.go index 28518b5d49..d3ba8365df 100644 --- a/github/resource_github_branch_default.go +++ b/github/resource_github_branch_default.go @@ -3,7 +3,7 @@ package github import ( "context" - "github.com/google/go-github/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_branch_protection_v3.go b/github/resource_github_branch_protection_v3.go index 4e697d874f..1d2ade5182 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/helper/validation" ) diff --git a/github/resource_github_branch_protection_v3_utils.go b/github/resource_github_branch_protection_v3_utils.go index dd51b9152e..3f6e20f18a 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_dependabot_organization_secret.go b/github/resource_github_dependabot_organization_secret.go index 820f69804c..13e29e3839 100644 --- a/github/resource_github_dependabot_organization_secret.go +++ b/github/resource_github_dependabot_organization_secret.go @@ -8,7 +8,7 @@ import ( "net/http" "strconv" - "github.com/google/go-github/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/helper/validation" ) diff --git a/github/resource_github_dependabot_organization_secret_repositories.go b/github/resource_github_dependabot_organization_secret_repositories.go index 658123cfc3..cbb4effed6 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_dependabot_secret.go b/github/resource_github_dependabot_secret.go index 2590eda032..b053d6350b 100644 --- a/github/resource_github_dependabot_secret.go +++ b/github/resource_github_dependabot_secret.go @@ -7,7 +7,7 @@ import ( "log" "net/http" - "github.com/google/go-github/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/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 32e49d98cf..302d9c5cb2 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_enterprise_organization.go b/github/resource_github_enterprise_organization.go index 7861a71746..a4ac9bd579 100644 --- a/github/resource_github_enterprise_organization.go +++ b/github/resource_github_enterprise_organization.go @@ -7,7 +7,7 @@ import ( "log" "strings" - "github.com/google/go-github/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" "github.com/shurcooL/githubv4" ) diff --git a/github/resource_github_issue.go b/github/resource_github_issue.go index 27a6d13daf..a89c285082 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_issue_label.go b/github/resource_github_issue_label.go index ba54dfda00..7d29dfbcb6 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_membership.go b/github/resource_github_membership.go index ddafe74af1..d07476e3e5 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_membership_test.go b/github/resource_github_membership_test.go index 11c8333027..d9d1a57878 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/terraform" ) diff --git a/github/resource_github_organization_project.go b/github/resource_github_organization_project.go index b408d15ca2..2afb7a1172 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_organization_project_test.go b/github/resource_github_organization_project_test.go index 03bec3ada3..1ecebb9068 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/terraform" ) diff --git a/github/resource_github_organization_security_manager.go b/github/resource_github_organization_security_manager.go index 480d258383..23f091be65 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_organization_settings.go b/github/resource_github_organization_settings.go index 392383cf48..8687a56932 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/helper/validation" ) diff --git a/github/resource_github_organization_webhook.go b/github/resource_github_organization_webhook.go index d159330a6e..d7e64c6572 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_project_card.go b/github/resource_github_project_card.go index e0cee530de..857ed55ead 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_project_column.go b/github/resource_github_project_column.go index ef5b2c06eb..be762dda6d 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_project_column_test.go b/github/resource_github_project_column_test.go index 4ac8453e1b..9bfad1df3e 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/terraform" ) diff --git a/github/resource_github_release.go b/github/resource_github_release.go index 10ce6fa349..5d55c1012f 100644 --- a/github/resource_github_release.go +++ b/github/resource_github_release.go @@ -6,7 +6,7 @@ import ( "log" "strconv" - "github.com/google/go-github/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_repository.go b/github/resource_github_repository.go index a7e3085274..640dd44fbb 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/helper/validation" ) diff --git a/github/resource_github_repository_autolink_reference.go b/github/resource_github_repository_autolink_reference.go index 667e49077f..c0c2dc1858 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/helper/validation" ) diff --git a/github/resource_github_repository_collaborator.go b/github/resource_github_repository_collaborator.go index bd66c0a408..422ce81876 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_repository_collaborators.go b/github/resource_github_repository_collaborators.go index 9f69ad6822..2d03f97463 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_repository_collaborators_test.go b/github/resource_github_repository_collaborators_test.go index b4162b34e3..ed5ddca1ea 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/terraform" diff --git a/github/resource_github_repository_deploy_key.go b/github/resource_github_repository_deploy_key.go index bb4a56cf98..360d0395b1 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_repository_environment.go b/github/resource_github_repository_environment.go index 28131b5728..0d4d3952ef 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/helper/validation" ) diff --git a/github/resource_github_repository_file.go b/github/resource_github_repository_file.go index 12a20b0411..e3173aa31e 100644 --- a/github/resource_github_repository_file.go +++ b/github/resource_github_repository_file.go @@ -8,7 +8,7 @@ import ( "fmt" - "github.com/google/go-github/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_repository_milestone.go b/github/resource_github_repository_milestone.go index 9b6da53ee9..abd22823fb 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/helper/validation" ) diff --git a/github/resource_github_repository_project.go b/github/resource_github_repository_project.go index ae30bca41d..cec2eb6239 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_repository_pull_request.go b/github/resource_github_repository_pull_request.go index d0dc977e0b..ec656173cd 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_repository_tag_protection.go b/github/resource_github_repository_tag_protection.go index a4b47d19c2..1f9d98c856 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_repository_webhook.go b/github/resource_github_repository_webhook.go index 49cc3dc94b..ec2c10e6d9 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_team.go b/github/resource_github_team.go index c6ef7a6b9b..1eae9da468 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/customdiff" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" "github.com/shurcooL/githubv4" diff --git a/github/resource_github_team_members.go b/github/resource_github_team_members.go index 35597bc7f2..5cccbdddd9 100644 --- a/github/resource_github_team_members.go +++ b/github/resource_github_team_members.go @@ -5,7 +5,7 @@ import ( "log" "reflect" - "github.com/google/go-github/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_team_members_test.go b/github/resource_github_team_members_test.go index fa3649fc9a..31306207ca 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/terraform" diff --git a/github/resource_github_team_membership.go b/github/resource_github_team_membership.go index 24e2f55a8d..f3e5659471 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_team_membership_test.go b/github/resource_github_team_membership_test.go index 59bb7b3dfe..f1a835fee2 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/terraform" diff --git a/github/resource_github_team_repository.go b/github/resource_github_team_repository.go index ce6ab26ec9..bd48350d92 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_team_sync_group_mapping.go b/github/resource_github_team_sync_group_mapping.go index d203cd630a..04fc6ae77b 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/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 9a9c621af4..edcf7aa1fe 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/acctest" "github.com/hashicorp/terraform-plugin-sdk/helper/resource" diff --git a/github/resource_github_user_gpg_key.go b/github/resource_github_user_gpg_key.go index dc0d325e64..e1e515856f 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_github_user_ssh_key.go b/github/resource_github_user_ssh_key.go index 64fb07244d..aaa74bb249 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/resource_organization_block.go b/github/resource_organization_block.go index 3a58024603..4f12012cb9 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/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/github/transport.go b/github/transport.go index fa8f739555..8db09b7f2c 100644 --- a/github/transport.go +++ b/github/transport.go @@ -8,7 +8,7 @@ import ( "sync" "time" - "github.com/google/go-github/v52/github" + "github.com/google/go-github/v53/github" ) const ( diff --git a/github/transport_test.go b/github/transport_test.go index a02d0b6064..44130189c7 100644 --- a/github/transport_test.go +++ b/github/transport_test.go @@ -3,7 +3,7 @@ package github import ( "context" "fmt" - "github.com/google/go-github/v52/github" + "github.com/google/go-github/v53/github" "io" "log" "net/http" diff --git a/github/util.go b/github/util.go index 18ca4f2f54..c2f213d5b2 100644 --- a/github/util.go +++ b/github/util.go @@ -12,7 +12,7 @@ import ( "strconv" "strings" - "github.com/google/go-github/v52/github" + "github.com/google/go-github/v53/github" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" ) diff --git a/go.mod b/go.mod index 590860954b..345cd7a463 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.17 require ( github.com/client9/misspell v0.3.4 github.com/golangci/golangci-lint v1.41.1 - github.com/google/go-github/v52 v52.0.0 + github.com/google/go-github/v53 v53.0.0 github.com/google/uuid v1.3.0 github.com/hashicorp/terraform-plugin-sdk v1.17.2 github.com/shurcooL/githubv4 v0.0.0-20221126192849-0b5c4c7994eb diff --git a/go.sum b/go.sum index 9667ea9915..4da2413ab1 100644 --- a/go.sum +++ b/go.sum @@ -728,8 +728,8 @@ github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8 github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-github/v52 v52.0.0 h1:uyGWOY+jMQ8GVGSX8dkSwCzlehU3WfdxQ7GweO/JP7M= -github.com/google/go-github/v52 v52.0.0/go.mod h1:WJV6VEEUPuMo5pXqqa2ZCZEdbQqua4zAk2MZTIo+m+4= +github.com/google/go-github/v53 v53.0.0 h1:T1RyHbSnpHYnoF0ZYKiIPSgPtuJ8G6vgc0MKodXsQDQ= +github.com/google/go-github/v53 v53.0.0/go.mod h1:XhFRObz+m/l+UCm9b7KSIC3lT3NWSXGt7mOsAWEloao= 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= @@ -1547,7 +1547,6 @@ golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= -golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns= golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= @@ -1576,7 +1575,6 @@ golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1/go.mod h1:h4gKUeWbJ4rQPri golang.org/x/oauth2 v0.0.0-20221006150949-b44042a4b9c1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.1.0/go.mod h1:G9FE4dLTsbXUu90h/Pf85g4w1D+SSAgR+q46nJZ8M4A= -golang.org/x/oauth2 v0.7.0/go.mod h1:hPLQkd9LyjfXTiRohC/41GhcFqxisoUQ99sCUOHO9x4= golang.org/x/oauth2 v0.8.0 h1:6dkIjl3j3LtZ/O3sTgZTMsLKSftL/B8Zgq4huOIIUu8= golang.org/x/oauth2 v0.8.0/go.mod h1:yr7u4HXZRm1R1kBWqr/xKNqewf0plRYoB7sla+BCIXE= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -1703,7 +1701,6 @@ golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU= golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= @@ -1713,7 +1710,6 @@ golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= -golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY= golang.org/x/term v0.8.0 h1:n5xxQn2i3PC0yLAbjTpNT85q/Kgzcr2gIoX9OrJUols= golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= diff --git a/vendor/github.com/google/go-github/v52/github/orgs_audit_log.go b/vendor/github.com/google/go-github/v52/github/orgs_audit_log.go deleted file mode 100644 index 700c233c80..0000000000 --- a/vendor/github.com/google/go-github/v52/github/orgs_audit_log.go +++ /dev/null @@ -1,119 +0,0 @@ -// Copyright 2021 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" -) - -// GetAuditLogOptions sets up optional parameters to query audit-log endpoint. -type GetAuditLogOptions struct { - Phrase *string `url:"phrase,omitempty"` // A search phrase. (Optional.) - Include *string `url:"include,omitempty"` // Event type includes. Can be one of "web", "git", "all". Default: "web". (Optional.) - Order *string `url:"order,omitempty"` // The order of audit log events. Can be one of "asc" or "desc". Default: "desc". (Optional.) - - ListCursorOptions -} - -// HookConfig describes metadata about a webhook configuration. -type HookConfig struct { - ContentType *string `json:"content_type,omitempty"` - InsecureSSL *string `json:"insecure_ssl,omitempty"` - URL *string `json:"url,omitempty"` - - // Secret is returned obfuscated by GitHub, but it can be set for outgoing requests. - Secret *string `json:"secret,omitempty"` -} - -// AuditEntry describes the fields that may be represented by various audit-log "action" entries. -// For a list of actions see - https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#audit-log-actions -type AuditEntry struct { - Action *string `json:"action,omitempty"` // The name of the action that was performed, for example `user.login` or `repo.create`. - Active *bool `json:"active,omitempty"` - ActiveWas *bool `json:"active_was,omitempty"` - Actor *string `json:"actor,omitempty"` // The actor who performed the action. - BlockedUser *string `json:"blocked_user,omitempty"` - Business *string `json:"business,omitempty"` - CancelledAt *Timestamp `json:"cancelled_at,omitempty"` - CompletedAt *Timestamp `json:"completed_at,omitempty"` - Conclusion *string `json:"conclusion,omitempty"` - Config *HookConfig `json:"config,omitempty"` - ConfigWas *HookConfig `json:"config_was,omitempty"` - ContentType *string `json:"content_type,omitempty"` - CreatedAt *Timestamp `json:"created_at,omitempty"` - DeployKeyFingerprint *string `json:"deploy_key_fingerprint,omitempty"` - DocumentID *string `json:"_document_id,omitempty"` - Emoji *string `json:"emoji,omitempty"` - EnvironmentName *string `json:"environment_name,omitempty"` - Event *string `json:"event,omitempty"` - Events []string `json:"events,omitempty"` - EventsWere []string `json:"events_were,omitempty"` - Explanation *string `json:"explanation,omitempty"` - Fingerprint *string `json:"fingerprint,omitempty"` - HeadBranch *string `json:"head_branch,omitempty"` - HeadSHA *string `json:"head_sha,omitempty"` - HookID *int64 `json:"hook_id,omitempty"` - IsHostedRunner *bool `json:"is_hosted_runner,omitempty"` - JobName *string `json:"job_name,omitempty"` - LimitedAvailability *bool `json:"limited_availability,omitempty"` - Message *string `json:"message,omitempty"` - Name *string `json:"name,omitempty"` - OldUser *string `json:"old_user,omitempty"` - OldPermission *string `json:"old_permission,omitempty"` // The permission level for membership changes, for example `admin` or `read`. - OpenSSHPublicKey *string `json:"openssh_public_key,omitempty"` - Org *string `json:"org,omitempty"` - Permission *string `json:"permission,omitempty"` // The permission level for membership changes, for example `admin` or `read`. - PreviousVisibility *string `json:"previous_visibility,omitempty"` - ReadOnly *string `json:"read_only,omitempty"` - Repo *string `json:"repo,omitempty"` - Repository *string `json:"repository,omitempty"` - RepositoryPublic *bool `json:"repository_public,omitempty"` - RunAttempt *int64 `json:"run_attempt,omitempty"` - RunnerGroupID *int64 `json:"runner_group_id,omitempty"` - RunnerGroupName *string `json:"runner_group_name,omitempty"` - RunnerID *int64 `json:"runner_id,omitempty"` - RunnerLabels []string `json:"runner_labels,omitempty"` - RunnerName *string `json:"runner_name,omitempty"` - SecretsPassed []string `json:"secrets_passed,omitempty"` - SourceVersion *string `json:"source_version,omitempty"` - StartedAt *Timestamp `json:"started_at,omitempty"` - TargetLogin *string `json:"target_login,omitempty"` - TargetVersion *string `json:"target_version,omitempty"` - Team *string `json:"team,omitempty"` - Timestamp *Timestamp `json:"@timestamp,omitempty"` // The time the audit log event occurred, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time). - TransportProtocolName *string `json:"transport_protocol_name,omitempty"` // A human readable name for the protocol (for example, HTTP or SSH) used to transfer Git data. - TransportProtocol *int `json:"transport_protocol,omitempty"` // The type of protocol (for example, HTTP=1 or SSH=2) used to transfer Git data. - TriggerID *int64 `json:"trigger_id,omitempty"` - User *string `json:"user,omitempty"` // The user that was affected by the action performed (if available). - Visibility *string `json:"visibility,omitempty"` // The repository visibility, for example `public` or `private`. - WorkflowID *int64 `json:"workflow_id,omitempty"` - WorkflowRunID *int64 `json:"workflow_run_id,omitempty"` -} - -// GetAuditLog gets the audit-log entries for an organization. -// -// GitHub API docs: https://docs.github.com/en/rest/orgs/orgs#get-the-audit-log-for-an-organization -func (s *OrganizationsService) GetAuditLog(ctx context.Context, org string, opts *GetAuditLogOptions) ([]*AuditEntry, *Response, error) { - u := fmt.Sprintf("orgs/%v/audit-log", org) - u, err := addOptions(u, opts) - if err != nil { - return nil, nil, err - } - - req, err := s.client.NewRequest("GET", u, nil) - if err != nil { - return nil, nil, err - } - - var auditEntries []*AuditEntry - resp, err := s.client.Do(ctx, req, &auditEntries) - if err != nil { - return nil, resp, err - } - - return auditEntries, resp, nil -} diff --git a/vendor/github.com/google/go-github/v52/AUTHORS b/vendor/github.com/google/go-github/v53/AUTHORS similarity index 100% rename from vendor/github.com/google/go-github/v52/AUTHORS rename to vendor/github.com/google/go-github/v53/AUTHORS diff --git a/vendor/github.com/google/go-github/v52/LICENSE b/vendor/github.com/google/go-github/v53/LICENSE similarity index 100% rename from vendor/github.com/google/go-github/v52/LICENSE rename to vendor/github.com/google/go-github/v53/LICENSE diff --git a/vendor/github.com/google/go-github/v52/github/actions.go b/vendor/github.com/google/go-github/v53/github/actions.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/actions.go rename to vendor/github.com/google/go-github/v53/github/actions.go diff --git a/vendor/github.com/google/go-github/v52/github/actions_artifacts.go b/vendor/github.com/google/go-github/v53/github/actions_artifacts.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/actions_artifacts.go rename to vendor/github.com/google/go-github/v53/github/actions_artifacts.go diff --git a/vendor/github.com/google/go-github/v52/github/actions_cache.go b/vendor/github.com/google/go-github/v53/github/actions_cache.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/actions_cache.go rename to vendor/github.com/google/go-github/v53/github/actions_cache.go diff --git a/vendor/github.com/google/go-github/v52/github/actions_oidc.go b/vendor/github.com/google/go-github/v53/github/actions_oidc.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/actions_oidc.go rename to vendor/github.com/google/go-github/v53/github/actions_oidc.go diff --git a/vendor/github.com/google/go-github/v52/github/actions_required_workflows.go b/vendor/github.com/google/go-github/v53/github/actions_required_workflows.go similarity index 99% rename from vendor/github.com/google/go-github/v52/github/actions_required_workflows.go rename to vendor/github.com/google/go-github/v53/github/actions_required_workflows.go index 11b96f60e4..3566eb9d20 100644 --- a/vendor/github.com/google/go-github/v52/github/actions_required_workflows.go +++ b/vendor/github.com/google/go-github/v53/github/actions_required_workflows.go @@ -94,7 +94,7 @@ func (s *ActionsService) ListOrgRequiredWorkflows(ctx context.Context, org strin // GitHub API docs: https://docs.github.com/en/rest/actions/required-workflows?apiVersion=2022-11-28#create-a-required-workflow func (s *ActionsService) CreateRequiredWorkflow(ctx context.Context, org string, createRequiredWorkflowOptions *CreateUpdateRequiredWorkflowOptions) (*OrgRequiredWorkflow, *Response, error) { url := fmt.Sprintf("orgs/%v/actions/required_workflows", org) - req, err := s.client.NewRequest("PUT", url, createRequiredWorkflowOptions) + req, err := s.client.NewRequest("POST", url, createRequiredWorkflowOptions) if err != nil { return nil, nil, err } diff --git a/vendor/github.com/google/go-github/v52/github/actions_runner_groups.go b/vendor/github.com/google/go-github/v53/github/actions_runner_groups.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/actions_runner_groups.go rename to vendor/github.com/google/go-github/v53/github/actions_runner_groups.go diff --git a/vendor/github.com/google/go-github/v52/github/actions_runners.go b/vendor/github.com/google/go-github/v53/github/actions_runners.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/actions_runners.go rename to vendor/github.com/google/go-github/v53/github/actions_runners.go diff --git a/vendor/github.com/google/go-github/v52/github/actions_secrets.go b/vendor/github.com/google/go-github/v53/github/actions_secrets.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/actions_secrets.go rename to vendor/github.com/google/go-github/v53/github/actions_secrets.go diff --git a/vendor/github.com/google/go-github/v52/github/actions_variables.go b/vendor/github.com/google/go-github/v53/github/actions_variables.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/actions_variables.go rename to vendor/github.com/google/go-github/v53/github/actions_variables.go diff --git a/vendor/github.com/google/go-github/v52/github/actions_workflow_jobs.go b/vendor/github.com/google/go-github/v53/github/actions_workflow_jobs.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/actions_workflow_jobs.go rename to vendor/github.com/google/go-github/v53/github/actions_workflow_jobs.go diff --git a/vendor/github.com/google/go-github/v52/github/actions_workflow_runs.go b/vendor/github.com/google/go-github/v53/github/actions_workflow_runs.go similarity index 99% rename from vendor/github.com/google/go-github/v52/github/actions_workflow_runs.go rename to vendor/github.com/google/go-github/v53/github/actions_workflow_runs.go index 704048774e..61f736be4f 100644 --- a/vendor/github.com/google/go-github/v52/github/actions_workflow_runs.go +++ b/vendor/github.com/google/go-github/v53/github/actions_workflow_runs.go @@ -22,6 +22,7 @@ type WorkflowRun struct { RunNumber *int `json:"run_number,omitempty"` RunAttempt *int `json:"run_attempt,omitempty"` Event *string `json:"event,omitempty"` + DisplayTitle *string `json:"display_title,omitempty"` Status *string `json:"status,omitempty"` Conclusion *string `json:"conclusion,omitempty"` WorkflowID *int64 `json:"workflow_id,omitempty"` diff --git a/vendor/github.com/google/go-github/v52/github/actions_workflows.go b/vendor/github.com/google/go-github/v53/github/actions_workflows.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/actions_workflows.go rename to vendor/github.com/google/go-github/v53/github/actions_workflows.go diff --git a/vendor/github.com/google/go-github/v52/github/activity.go b/vendor/github.com/google/go-github/v53/github/activity.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/activity.go rename to vendor/github.com/google/go-github/v53/github/activity.go diff --git a/vendor/github.com/google/go-github/v52/github/activity_events.go b/vendor/github.com/google/go-github/v53/github/activity_events.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/activity_events.go rename to vendor/github.com/google/go-github/v53/github/activity_events.go diff --git a/vendor/github.com/google/go-github/v52/github/activity_notifications.go b/vendor/github.com/google/go-github/v53/github/activity_notifications.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/activity_notifications.go rename to vendor/github.com/google/go-github/v53/github/activity_notifications.go diff --git a/vendor/github.com/google/go-github/v52/github/activity_star.go b/vendor/github.com/google/go-github/v53/github/activity_star.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/activity_star.go rename to vendor/github.com/google/go-github/v53/github/activity_star.go diff --git a/vendor/github.com/google/go-github/v52/github/activity_watching.go b/vendor/github.com/google/go-github/v53/github/activity_watching.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/activity_watching.go rename to vendor/github.com/google/go-github/v53/github/activity_watching.go diff --git a/vendor/github.com/google/go-github/v52/github/admin.go b/vendor/github.com/google/go-github/v53/github/admin.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/admin.go rename to vendor/github.com/google/go-github/v53/github/admin.go diff --git a/vendor/github.com/google/go-github/v52/github/admin_orgs.go b/vendor/github.com/google/go-github/v53/github/admin_orgs.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/admin_orgs.go rename to vendor/github.com/google/go-github/v53/github/admin_orgs.go diff --git a/vendor/github.com/google/go-github/v52/github/admin_stats.go b/vendor/github.com/google/go-github/v53/github/admin_stats.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/admin_stats.go rename to vendor/github.com/google/go-github/v53/github/admin_stats.go diff --git a/vendor/github.com/google/go-github/v52/github/admin_users.go b/vendor/github.com/google/go-github/v53/github/admin_users.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/admin_users.go rename to vendor/github.com/google/go-github/v53/github/admin_users.go diff --git a/vendor/github.com/google/go-github/v52/github/apps.go b/vendor/github.com/google/go-github/v53/github/apps.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/apps.go rename to vendor/github.com/google/go-github/v53/github/apps.go diff --git a/vendor/github.com/google/go-github/v52/github/apps_hooks.go b/vendor/github.com/google/go-github/v53/github/apps_hooks.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/apps_hooks.go rename to vendor/github.com/google/go-github/v53/github/apps_hooks.go diff --git a/vendor/github.com/google/go-github/v52/github/apps_hooks_deliveries.go b/vendor/github.com/google/go-github/v53/github/apps_hooks_deliveries.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/apps_hooks_deliveries.go rename to vendor/github.com/google/go-github/v53/github/apps_hooks_deliveries.go diff --git a/vendor/github.com/google/go-github/v52/github/apps_installation.go b/vendor/github.com/google/go-github/v53/github/apps_installation.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/apps_installation.go rename to vendor/github.com/google/go-github/v53/github/apps_installation.go diff --git a/vendor/github.com/google/go-github/v52/github/apps_manifest.go b/vendor/github.com/google/go-github/v53/github/apps_manifest.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/apps_manifest.go rename to vendor/github.com/google/go-github/v53/github/apps_manifest.go diff --git a/vendor/github.com/google/go-github/v52/github/apps_marketplace.go b/vendor/github.com/google/go-github/v53/github/apps_marketplace.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/apps_marketplace.go rename to vendor/github.com/google/go-github/v53/github/apps_marketplace.go diff --git a/vendor/github.com/google/go-github/v52/github/authorizations.go b/vendor/github.com/google/go-github/v53/github/authorizations.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/authorizations.go rename to vendor/github.com/google/go-github/v53/github/authorizations.go diff --git a/vendor/github.com/google/go-github/v52/github/billing.go b/vendor/github.com/google/go-github/v53/github/billing.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/billing.go rename to vendor/github.com/google/go-github/v53/github/billing.go diff --git a/vendor/github.com/google/go-github/v52/github/checks.go b/vendor/github.com/google/go-github/v53/github/checks.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/checks.go rename to vendor/github.com/google/go-github/v53/github/checks.go diff --git a/vendor/github.com/google/go-github/v52/github/code-scanning.go b/vendor/github.com/google/go-github/v53/github/code-scanning.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/code-scanning.go rename to vendor/github.com/google/go-github/v53/github/code-scanning.go diff --git a/vendor/github.com/google/go-github/v52/github/dependabot.go b/vendor/github.com/google/go-github/v53/github/dependabot.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/dependabot.go rename to vendor/github.com/google/go-github/v53/github/dependabot.go diff --git a/vendor/github.com/google/go-github/v52/github/dependabot_alerts.go b/vendor/github.com/google/go-github/v53/github/dependabot_alerts.go similarity index 98% rename from vendor/github.com/google/go-github/v52/github/dependabot_alerts.go rename to vendor/github.com/google/go-github/v53/github/dependabot_alerts.go index e00aebc804..7b5d53b393 100644 --- a/vendor/github.com/google/go-github/v52/github/dependabot_alerts.go +++ b/vendor/github.com/google/go-github/v53/github/dependabot_alerts.go @@ -62,6 +62,7 @@ type DependabotAlert struct { DismissedReason *string `json:"dismissed_reason,omitempty"` DismissedComment *string `json:"dismissed_comment,omitempty"` FixedAt *Timestamp `json:"fixed_at,omitempty"` + Repository *Repository `json:"repository,omitempty"` } // ListAlertsOptions specifies the optional parameters to the DependabotService.ListRepoAlerts diff --git a/vendor/github.com/google/go-github/v52/github/dependabot_secrets.go b/vendor/github.com/google/go-github/v53/github/dependabot_secrets.go similarity index 99% rename from vendor/github.com/google/go-github/v52/github/dependabot_secrets.go rename to vendor/github.com/google/go-github/v53/github/dependabot_secrets.go index 8318cd812c..f87ab42c39 100644 --- a/vendor/github.com/google/go-github/v52/github/dependabot_secrets.go +++ b/vendor/github.com/google/go-github/v53/github/dependabot_secrets.go @@ -198,7 +198,7 @@ func (s *DependabotService) ListSelectedReposForOrgSecret(ctx context.Context, o } // DependabotSecretsSelectedRepoIDs are the repository IDs that have access to the dependabot secrets. -type DependabotSecretsSelectedRepoIDs []string +type DependabotSecretsSelectedRepoIDs []int64 // SetSelectedReposForOrgSecret sets the repositories that have access to a Dependabot secret. // diff --git a/vendor/github.com/google/go-github/v52/github/doc.go b/vendor/github.com/google/go-github/v53/github/doc.go similarity index 99% rename from vendor/github.com/google/go-github/v52/github/doc.go rename to vendor/github.com/google/go-github/v53/github/doc.go index 1acf8d5a8d..af2847111a 100644 --- a/vendor/github.com/google/go-github/v52/github/doc.go +++ b/vendor/github.com/google/go-github/v53/github/doc.go @@ -8,7 +8,7 @@ Package github provides a client for using the GitHub API. Usage: - import "github.com/google/go-github/v52/github" // with go modules enabled (GO111MODULE=on or outside GOPATH) + import "github.com/google/go-github/v53/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/v52/github/enterprise.go b/vendor/github.com/google/go-github/v53/github/enterprise.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/enterprise.go rename to vendor/github.com/google/go-github/v53/github/enterprise.go diff --git a/vendor/github.com/google/go-github/v52/github/enterprise_actions_runners.go b/vendor/github.com/google/go-github/v53/github/enterprise_actions_runners.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/enterprise_actions_runners.go rename to vendor/github.com/google/go-github/v53/github/enterprise_actions_runners.go diff --git a/vendor/github.com/google/go-github/v52/github/enterprise_audit_log.go b/vendor/github.com/google/go-github/v53/github/enterprise_audit_log.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/enterprise_audit_log.go rename to vendor/github.com/google/go-github/v53/github/enterprise_audit_log.go diff --git a/vendor/github.com/google/go-github/v52/github/enterprise_code_security_and_analysis.go b/vendor/github.com/google/go-github/v53/github/enterprise_code_security_and_analysis.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/enterprise_code_security_and_analysis.go rename to vendor/github.com/google/go-github/v53/github/enterprise_code_security_and_analysis.go diff --git a/vendor/github.com/google/go-github/v52/github/event.go b/vendor/github.com/google/go-github/v53/github/event.go similarity index 98% rename from vendor/github.com/google/go-github/v52/github/event.go rename to vendor/github.com/google/go-github/v53/github/event.go index 1aabf13bad..20907a9932 100644 --- a/vendor/github.com/google/go-github/v52/github/event.go +++ b/vendor/github.com/google/go-github/v53/github/event.go @@ -49,6 +49,8 @@ func (e *Event) ParsePayload() (payload interface{}, err error) { payload = &DeployKeyEvent{} case "DeploymentEvent": payload = &DeploymentEvent{} + case "DeploymentProtectionRuleEvent": + payload = &DeploymentProtectionRuleEvent{} case "DeploymentStatusEvent": payload = &DeploymentStatusEvent{} case "DiscussionEvent": diff --git a/vendor/github.com/google/go-github/v52/github/event_types.go b/vendor/github.com/google/go-github/v53/github/event_types.go similarity index 98% rename from vendor/github.com/google/go-github/v52/github/event_types.go rename to vendor/github.com/google/go-github/v53/github/event_types.go index 685e46f028..6a13b286bd 100644 --- a/vendor/github.com/google/go-github/v52/github/event_types.go +++ b/vendor/github.com/google/go-github/v53/github/event_types.go @@ -173,6 +173,25 @@ type DeploymentEvent struct { Installation *Installation `json:"installation,omitempty"` } +// DeploymentProtectionRuleEvent represents a deployment protection rule event. +// The Webhook event name is "deployment_protection_rule". +// +// GitHub API docs: https://docs.github.com/webhooks-and-events/webhooks/webhook-events-and-payloads#deployment_protection_rule +type DeploymentProtectionRuleEvent struct { + Action *string `json:"action,omitempty"` + Environment *string `json:"environment,omitempty"` + Event *string `json:"event,omitempty"` + + // The URL Github provides for a third-party to use in order to pass/fail a deployment gate + DeploymentCallbackURL *string `json:"deployment_callback_url,omitempty"` + Deployment *Deployment `json:"deployment,omitempty"` + Repo *Repository `json:"repository,omitempty"` + Organization *Organization `json:"organization,omitempty"` + PullRequests []*PullRequest `json:"pull_requests,omitempty"` + Sender *User `json:"sender,omitempty"` + Installation *Installation `json:"installation,omitempty"` +} + // DeploymentStatusEvent represents a deployment status. // The Webhook event name is "deployment_status". // diff --git a/vendor/github.com/google/go-github/v52/github/gists.go b/vendor/github.com/google/go-github/v53/github/gists.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/gists.go rename to vendor/github.com/google/go-github/v53/github/gists.go diff --git a/vendor/github.com/google/go-github/v52/github/gists_comments.go b/vendor/github.com/google/go-github/v53/github/gists_comments.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/gists_comments.go rename to vendor/github.com/google/go-github/v53/github/gists_comments.go diff --git a/vendor/github.com/google/go-github/v52/github/git.go b/vendor/github.com/google/go-github/v53/github/git.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/git.go rename to vendor/github.com/google/go-github/v53/github/git.go diff --git a/vendor/github.com/google/go-github/v52/github/git_blobs.go b/vendor/github.com/google/go-github/v53/github/git_blobs.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/git_blobs.go rename to vendor/github.com/google/go-github/v53/github/git_blobs.go diff --git a/vendor/github.com/google/go-github/v52/github/git_commits.go b/vendor/github.com/google/go-github/v53/github/git_commits.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/git_commits.go rename to vendor/github.com/google/go-github/v53/github/git_commits.go diff --git a/vendor/github.com/google/go-github/v52/github/git_refs.go b/vendor/github.com/google/go-github/v53/github/git_refs.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/git_refs.go rename to vendor/github.com/google/go-github/v53/github/git_refs.go diff --git a/vendor/github.com/google/go-github/v52/github/git_tags.go b/vendor/github.com/google/go-github/v53/github/git_tags.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/git_tags.go rename to vendor/github.com/google/go-github/v53/github/git_tags.go diff --git a/vendor/github.com/google/go-github/v52/github/git_trees.go b/vendor/github.com/google/go-github/v53/github/git_trees.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/git_trees.go rename to vendor/github.com/google/go-github/v53/github/git_trees.go diff --git a/vendor/github.com/google/go-github/v52/github/github-accessors.go b/vendor/github.com/google/go-github/v53/github/github-accessors.go similarity index 98% rename from vendor/github.com/google/go-github/v52/github/github-accessors.go rename to vendor/github.com/google/go-github/v53/github/github-accessors.go index 2f40756f25..a9aaee814a 100644 --- a/vendor/github.com/google/go-github/v52/github/github-accessors.go +++ b/vendor/github.com/google/go-github/v53/github/github-accessors.go @@ -214,6 +214,14 @@ func (a *ActionsVariable) GetVisibility() string { return *a.Visibility } +// GetCountryCode returns the CountryCode field if it's non-nil, zero value otherwise. +func (a *ActorLocation) GetCountryCode() string { + if a == nil || a.CountryCode == nil { + return "" + } + return *a.CountryCode +} + // GetFrom returns the From field if it's non-nil, zero value otherwise. func (a *AdminEnforcedChanges) GetFrom() bool { if a == nil || a.From == nil { @@ -1038,6 +1046,22 @@ func (a *AuditEntry) GetActor() string { return *a.Actor } +// GetActorIP returns the ActorIP field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetActorIP() string { + if a == nil || a.ActorIP == nil { + return "" + } + return *a.ActorIP +} + +// GetActorLocation returns the ActorLocation field. +func (a *AuditEntry) GetActorLocation() *ActorLocation { + if a == nil { + return nil + } + return a.ActorLocation +} + // GetBlockedUser returns the BlockedUser field if it's non-nil, zero value otherwise. func (a *AuditEntry) GetBlockedUser() string { if a == nil || a.BlockedUser == nil { @@ -1166,6 +1190,14 @@ func (a *AuditEntry) GetFingerprint() string { return *a.Fingerprint } +// GetHashedToken returns the HashedToken field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetHashedToken() string { + if a == nil || a.HashedToken == nil { + return "" + } + return *a.HashedToken +} + // GetHeadBranch returns the HeadBranch field if it's non-nil, zero value otherwise. func (a *AuditEntry) GetHeadBranch() string { if a == nil || a.HeadBranch == nil { @@ -1206,6 +1238,14 @@ func (a *AuditEntry) GetJobName() string { return *a.JobName } +// GetJobWorkflowRef returns the JobWorkflowRef field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetJobWorkflowRef() string { + if a == nil || a.JobWorkflowRef == nil { + return "" + } + return *a.JobWorkflowRef +} + // GetLimitedAvailability returns the LimitedAvailability field if it's non-nil, zero value otherwise. func (a *AuditEntry) GetLimitedAvailability() bool { if a == nil || a.LimitedAvailability == nil { @@ -1230,6 +1270,14 @@ func (a *AuditEntry) GetName() string { return *a.Name } +// GetOAuthApplicationID returns the OAuthApplicationID field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetOAuthApplicationID() int64 { + if a == nil || a.OAuthApplicationID == nil { + return 0 + } + return *a.OAuthApplicationID +} + // GetOldPermission returns the OldPermission field if it's non-nil, zero value otherwise. func (a *AuditEntry) GetOldPermission() string { if a == nil || a.OldPermission == nil { @@ -1254,6 +1302,14 @@ func (a *AuditEntry) GetOpenSSHPublicKey() string { return *a.OpenSSHPublicKey } +// GetOperationType returns the OperationType field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetOperationType() string { + if a == nil || a.OperationType == nil { + return "" + } + return *a.OperationType +} + // GetOrg returns the Org field if it's non-nil, zero value otherwise. func (a *AuditEntry) GetOrg() string { if a == nil || a.Org == nil { @@ -1262,6 +1318,14 @@ func (a *AuditEntry) GetOrg() string { return *a.Org } +// GetOrgID returns the OrgID field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetOrgID() int64 { + if a == nil || a.OrgID == nil { + return 0 + } + return *a.OrgID +} + // GetPermission returns the Permission field if it's non-nil, zero value otherwise. func (a *AuditEntry) GetPermission() string { if a == nil || a.Permission == nil { @@ -1278,6 +1342,38 @@ func (a *AuditEntry) GetPreviousVisibility() string { return *a.PreviousVisibility } +// GetProgrammaticAccessType returns the ProgrammaticAccessType field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetProgrammaticAccessType() string { + if a == nil || a.ProgrammaticAccessType == nil { + return "" + } + return *a.ProgrammaticAccessType +} + +// GetPullRequestID returns the PullRequestID field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetPullRequestID() int64 { + if a == nil || a.PullRequestID == nil { + return 0 + } + return *a.PullRequestID +} + +// GetPullRequestTitle returns the PullRequestTitle field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetPullRequestTitle() string { + if a == nil || a.PullRequestTitle == nil { + return "" + } + return *a.PullRequestTitle +} + +// GetPullRequestURL returns the PullRequestURL field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetPullRequestURL() string { + if a == nil || a.PullRequestURL == nil { + return "" + } + return *a.PullRequestURL +} + // GetReadOnly returns the ReadOnly field if it's non-nil, zero value otherwise. func (a *AuditEntry) GetReadOnly() string { if a == nil || a.ReadOnly == nil { @@ -1350,6 +1446,14 @@ func (a *AuditEntry) GetRunnerName() string { return *a.RunnerName } +// GetRunNumber returns the RunNumber field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetRunNumber() int64 { + if a == nil || a.RunNumber == nil { + return 0 + } + return *a.RunNumber +} + // GetSourceVersion returns the SourceVersion field if it's non-nil, zero value otherwise. func (a *AuditEntry) GetSourceVersion() string { if a == nil || a.SourceVersion == nil { @@ -1398,6 +1502,30 @@ func (a *AuditEntry) GetTimestamp() Timestamp { return *a.Timestamp } +// GetTokenID returns the TokenID field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetTokenID() int64 { + if a == nil || a.TokenID == nil { + return 0 + } + return *a.TokenID +} + +// GetTokenScopes returns the TokenScopes field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetTokenScopes() string { + if a == nil || a.TokenScopes == nil { + return "" + } + return *a.TokenScopes +} + +// GetTopic returns the Topic field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetTopic() string { + if a == nil || a.Topic == nil { + return "" + } + return *a.Topic +} + // GetTransportProtocol returns the TransportProtocol field if it's non-nil, zero value otherwise. func (a *AuditEntry) GetTransportProtocol() int { if a == nil || a.TransportProtocol == nil { @@ -1430,6 +1558,14 @@ func (a *AuditEntry) GetUser() string { return *a.User } +// GetUserAgent returns the UserAgent field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetUserAgent() string { + if a == nil || a.UserAgent == nil { + return "" + } + return *a.UserAgent +} + // GetVisibility returns the Visibility field if it's non-nil, zero value otherwise. func (a *AuditEntry) GetVisibility() string { if a == nil || a.Visibility == nil { @@ -4246,6 +4382,14 @@ func (d *DependabotAlert) GetNumber() int { return *d.Number } +// GetRepository returns the Repository field. +func (d *DependabotAlert) GetRepository() *Repository { + if d == nil { + return nil + } + return d.Repository +} + // GetSecurityAdvisory returns the SecurityAdvisory field. func (d *DependabotAlert) GetSecurityAdvisory() *DependabotSecurityAdvisory { if d == nil { @@ -4606,6 +4750,78 @@ func (d *DeploymentEvent) GetSender() *User { return d.Sender } +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (d *DeploymentProtectionRuleEvent) GetAction() string { + if d == nil || d.Action == nil { + return "" + } + return *d.Action +} + +// GetDeployment returns the Deployment field. +func (d *DeploymentProtectionRuleEvent) GetDeployment() *Deployment { + if d == nil { + return nil + } + return d.Deployment +} + +// GetDeploymentCallbackURL returns the DeploymentCallbackURL field if it's non-nil, zero value otherwise. +func (d *DeploymentProtectionRuleEvent) GetDeploymentCallbackURL() string { + if d == nil || d.DeploymentCallbackURL == nil { + return "" + } + return *d.DeploymentCallbackURL +} + +// GetEnvironment returns the Environment field if it's non-nil, zero value otherwise. +func (d *DeploymentProtectionRuleEvent) GetEnvironment() string { + if d == nil || d.Environment == nil { + return "" + } + return *d.Environment +} + +// GetEvent returns the Event field if it's non-nil, zero value otherwise. +func (d *DeploymentProtectionRuleEvent) GetEvent() string { + if d == nil || d.Event == nil { + return "" + } + return *d.Event +} + +// GetInstallation returns the Installation field. +func (d *DeploymentProtectionRuleEvent) GetInstallation() *Installation { + if d == nil { + return nil + } + return d.Installation +} + +// GetOrganization returns the Organization field. +func (d *DeploymentProtectionRuleEvent) GetOrganization() *Organization { + if d == nil { + return nil + } + return d.Organization +} + +// GetRepo returns the Repo field. +func (d *DeploymentProtectionRuleEvent) GetRepo() *Repository { + if d == nil { + return nil + } + return d.Repo +} + +// GetSender returns the Sender field. +func (d *DeploymentProtectionRuleEvent) GetSender() *User { + if d == nil { + return nil + } + return d.Sender +} + // GetAutoMerge returns the AutoMerge field if it's non-nil, zero value otherwise. func (d *DeploymentRequest) GetAutoMerge() bool { if d == nil || d.AutoMerge == nil { @@ -12534,6 +12750,22 @@ func (p *Plan) GetSpace() int { return *p.Space } +// GetCode returns the Code field if it's non-nil, zero value otherwise. +func (p *PolicyOverrideReason) GetCode() string { + if p == nil || p.Code == nil { + return "" + } + return *p.Code +} + +// GetMessage returns the Message field if it's non-nil, zero value otherwise. +func (p *PolicyOverrideReason) GetMessage() string { + if p == nil || p.Message == nil { + return "" + } + return *p.Message +} + // GetConfigURL returns the ConfigURL field if it's non-nil, zero value otherwise. func (p *PreReceiveHook) GetConfigURL() string { if p == nil || p.ConfigURL == nil { @@ -15046,6 +15278,14 @@ func (p *PushEvent) GetBefore() string { return *p.Before } +// GetCommits returns the Commits slice if it's non-nil, nil otherwise. +func (p *PushEvent) GetCommits() []*HeadCommit { + if p == nil || p.Commits == nil { + return nil + } + return p.Commits +} + // GetCompare returns the Compare field if it's non-nil, zero value otherwise. func (p *PushEvent) GetCompare() string { if p == nil || p.Compare == nil { @@ -20622,6 +20862,14 @@ func (t *TrafficViews) GetUniques() int { return *t.Uniques } +// GetNewName returns the NewName field if it's non-nil, zero value otherwise. +func (t *TransferRequest) GetNewName() string { + if t == nil || t.NewName == nil { + return "" + } + return *t.NewName +} + // GetSHA returns the SHA field if it's non-nil, zero value otherwise. func (t *Tree) GetSHA() string { if t == nil || t.SHA == nil { @@ -22062,6 +22310,14 @@ func (w *WorkflowRun) GetCreatedAt() Timestamp { return *w.CreatedAt } +// GetDisplayTitle returns the DisplayTitle field if it's non-nil, zero value otherwise. +func (w *WorkflowRun) GetDisplayTitle() string { + if w == nil || w.DisplayTitle == nil { + return "" + } + return *w.DisplayTitle +} + // GetEvent returns the Event field if it's non-nil, zero value otherwise. func (w *WorkflowRun) GetEvent() string { if w == nil || w.Event == nil { diff --git a/vendor/github.com/google/go-github/v52/github/github.go b/vendor/github.com/google/go-github/v53/github/github.go similarity index 97% rename from vendor/github.com/google/go-github/v52/github/github.go rename to vendor/github.com/google/go-github/v53/github/github.go index 2127a527ac..7d8aef5302 100644 --- a/vendor/github.com/google/go-github/v52/github/github.go +++ b/vendor/github.com/google/go-github/v53/github/github.go @@ -28,7 +28,7 @@ import ( ) const ( - Version = "v52.0.0" + Version = "v53.0.0" defaultAPIVersion = "2022-11-28" defaultBaseURL = "https://api.github.com/" @@ -40,6 +40,7 @@ const ( headerRateRemaining = "X-RateLimit-Remaining" headerRateReset = "X-RateLimit-Reset" headerOTP = "X-GitHub-OTP" + headerRetryAfter = "Retry-After" headerTokenExpiration = "GitHub-Authentication-Token-Expiration" @@ -677,6 +678,30 @@ func parseRate(r *http.Response) Rate { return rate } +// parseSecondaryRate parses the secondary rate related headers, +// and returns the time to retry after. +func parseSecondaryRate(r *http.Response) *time.Duration { + // According to GitHub support, the "Retry-After" header value will be + // an integer which represents the number of seconds that one should + // wait before resuming making requests. + if v := r.Header.Get(headerRetryAfter); v != "" { + retryAfterSeconds, _ := strconv.ParseInt(v, 10, 64) // Error handling is noop. + retryAfter := time.Duration(retryAfterSeconds) * time.Second + return &retryAfter + } + + // According to GitHub support, endpoints might return x-ratelimit-reset instead, + // as an integer which represents the number of seconds since epoch UTC, + // represting the time to resume making requests. + if v := r.Header.Get(headerRateReset); v != "" { + secondsSinceEpoch, _ := strconv.ParseInt(v, 10, 64) // Error handling is noop. + retryAfter := time.Until(time.Unix(secondsSinceEpoch, 0)) + return &retryAfter + } + + return nil +} + // parseTokenExpiration parses the TokenExpiration related headers. // Returns 0001-01-01 if the header is not defined or could not be parsed. func parseTokenExpiration(r *http.Response) Timestamp { @@ -1156,13 +1181,8 @@ func CheckResponse(r *http.Response) error { Response: errorResponse.Response, Message: errorResponse.Message, } - if v := r.Header["Retry-After"]; len(v) > 0 { - // According to GitHub support, the "Retry-After" header value will be - // an integer which represents the number of seconds that one should - // wait before resuming making requests. - retryAfterSeconds, _ := strconv.ParseInt(v[0], 10, 64) // Error handling is noop. - retryAfter := time.Duration(retryAfterSeconds) * time.Second - abuseRateLimitError.RetryAfter = &retryAfter + if retryAfter := parseSecondaryRate(r); retryAfter != nil { + abuseRateLimitError.RetryAfter = retryAfter } return abuseRateLimitError default: diff --git a/vendor/github.com/google/go-github/v52/github/gitignore.go b/vendor/github.com/google/go-github/v53/github/gitignore.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/gitignore.go rename to vendor/github.com/google/go-github/v53/github/gitignore.go diff --git a/vendor/github.com/google/go-github/v52/github/interactions.go b/vendor/github.com/google/go-github/v53/github/interactions.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/interactions.go rename to vendor/github.com/google/go-github/v53/github/interactions.go diff --git a/vendor/github.com/google/go-github/v52/github/interactions_orgs.go b/vendor/github.com/google/go-github/v53/github/interactions_orgs.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/interactions_orgs.go rename to vendor/github.com/google/go-github/v53/github/interactions_orgs.go diff --git a/vendor/github.com/google/go-github/v52/github/interactions_repos.go b/vendor/github.com/google/go-github/v53/github/interactions_repos.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/interactions_repos.go rename to vendor/github.com/google/go-github/v53/github/interactions_repos.go diff --git a/vendor/github.com/google/go-github/v52/github/issue_import.go b/vendor/github.com/google/go-github/v53/github/issue_import.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/issue_import.go rename to vendor/github.com/google/go-github/v53/github/issue_import.go diff --git a/vendor/github.com/google/go-github/v52/github/issues.go b/vendor/github.com/google/go-github/v53/github/issues.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/issues.go rename to vendor/github.com/google/go-github/v53/github/issues.go diff --git a/vendor/github.com/google/go-github/v52/github/issues_assignees.go b/vendor/github.com/google/go-github/v53/github/issues_assignees.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/issues_assignees.go rename to vendor/github.com/google/go-github/v53/github/issues_assignees.go diff --git a/vendor/github.com/google/go-github/v52/github/issues_comments.go b/vendor/github.com/google/go-github/v53/github/issues_comments.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/issues_comments.go rename to vendor/github.com/google/go-github/v53/github/issues_comments.go diff --git a/vendor/github.com/google/go-github/v52/github/issues_events.go b/vendor/github.com/google/go-github/v53/github/issues_events.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/issues_events.go rename to vendor/github.com/google/go-github/v53/github/issues_events.go diff --git a/vendor/github.com/google/go-github/v52/github/issues_labels.go b/vendor/github.com/google/go-github/v53/github/issues_labels.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/issues_labels.go rename to vendor/github.com/google/go-github/v53/github/issues_labels.go diff --git a/vendor/github.com/google/go-github/v52/github/issues_milestones.go b/vendor/github.com/google/go-github/v53/github/issues_milestones.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/issues_milestones.go rename to vendor/github.com/google/go-github/v53/github/issues_milestones.go diff --git a/vendor/github.com/google/go-github/v52/github/issues_timeline.go b/vendor/github.com/google/go-github/v53/github/issues_timeline.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/issues_timeline.go rename to vendor/github.com/google/go-github/v53/github/issues_timeline.go diff --git a/vendor/github.com/google/go-github/v52/github/licenses.go b/vendor/github.com/google/go-github/v53/github/licenses.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/licenses.go rename to vendor/github.com/google/go-github/v53/github/licenses.go diff --git a/vendor/github.com/google/go-github/v52/github/messages.go b/vendor/github.com/google/go-github/v53/github/messages.go similarity index 99% rename from vendor/github.com/google/go-github/v52/github/messages.go rename to vendor/github.com/google/go-github/v53/github/messages.go index 925e73e9a6..8547b8810f 100644 --- a/vendor/github.com/google/go-github/v52/github/messages.go +++ b/vendor/github.com/google/go-github/v53/github/messages.go @@ -55,6 +55,7 @@ var ( "deploy_key": "DeployKeyEvent", "deployment": "DeploymentEvent", "deployment_status": "DeploymentStatusEvent", + "deployment_protection_rule": "DeploymentProtectionRuleEvent", "discussion": "DiscussionEvent", "discussion_comment": "DiscussionCommentEvent", "fork": "ForkEvent", diff --git a/vendor/github.com/google/go-github/v52/github/migrations.go b/vendor/github.com/google/go-github/v53/github/migrations.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/migrations.go rename to vendor/github.com/google/go-github/v53/github/migrations.go diff --git a/vendor/github.com/google/go-github/v52/github/migrations_source_import.go b/vendor/github.com/google/go-github/v53/github/migrations_source_import.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/migrations_source_import.go rename to vendor/github.com/google/go-github/v53/github/migrations_source_import.go diff --git a/vendor/github.com/google/go-github/v52/github/migrations_user.go b/vendor/github.com/google/go-github/v53/github/migrations_user.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/migrations_user.go rename to vendor/github.com/google/go-github/v53/github/migrations_user.go diff --git a/vendor/github.com/google/go-github/v52/github/misc.go b/vendor/github.com/google/go-github/v53/github/misc.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/misc.go rename to vendor/github.com/google/go-github/v53/github/misc.go diff --git a/vendor/github.com/google/go-github/v52/github/orgs.go b/vendor/github.com/google/go-github/v53/github/orgs.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/orgs.go rename to vendor/github.com/google/go-github/v53/github/orgs.go diff --git a/vendor/github.com/google/go-github/v52/github/orgs_actions_allowed.go b/vendor/github.com/google/go-github/v53/github/orgs_actions_allowed.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/orgs_actions_allowed.go rename to vendor/github.com/google/go-github/v53/github/orgs_actions_allowed.go diff --git a/vendor/github.com/google/go-github/v52/github/orgs_actions_permissions.go b/vendor/github.com/google/go-github/v53/github/orgs_actions_permissions.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/orgs_actions_permissions.go rename to vendor/github.com/google/go-github/v53/github/orgs_actions_permissions.go diff --git a/vendor/github.com/google/go-github/v53/github/orgs_audit_log.go b/vendor/github.com/google/go-github/v53/github/orgs_audit_log.go new file mode 100644 index 0000000000..e2e4692e57 --- /dev/null +++ b/vendor/github.com/google/go-github/v53/github/orgs_audit_log.go @@ -0,0 +1,148 @@ +// Copyright 2021 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" +) + +// GetAuditLogOptions sets up optional parameters to query audit-log endpoint. +type GetAuditLogOptions struct { + Phrase *string `url:"phrase,omitempty"` // A search phrase. (Optional.) + Include *string `url:"include,omitempty"` // Event type includes. Can be one of "web", "git", "all". Default: "web". (Optional.) + Order *string `url:"order,omitempty"` // The order of audit log events. Can be one of "asc" or "desc". Default: "desc". (Optional.) + + ListCursorOptions +} + +// HookConfig describes metadata about a webhook configuration. +type HookConfig struct { + ContentType *string `json:"content_type,omitempty"` + InsecureSSL *string `json:"insecure_ssl,omitempty"` + URL *string `json:"url,omitempty"` + + // Secret is returned obfuscated by GitHub, but it can be set for outgoing requests. + Secret *string `json:"secret,omitempty"` +} + +// ActorLocation contains information about reported location for an actor. +type ActorLocation struct { + CountryCode *string `json:"country_code,omitempty"` +} + +// PolicyOverrideReason contains user-supplied information about why a policy was overridden. +type PolicyOverrideReason struct { + Code *string `json:"code,omitempty"` + Message *string `json:"message,omitempty"` +} + +// AuditEntry describes the fields that may be represented by various audit-log "action" entries. +// For a list of actions see - https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#audit-log-actions +type AuditEntry struct { + ActorIP *string `json:"actor_ip,omitempty"` + Action *string `json:"action,omitempty"` // The name of the action that was performed, for example `user.login` or `repo.create`. + Active *bool `json:"active,omitempty"` + ActiveWas *bool `json:"active_was,omitempty"` + Actor *string `json:"actor,omitempty"` // The actor who performed the action. + ActorLocation *ActorLocation `json:"actor_location,omitempty"` + BlockedUser *string `json:"blocked_user,omitempty"` + Business *string `json:"business,omitempty"` + CancelledAt *Timestamp `json:"cancelled_at,omitempty"` + CompletedAt *Timestamp `json:"completed_at,omitempty"` + Conclusion *string `json:"conclusion,omitempty"` + Config *HookConfig `json:"config,omitempty"` + ConfigWas *HookConfig `json:"config_was,omitempty"` + ContentType *string `json:"content_type,omitempty"` + CreatedAt *Timestamp `json:"created_at,omitempty"` + DeployKeyFingerprint *string `json:"deploy_key_fingerprint,omitempty"` + DocumentID *string `json:"_document_id,omitempty"` + Emoji *string `json:"emoji,omitempty"` + EnvironmentName *string `json:"environment_name,omitempty"` + Event *string `json:"event,omitempty"` + Events []string `json:"events,omitempty"` + EventsWere []string `json:"events_were,omitempty"` + Explanation *string `json:"explanation,omitempty"` + Fingerprint *string `json:"fingerprint,omitempty"` + HashedToken *string `json:"hashed_token,omitempty"` + HeadBranch *string `json:"head_branch,omitempty"` + HeadSHA *string `json:"head_sha,omitempty"` + HookID *int64 `json:"hook_id,omitempty"` + IsHostedRunner *bool `json:"is_hosted_runner,omitempty"` + JobName *string `json:"job_name,omitempty"` + JobWorkflowRef *string `json:"job_workflow_ref,omitempty"` + LimitedAvailability *bool `json:"limited_availability,omitempty"` + Message *string `json:"message,omitempty"` + Name *string `json:"name,omitempty"` + OAuthApplicationID *int64 `json:"oauth_application_id,omitempty"` + OldUser *string `json:"old_user,omitempty"` + OldPermission *string `json:"old_permission,omitempty"` // The permission level for membership changes, for example `admin` or `read`. + OpenSSHPublicKey *string `json:"openssh_public_key,omitempty"` + OperationType *string `json:"operation_type,omitempty"` + Org *string `json:"org,omitempty"` + OrgID *int64 `json:"org_id,omitempty"` + OverriddenCodes []string `json:"overridden_codes,omitempty"` + Permission *string `json:"permission,omitempty"` // The permission level for membership changes, for example `admin` or `read`. + PreviousVisibility *string `json:"previous_visibility,omitempty"` + ProgrammaticAccessType *string `json:"programmatic_access_type,omitempty"` + PullRequestID *int64 `json:"pull_request_id,omitempty"` + PullRequestTitle *string `json:"pull_request_title,omitempty"` + PullRequestURL *string `json:"pull_request_url,omitempty"` + ReadOnly *string `json:"read_only,omitempty"` + Reasons []*PolicyOverrideReason `json:"reasons,omitempty"` + Repo *string `json:"repo,omitempty"` + Repository *string `json:"repository,omitempty"` + RepositoryPublic *bool `json:"repository_public,omitempty"` + RunAttempt *int64 `json:"run_attempt,omitempty"` + RunnerGroupID *int64 `json:"runner_group_id,omitempty"` + RunnerGroupName *string `json:"runner_group_name,omitempty"` + RunnerID *int64 `json:"runner_id,omitempty"` + RunnerLabels []string `json:"runner_labels,omitempty"` + RunnerName *string `json:"runner_name,omitempty"` + RunNumber *int64 `json:"run_number,omitempty"` + SecretsPassed []string `json:"secrets_passed,omitempty"` + SourceVersion *string `json:"source_version,omitempty"` + StartedAt *Timestamp `json:"started_at,omitempty"` + TargetLogin *string `json:"target_login,omitempty"` + TargetVersion *string `json:"target_version,omitempty"` + Team *string `json:"team,omitempty"` + Timestamp *Timestamp `json:"@timestamp,omitempty"` // The time the audit log event occurred, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time). + TokenID *int64 `json:"token_id,omitempty"` + TokenScopes *string `json:"token_scopes,omitempty"` + Topic *string `json:"topic,omitempty"` + TransportProtocolName *string `json:"transport_protocol_name,omitempty"` // A human readable name for the protocol (for example, HTTP or SSH) used to transfer Git data. + TransportProtocol *int `json:"transport_protocol,omitempty"` // The type of protocol (for example, HTTP=1 or SSH=2) used to transfer Git data. + TriggerID *int64 `json:"trigger_id,omitempty"` + User *string `json:"user,omitempty"` // The user that was affected by the action performed (if available). + UserAgent *string `json:"user_agent,omitempty"` + Visibility *string `json:"visibility,omitempty"` // The repository visibility, for example `public` or `private`. + WorkflowID *int64 `json:"workflow_id,omitempty"` + WorkflowRunID *int64 `json:"workflow_run_id,omitempty"` +} + +// GetAuditLog gets the audit-log entries for an organization. +// +// GitHub API docs: https://docs.github.com/en/rest/orgs/orgs#get-the-audit-log-for-an-organization +func (s *OrganizationsService) GetAuditLog(ctx context.Context, org string, opts *GetAuditLogOptions) ([]*AuditEntry, *Response, error) { + u := fmt.Sprintf("orgs/%v/audit-log", org) + u, err := addOptions(u, opts) + if err != nil { + return nil, nil, err + } + + req, err := s.client.NewRequest("GET", u, nil) + if err != nil { + return nil, nil, err + } + + var auditEntries []*AuditEntry + resp, err := s.client.Do(ctx, req, &auditEntries) + if err != nil { + return nil, resp, err + } + + return auditEntries, resp, nil +} diff --git a/vendor/github.com/google/go-github/v52/github/orgs_custom_roles.go b/vendor/github.com/google/go-github/v53/github/orgs_custom_roles.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/orgs_custom_roles.go rename to vendor/github.com/google/go-github/v53/github/orgs_custom_roles.go diff --git a/vendor/github.com/google/go-github/v52/github/orgs_hooks.go b/vendor/github.com/google/go-github/v53/github/orgs_hooks.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/orgs_hooks.go rename to vendor/github.com/google/go-github/v53/github/orgs_hooks.go diff --git a/vendor/github.com/google/go-github/v52/github/orgs_hooks_deliveries.go b/vendor/github.com/google/go-github/v53/github/orgs_hooks_deliveries.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/orgs_hooks_deliveries.go rename to vendor/github.com/google/go-github/v53/github/orgs_hooks_deliveries.go diff --git a/vendor/github.com/google/go-github/v52/github/orgs_members.go b/vendor/github.com/google/go-github/v53/github/orgs_members.go similarity index 99% rename from vendor/github.com/google/go-github/v52/github/orgs_members.go rename to vendor/github.com/google/go-github/v53/github/orgs_members.go index 38f43bad5a..79f8a65333 100644 --- a/vendor/github.com/google/go-github/v52/github/orgs_members.go +++ b/vendor/github.com/google/go-github/v53/github/orgs_members.go @@ -315,8 +315,8 @@ type CreateOrgInvitationOptions struct { // * billing_manager - Non-owner organization members with ability to // manage the billing settings of your organization. // Default is "direct_member". - Role *string `json:"role"` - TeamID []int64 `json:"team_ids"` + Role *string `json:"role,omitempty"` + TeamID []int64 `json:"team_ids,omitempty"` } // CreateOrgInvitation invites people to an organization by using their GitHub user ID or their email address. diff --git a/vendor/github.com/google/go-github/v52/github/orgs_outside_collaborators.go b/vendor/github.com/google/go-github/v53/github/orgs_outside_collaborators.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/orgs_outside_collaborators.go rename to vendor/github.com/google/go-github/v53/github/orgs_outside_collaborators.go diff --git a/vendor/github.com/google/go-github/v52/github/orgs_packages.go b/vendor/github.com/google/go-github/v53/github/orgs_packages.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/orgs_packages.go rename to vendor/github.com/google/go-github/v53/github/orgs_packages.go diff --git a/vendor/github.com/google/go-github/v52/github/orgs_projects.go b/vendor/github.com/google/go-github/v53/github/orgs_projects.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/orgs_projects.go rename to vendor/github.com/google/go-github/v53/github/orgs_projects.go diff --git a/vendor/github.com/google/go-github/v52/github/orgs_security_managers.go b/vendor/github.com/google/go-github/v53/github/orgs_security_managers.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/orgs_security_managers.go rename to vendor/github.com/google/go-github/v53/github/orgs_security_managers.go diff --git a/vendor/github.com/google/go-github/v52/github/orgs_users_blocking.go b/vendor/github.com/google/go-github/v53/github/orgs_users_blocking.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/orgs_users_blocking.go rename to vendor/github.com/google/go-github/v53/github/orgs_users_blocking.go diff --git a/vendor/github.com/google/go-github/v52/github/packages.go b/vendor/github.com/google/go-github/v53/github/packages.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/packages.go rename to vendor/github.com/google/go-github/v53/github/packages.go diff --git a/vendor/github.com/google/go-github/v52/github/projects.go b/vendor/github.com/google/go-github/v53/github/projects.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/projects.go rename to vendor/github.com/google/go-github/v53/github/projects.go diff --git a/vendor/github.com/google/go-github/v52/github/pulls.go b/vendor/github.com/google/go-github/v53/github/pulls.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/pulls.go rename to vendor/github.com/google/go-github/v53/github/pulls.go diff --git a/vendor/github.com/google/go-github/v52/github/pulls_comments.go b/vendor/github.com/google/go-github/v53/github/pulls_comments.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/pulls_comments.go rename to vendor/github.com/google/go-github/v53/github/pulls_comments.go diff --git a/vendor/github.com/google/go-github/v52/github/pulls_reviewers.go b/vendor/github.com/google/go-github/v53/github/pulls_reviewers.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/pulls_reviewers.go rename to vendor/github.com/google/go-github/v53/github/pulls_reviewers.go diff --git a/vendor/github.com/google/go-github/v52/github/pulls_reviews.go b/vendor/github.com/google/go-github/v53/github/pulls_reviews.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/pulls_reviews.go rename to vendor/github.com/google/go-github/v53/github/pulls_reviews.go diff --git a/vendor/github.com/google/go-github/v52/github/pulls_threads.go b/vendor/github.com/google/go-github/v53/github/pulls_threads.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/pulls_threads.go rename to vendor/github.com/google/go-github/v53/github/pulls_threads.go diff --git a/vendor/github.com/google/go-github/v52/github/reactions.go b/vendor/github.com/google/go-github/v53/github/reactions.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/reactions.go rename to vendor/github.com/google/go-github/v53/github/reactions.go diff --git a/vendor/github.com/google/go-github/v52/github/repos.go b/vendor/github.com/google/go-github/v53/github/repos.go similarity index 99% rename from vendor/github.com/google/go-github/v52/github/repos.go rename to vendor/github.com/google/go-github/v53/github/repos.go index 9c9c750630..5ffad6dd3c 100644 --- a/vendor/github.com/google/go-github/v52/github/repos.go +++ b/vendor/github.com/google/go-github/v53/github/repos.go @@ -1969,6 +1969,7 @@ func (s *RepositoriesService) RemoveUserRestrictions(ctx context.Context, owner, // TransferRequest represents a request to transfer a repository. type TransferRequest struct { NewOwner string `json:"new_owner"` + NewName *string `json:"new_name,omitempty"` TeamID []int64 `json:"team_ids,omitempty"` } diff --git a/vendor/github.com/google/go-github/v52/github/repos_actions_access.go b/vendor/github.com/google/go-github/v53/github/repos_actions_access.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/repos_actions_access.go rename to vendor/github.com/google/go-github/v53/github/repos_actions_access.go diff --git a/vendor/github.com/google/go-github/v52/github/repos_actions_allowed.go b/vendor/github.com/google/go-github/v53/github/repos_actions_allowed.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/repos_actions_allowed.go rename to vendor/github.com/google/go-github/v53/github/repos_actions_allowed.go diff --git a/vendor/github.com/google/go-github/v52/github/repos_actions_permissions.go b/vendor/github.com/google/go-github/v53/github/repos_actions_permissions.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/repos_actions_permissions.go rename to vendor/github.com/google/go-github/v53/github/repos_actions_permissions.go diff --git a/vendor/github.com/google/go-github/v52/github/repos_autolinks.go b/vendor/github.com/google/go-github/v53/github/repos_autolinks.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/repos_autolinks.go rename to vendor/github.com/google/go-github/v53/github/repos_autolinks.go diff --git a/vendor/github.com/google/go-github/v52/github/repos_codeowners.go b/vendor/github.com/google/go-github/v53/github/repos_codeowners.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/repos_codeowners.go rename to vendor/github.com/google/go-github/v53/github/repos_codeowners.go diff --git a/vendor/github.com/google/go-github/v52/github/repos_collaborators.go b/vendor/github.com/google/go-github/v53/github/repos_collaborators.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/repos_collaborators.go rename to vendor/github.com/google/go-github/v53/github/repos_collaborators.go diff --git a/vendor/github.com/google/go-github/v52/github/repos_comments.go b/vendor/github.com/google/go-github/v53/github/repos_comments.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/repos_comments.go rename to vendor/github.com/google/go-github/v53/github/repos_comments.go diff --git a/vendor/github.com/google/go-github/v52/github/repos_commits.go b/vendor/github.com/google/go-github/v53/github/repos_commits.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/repos_commits.go rename to vendor/github.com/google/go-github/v53/github/repos_commits.go diff --git a/vendor/github.com/google/go-github/v52/github/repos_community_health.go b/vendor/github.com/google/go-github/v53/github/repos_community_health.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/repos_community_health.go rename to vendor/github.com/google/go-github/v53/github/repos_community_health.go diff --git a/vendor/github.com/google/go-github/v52/github/repos_contents.go b/vendor/github.com/google/go-github/v53/github/repos_contents.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/repos_contents.go rename to vendor/github.com/google/go-github/v53/github/repos_contents.go diff --git a/vendor/github.com/google/go-github/v52/github/repos_deployment_branch_policies.go b/vendor/github.com/google/go-github/v53/github/repos_deployment_branch_policies.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/repos_deployment_branch_policies.go rename to vendor/github.com/google/go-github/v53/github/repos_deployment_branch_policies.go diff --git a/vendor/github.com/google/go-github/v52/github/repos_deployments.go b/vendor/github.com/google/go-github/v53/github/repos_deployments.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/repos_deployments.go rename to vendor/github.com/google/go-github/v53/github/repos_deployments.go diff --git a/vendor/github.com/google/go-github/v52/github/repos_environments.go b/vendor/github.com/google/go-github/v53/github/repos_environments.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/repos_environments.go rename to vendor/github.com/google/go-github/v53/github/repos_environments.go diff --git a/vendor/github.com/google/go-github/v52/github/repos_forks.go b/vendor/github.com/google/go-github/v53/github/repos_forks.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/repos_forks.go rename to vendor/github.com/google/go-github/v53/github/repos_forks.go diff --git a/vendor/github.com/google/go-github/v52/github/repos_hooks.go b/vendor/github.com/google/go-github/v53/github/repos_hooks.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/repos_hooks.go rename to vendor/github.com/google/go-github/v53/github/repos_hooks.go diff --git a/vendor/github.com/google/go-github/v52/github/repos_hooks_deliveries.go b/vendor/github.com/google/go-github/v53/github/repos_hooks_deliveries.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/repos_hooks_deliveries.go rename to vendor/github.com/google/go-github/v53/github/repos_hooks_deliveries.go diff --git a/vendor/github.com/google/go-github/v52/github/repos_invitations.go b/vendor/github.com/google/go-github/v53/github/repos_invitations.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/repos_invitations.go rename to vendor/github.com/google/go-github/v53/github/repos_invitations.go diff --git a/vendor/github.com/google/go-github/v52/github/repos_keys.go b/vendor/github.com/google/go-github/v53/github/repos_keys.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/repos_keys.go rename to vendor/github.com/google/go-github/v53/github/repos_keys.go diff --git a/vendor/github.com/google/go-github/v52/github/repos_lfs.go b/vendor/github.com/google/go-github/v53/github/repos_lfs.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/repos_lfs.go rename to vendor/github.com/google/go-github/v53/github/repos_lfs.go diff --git a/vendor/github.com/google/go-github/v52/github/repos_merging.go b/vendor/github.com/google/go-github/v53/github/repos_merging.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/repos_merging.go rename to vendor/github.com/google/go-github/v53/github/repos_merging.go diff --git a/vendor/github.com/google/go-github/v52/github/repos_pages.go b/vendor/github.com/google/go-github/v53/github/repos_pages.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/repos_pages.go rename to vendor/github.com/google/go-github/v53/github/repos_pages.go diff --git a/vendor/github.com/google/go-github/v52/github/repos_prereceive_hooks.go b/vendor/github.com/google/go-github/v53/github/repos_prereceive_hooks.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/repos_prereceive_hooks.go rename to vendor/github.com/google/go-github/v53/github/repos_prereceive_hooks.go diff --git a/vendor/github.com/google/go-github/v52/github/repos_projects.go b/vendor/github.com/google/go-github/v53/github/repos_projects.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/repos_projects.go rename to vendor/github.com/google/go-github/v53/github/repos_projects.go diff --git a/vendor/github.com/google/go-github/v52/github/repos_releases.go b/vendor/github.com/google/go-github/v53/github/repos_releases.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/repos_releases.go rename to vendor/github.com/google/go-github/v53/github/repos_releases.go diff --git a/vendor/github.com/google/go-github/v52/github/repos_stats.go b/vendor/github.com/google/go-github/v53/github/repos_stats.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/repos_stats.go rename to vendor/github.com/google/go-github/v53/github/repos_stats.go diff --git a/vendor/github.com/google/go-github/v52/github/repos_statuses.go b/vendor/github.com/google/go-github/v53/github/repos_statuses.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/repos_statuses.go rename to vendor/github.com/google/go-github/v53/github/repos_statuses.go diff --git a/vendor/github.com/google/go-github/v52/github/repos_tags.go b/vendor/github.com/google/go-github/v53/github/repos_tags.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/repos_tags.go rename to vendor/github.com/google/go-github/v53/github/repos_tags.go diff --git a/vendor/github.com/google/go-github/v52/github/repos_traffic.go b/vendor/github.com/google/go-github/v53/github/repos_traffic.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/repos_traffic.go rename to vendor/github.com/google/go-github/v53/github/repos_traffic.go diff --git a/vendor/github.com/google/go-github/v52/github/scim.go b/vendor/github.com/google/go-github/v53/github/scim.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/scim.go rename to vendor/github.com/google/go-github/v53/github/scim.go diff --git a/vendor/github.com/google/go-github/v52/github/search.go b/vendor/github.com/google/go-github/v53/github/search.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/search.go rename to vendor/github.com/google/go-github/v53/github/search.go diff --git a/vendor/github.com/google/go-github/v52/github/secret_scanning.go b/vendor/github.com/google/go-github/v53/github/secret_scanning.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/secret_scanning.go rename to vendor/github.com/google/go-github/v53/github/secret_scanning.go diff --git a/vendor/github.com/google/go-github/v52/github/strings.go b/vendor/github.com/google/go-github/v53/github/strings.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/strings.go rename to vendor/github.com/google/go-github/v53/github/strings.go diff --git a/vendor/github.com/google/go-github/v52/github/teams.go b/vendor/github.com/google/go-github/v53/github/teams.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/teams.go rename to vendor/github.com/google/go-github/v53/github/teams.go diff --git a/vendor/github.com/google/go-github/v52/github/teams_discussion_comments.go b/vendor/github.com/google/go-github/v53/github/teams_discussion_comments.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/teams_discussion_comments.go rename to vendor/github.com/google/go-github/v53/github/teams_discussion_comments.go diff --git a/vendor/github.com/google/go-github/v52/github/teams_discussions.go b/vendor/github.com/google/go-github/v53/github/teams_discussions.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/teams_discussions.go rename to vendor/github.com/google/go-github/v53/github/teams_discussions.go diff --git a/vendor/github.com/google/go-github/v52/github/teams_members.go b/vendor/github.com/google/go-github/v53/github/teams_members.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/teams_members.go rename to vendor/github.com/google/go-github/v53/github/teams_members.go diff --git a/vendor/github.com/google/go-github/v52/github/timestamp.go b/vendor/github.com/google/go-github/v53/github/timestamp.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/timestamp.go rename to vendor/github.com/google/go-github/v53/github/timestamp.go diff --git a/vendor/github.com/google/go-github/v52/github/users.go b/vendor/github.com/google/go-github/v53/github/users.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/users.go rename to vendor/github.com/google/go-github/v53/github/users.go diff --git a/vendor/github.com/google/go-github/v52/github/users_administration.go b/vendor/github.com/google/go-github/v53/github/users_administration.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/users_administration.go rename to vendor/github.com/google/go-github/v53/github/users_administration.go diff --git a/vendor/github.com/google/go-github/v52/github/users_blocking.go b/vendor/github.com/google/go-github/v53/github/users_blocking.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/users_blocking.go rename to vendor/github.com/google/go-github/v53/github/users_blocking.go diff --git a/vendor/github.com/google/go-github/v52/github/users_emails.go b/vendor/github.com/google/go-github/v53/github/users_emails.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/users_emails.go rename to vendor/github.com/google/go-github/v53/github/users_emails.go diff --git a/vendor/github.com/google/go-github/v52/github/users_followers.go b/vendor/github.com/google/go-github/v53/github/users_followers.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/users_followers.go rename to vendor/github.com/google/go-github/v53/github/users_followers.go diff --git a/vendor/github.com/google/go-github/v52/github/users_gpg_keys.go b/vendor/github.com/google/go-github/v53/github/users_gpg_keys.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/users_gpg_keys.go rename to vendor/github.com/google/go-github/v53/github/users_gpg_keys.go diff --git a/vendor/github.com/google/go-github/v52/github/users_keys.go b/vendor/github.com/google/go-github/v53/github/users_keys.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/users_keys.go rename to vendor/github.com/google/go-github/v53/github/users_keys.go diff --git a/vendor/github.com/google/go-github/v52/github/users_packages.go b/vendor/github.com/google/go-github/v53/github/users_packages.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/users_packages.go rename to vendor/github.com/google/go-github/v53/github/users_packages.go diff --git a/vendor/github.com/google/go-github/v52/github/users_projects.go b/vendor/github.com/google/go-github/v53/github/users_projects.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/users_projects.go rename to vendor/github.com/google/go-github/v53/github/users_projects.go diff --git a/vendor/github.com/google/go-github/v52/github/users_ssh_signing_keys.go b/vendor/github.com/google/go-github/v53/github/users_ssh_signing_keys.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/users_ssh_signing_keys.go rename to vendor/github.com/google/go-github/v53/github/users_ssh_signing_keys.go diff --git a/vendor/github.com/google/go-github/v52/github/with_appengine.go b/vendor/github.com/google/go-github/v53/github/with_appengine.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/with_appengine.go rename to vendor/github.com/google/go-github/v53/github/with_appengine.go diff --git a/vendor/github.com/google/go-github/v52/github/without_appengine.go b/vendor/github.com/google/go-github/v53/github/without_appengine.go similarity index 100% rename from vendor/github.com/google/go-github/v52/github/without_appengine.go rename to vendor/github.com/google/go-github/v53/github/without_appengine.go diff --git a/vendor/modules.txt b/vendor/modules.txt index 399fe94b76..e3f47117f7 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -332,9 +332,9 @@ 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/v52 v52.0.0 +# github.com/google/go-github/v53 v53.0.0 ## explicit; go 1.17 -github.com/google/go-github/v52/github +github.com/google/go-github/v53/github # github.com/google/go-querystring v1.1.0 ## explicit; go 1.10 github.com/google/go-querystring/query