Skip to content

Commit

Permalink
fix: don't document allow_auto_merge request parameter for repos-re…
Browse files Browse the repository at this point in the history
…lated APIs in GHES 3.2, since it isn't actually supported in that GHES version (#452)
  • Loading branch information
octokitbot committed Jul 12, 2022
1 parent faf83b7 commit 603197d
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 59 deletions.
6 changes: 3 additions & 3 deletions docs/ghe-32.md
Original file line number Diff line number Diff line change
Expand Up @@ -568,9 +568,9 @@ octokit.repos.createDeployKey({owner, repo, title, key, read_only});
octokit.repos.createDeployment({owner, repo, ref, task, auto_merge, required_contexts, payload, environment, description, transient_environment, production_environment});
octokit.repos.createDeploymentStatus({owner, repo, deployment_id, state, target_url, log_url, description, environment, environment_url, auto_inactive});
octokit.repos.createDispatchEvent({owner, repo, event_type, client_payload});
octokit.repos.createForAuthenticatedUser({name, description, homepage, private, has_issues, has_projects, has_wiki, team_id, auto_init, gitignore_template, license_template, allow_squash_merge, allow_merge_commit, allow_rebase_merge, allow_auto_merge, delete_branch_on_merge, has_downloads, is_template});
octokit.repos.createForAuthenticatedUser({name, description, homepage, private, has_issues, has_projects, has_wiki, team_id, auto_init, gitignore_template, license_template, allow_squash_merge, allow_merge_commit, allow_rebase_merge, delete_branch_on_merge, has_downloads, is_template});
octokit.repos.createFork({owner, repo, organization});
octokit.repos.createInOrg({org, name, description, homepage, private, visibility, has_issues, has_projects, has_wiki, is_template, team_id, auto_init, gitignore_template, license_template, allow_squash_merge, allow_merge_commit, allow_rebase_merge, allow_auto_merge, delete_branch_on_merge, use_squash_pr_title_as_default});
octokit.repos.createInOrg({org, name, description, homepage, private, visibility, has_issues, has_projects, has_wiki, is_template, team_id, auto_init, gitignore_template, license_template, allow_squash_merge, allow_merge_commit, allow_rebase_merge, delete_branch_on_merge, use_squash_pr_title_as_default});
octokit.repos.createOrUpdateEnvironment({owner, repo, environment_name, wait_timer, reviewers, deployment_branch_policy});
octokit.repos.createOrUpdateFileContents({owner, repo, path, message, content, sha, branch, committer, author});
octokit.repos.createPagesSite({owner, repo, source});
Expand Down Expand Up @@ -683,7 +683,7 @@ octokit.repos.setTeamAccessRestrictions({owner, repo, branch, teams});
octokit.repos.setUserAccessRestrictions({owner, repo, branch, users});
octokit.repos.testPushWebhook({owner, repo, hook_id});
octokit.repos.transfer({owner, repo, new_owner, team_ids});
octokit.repos.update({owner, repo, name, description, homepage, private, visibility, security_and_analysis, has_issues, has_projects, has_wiki, is_template, default_branch, allow_squash_merge, allow_merge_commit, allow_rebase_merge, allow_auto_merge, delete_branch_on_merge, allow_update_branch, use_squash_pr_title_as_default, archived, allow_forking});
octokit.repos.update({owner, repo, name, description, homepage, private, visibility, security_and_analysis, has_issues, has_projects, has_wiki, is_template, default_branch, allow_squash_merge, allow_merge_commit, allow_rebase_merge, delete_branch_on_merge, allow_update_branch, use_squash_pr_title_as_default, archived, allow_forking});
octokit.repos.updateBranchProtection({owner, repo, branch, required_status_checks, enforce_admins, required_pull_request_reviews, restrictions, required_linear_history, allow_force_pushes, allow_deletions, block_creations, required_conversation_resolution, contexts});
octokit.repos.updateCommitComment({owner, repo, comment_id, body});
octokit.repos.updateInformationAboutPagesSite({owner, repo, cname, https_enforced, public, source});
Expand Down
Loading

0 comments on commit 603197d

Please sign in to comment.