diff --git a/content/get-started/using-git/index.md b/content/get-started/using-git/index.md index d0382733d122..fbcb36da03a7 100644 --- a/content/get-started/using-git/index.md +++ b/content/get-started/using-git/index.md @@ -26,5 +26,5 @@ children: - /using-git-rebase-on-the-command-line - /resolving-merge-conflicts-after-a-git-rebase - /dealing-with-special-characters-in-branch-and-tag-names + - /troubleshooting-the-2-gb-push-limit --- - diff --git a/content/get-started/using-git/pushing-commits-to-a-remote-repository.md b/content/get-started/using-git/pushing-commits-to-a-remote-repository.md index a8768888c37d..6ebfcc042500 100644 --- a/content/get-started/using-git/pushing-commits-to-a-remote-repository.md +++ b/content/get-started/using-git/pushing-commits-to-a-remote-repository.md @@ -117,4 +117,5 @@ For more information on working with forks, see "[AUTOTITLE](/pull-requests/coll - [`git remote` main page](https://git-scm.com/docs/git-remote.html) - "[AUTOTITLE](/get-started/quickstart/git-cheatsheet)" - "[AUTOTITLE](/get-started/getting-started-with-git/git-workflows)" -- "[Git Handbook](https://guides.github.com/introduction/git-handbook/)" +- "[Git Handbook](https://guides.github.com/introduction/git-handbook/)"{% ifversion fpt or ghec %} +- "[AUTOTITLE](/get-started/using-git/troubleshooting-the-2-gb-push-limit)"{% endif %} diff --git a/content/get-started/using-git/troubleshooting-the-2-gb-push-limit.md b/content/get-started/using-git/troubleshooting-the-2-gb-push-limit.md new file mode 100644 index 000000000000..367cbf295570 --- /dev/null +++ b/content/get-started/using-git/troubleshooting-the-2-gb-push-limit.md @@ -0,0 +1,71 @@ +--- +title: Troubleshooting the 2 GB push limit +intro: 'Learn how to work around the 2 GB push limit.' +versions: + fpt: '*' + ghec: '*' +shortTitle: Maximum push limit +--- + +## About the push limit + +{% data variables.product.prodname_dotcom %} has a maximum 2 GB limit for a single push. You might hit this limit when trying to upload very large repositories for the first time, importing large repositories from other platforms, or when trying to rewrite the history of large existing repositories. + +If you hit this limit, you may see one of the following error messages: + +- `fatal: the remote end hung up unexpectedly` +- `remote: fatal: pack exceeds maximum allowed size` + +You can either split up your push into smaller parts, or delete the Git history and start from scratch. If you have made a single commit that's larger than 2 GB and you can't delete the Git history and start from scratch, then you will need to perform an interactive rebase to split the large commit into multiple smaller ones. + +## Splitting up a large push + +You can avoid hitting the limit by breaking your push into smaller parts, each of which should be under 2 GB in size. If a branch is within this size limit, you can push it all at once. However, if a branch is larger than 2 GB, you'll need to split the push into even smaller portions and push only a few commits at a time. + +1. If you haven't configured the remote yet, add the repository as a new remote. For more information, see "[AUTOTITLE](/get-started/getting-started-with-git/managing-remote-repositories#adding-a-remote-repository)." +1. To find suitable commits spread out along the history of the main branch in your local repository, run the following command: + + ```shell + git log --oneline --reverse refs/heads/BRANCH-NAME | awk 'NR % 1000 == 0' + ``` + + This command reveals every 1000th commit. You can increase or decrease the number to adjust the step size. + +1. Push each of these commits one at a time to your {% data variables.product.prodname_dotcom %} hosted repository. + + ```shell + git push REMOTE-NAME :refs/heads/BRANCH-NAME + ``` + + If you see the message `remote: fatal: pack exceeds maximum allowed size`, reduce the step size in step 2 and try again. + +1. Go through the same process for every commit you identified in the history from step 2. +1. If this is the first time this repository is being pushed to {% data variables.product.prodname_dotcom %}, perform a final mirror push to ensure any remaining refs are pushed up. + + ```shell + git push REMOTE-NAME --mirror + ``` + + If this is still too large, you'll need to push up other branches in stages using the same steps. + +Once you're familiar with the procedure, you can automate steps 2 to 4 to simplify the process. For example: + +```shell +step_commits=$(git log --oneline --reverse refs/heads/BRANCH-NAME | awk 'NR % 1000 == 0') +echo "$step_commits" | while read commit message; do git push REMOTE-NAME $commit:refs/heads/BRANCH-NAME; done +``` + +## Starting from scratch + +If the repository does not have any history, or your initial commit was over 2 GB on its own and you don't mind resetting the Git history, you can also start from scratch. + +1. On your local copy, delete the hidden `.git` folder to remove all the previous Git history and convert it back into a normal folder full of files. +1. Create a new empty folder. +1. Run `git init` and `git lfs install` on the new folder, and add the new empty {% data variables.product.prodname_dotcom %} repository as a remote. +1. If you already use {% data variables.large_files.product_name_long %} and have all of the {% data variables.large_files.product_name_short %} tracking rules you intend to use already listed in the `.gitattributes` file in the old folder, that should be the first file you copy across to the new folder. You should ensure the tracking rules are in place before you add any other files, so that there's no chance things intended for {% data variables.large_files.product_name_short %} will be committed to regular Git storage. + + If you do not already use {% data variables.large_files.product_name_short %}, you can skip this step, or you can set up the tracking rules you intend to use in the `.gitattributes` file in the new folder before you copy any other files across. For more information, see "[AUTOTITLE](/repositories/working-with-files/managing-large-files/configuring-git-large-file-storage)." + +1. Move batches of files that are smaller than 2 GB from the old folder to the new folder. After each batch is moved, create a commit and push it before moving the next batch. You can take a cautious approach and stick to around 2 GB. Alternatively, if you have a folder with files meant for {% data variables.large_files.product_name_short %}, you can ignore those files when considering the 2 GB limit per batch. + +Once the old folder is empty, the {% data variables.product.prodname_dotcom %} repository should contain everything. If you are using {% data variables.large_files.product_name_short %}, all files meant for {% data variables.large_files.product_name_short %} should be pushed to {% data variables.large_files.product_name_short %} storage. diff --git a/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/about-source-code-imports-using-the-command-line.md b/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/about-source-code-imports-using-the-command-line.md index 3992a26acc6f..ed381873c64d 100644 --- a/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/about-source-code-imports-using-the-command-line.md +++ b/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/about-source-code-imports-using-the-command-line.md @@ -38,3 +38,9 @@ You can use the command line to import source code and, if the code has been tra {% endif %} All of these tools import source code and revision history, only. If you also want to import your settings and your collaboration history, such as issues and pull requests, you'll need to use more advanced tools. To determine the best tool to use for your migration, see "[AUTOTITLE](/migrations/overview/planning-your-migration-to-github)." + +{% ifversion fpt or ghec %} +## Further reading + +- "[AUTOTITLE](/get-started/using-git/troubleshooting-the-2-gb-push-limit)" +{% endif %} \ No newline at end of file diff --git a/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/adding-locally-hosted-code-to-github.md b/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/adding-locally-hosted-code-to-github.md index fdbfa8062a5d..1c5e7af52ed7 100644 --- a/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/adding-locally-hosted-code-to-github.md +++ b/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/adding-locally-hosted-code-to-github.md @@ -91,7 +91,7 @@ After you've initialized a Git repository, you can push the repository to {% dat {% data reusables.migrations.create-empty-repo %} 1. At the top of your repository on {% ifversion ghae %}{% data variables.product.product_name %}{% else %}{% data variables.location.product_location %}{% endif %}'s Quick Setup page, click {% octicon "copy" aria-label="Copy to clipboard" %} to copy the remote repository URL. - + ![Screenshot of the "Quick Setup" header in a repository. Next to the remote URL, an icon of two overlapping squares is highlighted with an orange outline.](/assets/images/help/repository/copy-remote-repository-url-quick-setup.png) {% data reusables.command_line.open_the_multi_os_terminal %} 1. Change the current working directory to your local project. @@ -167,4 +167,5 @@ After you've initialized a Git repository, you can push the repository to {% dat ## Further reading -- "[AUTOTITLE](/repositories/working-with-files/managing-files/adding-a-file-to-a-repository#adding-a-file-to-a-repository-using-the-command-line)" +- "[AUTOTITLE](/repositories/working-with-files/managing-files/adding-a-file-to-a-repository#adding-a-file-to-a-repository-using-the-command-line)"{% ifversion fpt or ghec %} +- "[AUTOTITLE](/get-started/using-git/troubleshooting-the-2-gb-push-limit)"{% endif %} diff --git a/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-a-mercurial-repository.md b/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-a-mercurial-repository.md index 95042e3e1e1d..5ebea11bc333 100644 --- a/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-a-mercurial-repository.md +++ b/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-a-mercurial-repository.md @@ -60,3 +60,9 @@ To follow these steps, you must use a macOS or Linux system and have the followi 1. After the import finishes, to check out your newly-created Git repository, run `git checkout HEAD`. {% data reusables.migrations.add-github-repo-as-remote %} {% data reusables.migrations.push-to-github %} + +{% ifversion fpt or ghec %} +## Further reading + +- "[AUTOTITLE](/get-started/using-git/troubleshooting-the-2-gb-push-limit)" +{% endif %} \ No newline at end of file diff --git a/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-a-subversion-repository.md b/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-a-subversion-repository.md index bbcf320aa34e..9dc9aafb190b 100644 --- a/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-a-subversion-repository.md +++ b/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-a-subversion-repository.md @@ -56,3 +56,9 @@ To follow these steps, you must use a macOS or Linux system and have the followi {% data reusables.migrations.move-into-git-repo-directory %} {% data reusables.migrations.add-github-repo-as-remote %} {% data reusables.migrations.push-to-github %} + +{% ifversion fpt or ghec %} +## Further reading + +- "[AUTOTITLE](/get-started/using-git/troubleshooting-the-2-gb-push-limit)" +{% endif %} \ No newline at end of file diff --git a/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-a-team-foundation-version-control-repository.md b/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-a-team-foundation-version-control-repository.md index bdfa64e295a1..7d3f9adcd83b 100644 --- a/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-a-team-foundation-version-control-repository.md +++ b/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-a-team-foundation-version-control-repository.md @@ -60,3 +60,9 @@ To follow these steps, you must use Windows and have the following tools install {% data reusables.migrations.move-into-git-repo-directory %} {% data reusables.migrations.add-github-repo-as-remote %} {% data reusables.migrations.push-to-github %} + +{% ifversion fpt or ghec %} +## Further reading + +- "[AUTOTITLE](/get-started/using-git/troubleshooting-the-2-gb-push-limit)" +{% endif %} \ No newline at end of file diff --git a/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-an-external-git-repository-using-the-command-line.md b/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-an-external-git-repository-using-the-command-line.md index ae486ff3cd14..361b21b0e60b 100644 --- a/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-an-external-git-repository-using-the-command-line.md +++ b/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-an-external-git-repository-using-the-command-line.md @@ -54,3 +54,9 @@ For purposes of demonstration, we'll use: ``` If the repository you are importing contains large files, you may run into a warning or error. For more information on large files and how to manage them, see "[AUTOTITLE](/repositories/working-with-files/managing-large-files/about-large-files-on-github)." + +{% ifversion fpt or ghec %} +## Further reading + +- "[AUTOTITLE](/get-started/using-git/troubleshooting-the-2-gb-push-limit)" +{% endif %} \ No newline at end of file diff --git a/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-from-other-version-control-systems-with-the-administrative-shell.md b/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-from-other-version-control-systems-with-the-administrative-shell.md index 4114e70c0bd3..223411699157 100644 --- a/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-from-other-version-control-systems-with-the-administrative-shell.md +++ b/content/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-from-other-version-control-systems-with-the-administrative-shell.md @@ -93,4 +93,5 @@ permissions: Site administrators can use the administrative shell to import data ## Further reading -- "[AUTOTITLE](/admin/configuration/configuring-your-enterprise/command-line-utilities#import-and-export)" +- "[AUTOTITLE](/admin/configuration/configuring-your-enterprise/command-line-utilities#import-and-export)"{% ifversion fpt or ghec %} +- "[AUTOTITLE](/get-started/using-git/troubleshooting-the-2-gb-push-limit)"{% endif %} diff --git a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json index 909fafb98cd2..dcd73d2a89ea 100644 --- a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json @@ -2624,7 +2624,9 @@ "subcategory": "forks", "verb": "post", "requestPath": "/repos/{owner}/{repo}/forks", - "additional-permissions": [], + "additional-permissions": [ + "contents" + ], "access": "write" }, { @@ -3708,6 +3710,17 @@ "additional-permissions": [], "access": "write" }, + { + "category": "repos", + "slug": "create-a-fork", + "subcategory": "forks", + "verb": "post", + "requestPath": "/repos/{owner}/{repo}/forks", + "additional-permissions": [ + "administration" + ], + "access": "read" + }, { "category": "git", "slug": "create-a-blob", diff --git a/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json index defa3c93abfb..7a096f7dd3f5 100644 --- a/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json @@ -3271,7 +3271,9 @@ "access": "write", "user-to-server": true, "server-to-server": true, - "additional-permissions": [] + "additional-permissions": [ + "contents" + ] }, { "category": "interactions", @@ -4578,6 +4580,19 @@ "server-to-server": true, "additional-permissions": [] }, + { + "category": "repos", + "slug": "create-a-fork", + "subcategory": "forks", + "verb": "post", + "requestPath": "/repos/{owner}/{repo}/forks", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": [ + "administration" + ] + }, { "category": "git", "slug": "create-a-blob", diff --git a/src/github-apps/data/ghae/fine-grained-pat-permissions.json b/src/github-apps/data/ghae/fine-grained-pat-permissions.json index 9dc677ba18f8..f30068f07af7 100644 --- a/src/github-apps/data/ghae/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghae/fine-grained-pat-permissions.json @@ -1708,7 +1708,9 @@ "subcategory": "forks", "verb": "post", "requestPath": "/repos/{owner}/{repo}/forks", - "additional-permissions": [], + "additional-permissions": [ + "contents" + ], "access": "write" }, { @@ -2263,6 +2265,17 @@ "additional-permissions": [], "access": "write" }, + { + "category": "repos", + "slug": "create-a-fork", + "subcategory": "forks", + "verb": "post", + "requestPath": "/repos/{owner}/{repo}/forks", + "additional-permissions": [ + "administration" + ], + "access": "read" + }, { "category": "git", "slug": "create-a-blob", diff --git a/src/github-apps/data/ghae/server-to-server-permissions.json b/src/github-apps/data/ghae/server-to-server-permissions.json index f483dae893e2..5b78b7e9f1cb 100644 --- a/src/github-apps/data/ghae/server-to-server-permissions.json +++ b/src/github-apps/data/ghae/server-to-server-permissions.json @@ -2065,7 +2065,9 @@ "access": "write", "user-to-server": true, "server-to-server": true, - "additional-permissions": [] + "additional-permissions": [ + "contents" + ] }, { "category": "collaborators", @@ -2735,6 +2737,19 @@ "server-to-server": true, "additional-permissions": [] }, + { + "category": "repos", + "slug": "create-a-fork", + "subcategory": "forks", + "verb": "post", + "requestPath": "/repos/{owner}/{repo}/forks", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": [ + "administration" + ] + }, { "category": "git", "slug": "create-a-blob", diff --git a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json index 736731ae32b1..a988b571a788 100644 --- a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json @@ -3282,7 +3282,9 @@ "subcategory": "forks", "verb": "post", "requestPath": "/repos/{owner}/{repo}/forks", - "additional-permissions": [], + "additional-permissions": [ + "contents" + ], "access": "write" }, { @@ -4366,6 +4368,17 @@ "additional-permissions": [], "access": "write" }, + { + "category": "repos", + "slug": "create-a-fork", + "subcategory": "forks", + "verb": "post", + "requestPath": "/repos/{owner}/{repo}/forks", + "additional-permissions": [ + "administration" + ], + "access": "read" + }, { "category": "git", "slug": "create-a-blob", diff --git a/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json index 4881e5847e45..12443c685a21 100644 --- a/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json @@ -4082,7 +4082,9 @@ "access": "write", "user-to-server": true, "server-to-server": true, - "additional-permissions": [] + "additional-permissions": [ + "contents" + ] }, { "category": "interactions", @@ -5389,6 +5391,19 @@ "server-to-server": true, "additional-permissions": [] }, + { + "category": "repos", + "slug": "create-a-fork", + "subcategory": "forks", + "verb": "post", + "requestPath": "/repos/{owner}/{repo}/forks", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": [ + "administration" + ] + }, { "category": "git", "slug": "create-a-blob", diff --git a/src/github-apps/data/ghes-3.10-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/ghes-3.10-2022-11-28/fine-grained-pat-permissions.json index edf08f498e5c..970d8b110f85 100644 --- a/src/github-apps/data/ghes-3.10-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghes-3.10-2022-11-28/fine-grained-pat-permissions.json @@ -2681,7 +2681,9 @@ "subcategory": "forks", "verb": "post", "requestPath": "/repos/{owner}/{repo}/forks", - "additional-permissions": [], + "additional-permissions": [ + "contents" + ], "access": "write" }, { @@ -3349,6 +3351,17 @@ "additional-permissions": [], "access": "write" }, + { + "category": "repos", + "slug": "create-a-fork", + "subcategory": "forks", + "verb": "post", + "requestPath": "/repos/{owner}/{repo}/forks", + "additional-permissions": [ + "administration" + ], + "access": "read" + }, { "category": "git", "slug": "create-a-blob", diff --git a/src/github-apps/data/ghes-3.10-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/ghes-3.10-2022-11-28/server-to-server-permissions.json index 0c9438858ab3..4c883d2f2951 100644 --- a/src/github-apps/data/ghes-3.10-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/ghes-3.10-2022-11-28/server-to-server-permissions.json @@ -3359,7 +3359,9 @@ "access": "write", "user-to-server": true, "server-to-server": true, - "additional-permissions": [] + "additional-permissions": [ + "contents" + ] }, { "category": "collaborators", @@ -4166,6 +4168,19 @@ "server-to-server": true, "additional-permissions": [] }, + { + "category": "repos", + "slug": "create-a-fork", + "subcategory": "forks", + "verb": "post", + "requestPath": "/repos/{owner}/{repo}/forks", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": [ + "administration" + ] + }, { "category": "git", "slug": "create-a-blob", diff --git a/src/github-apps/data/ghes-3.6/fine-grained-pat-permissions.json b/src/github-apps/data/ghes-3.6/fine-grained-pat-permissions.json index 48fc9542b0d9..d1c8af8d420f 100644 --- a/src/github-apps/data/ghes-3.6/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghes-3.6/fine-grained-pat-permissions.json @@ -2317,7 +2317,9 @@ "subcategory": "forks", "verb": "post", "requestPath": "/repos/{owner}/{repo}/forks", - "additional-permissions": [], + "additional-permissions": [ + "contents" + ], "access": "write" }, { @@ -2940,6 +2942,17 @@ "additional-permissions": [], "access": "write" }, + { + "category": "repos", + "slug": "create-a-fork", + "subcategory": "forks", + "verb": "post", + "requestPath": "/repos/{owner}/{repo}/forks", + "additional-permissions": [ + "administration" + ], + "access": "read" + }, { "category": "git", "slug": "create-a-blob", diff --git a/src/github-apps/data/ghes-3.6/server-to-server-permissions.json b/src/github-apps/data/ghes-3.6/server-to-server-permissions.json index d12b792c6369..9229a3b2838e 100644 --- a/src/github-apps/data/ghes-3.6/server-to-server-permissions.json +++ b/src/github-apps/data/ghes-3.6/server-to-server-permissions.json @@ -2802,7 +2802,9 @@ "access": "write", "user-to-server": true, "server-to-server": true, - "additional-permissions": [] + "additional-permissions": [ + "contents" + ] }, { "category": "collaborators", @@ -3554,6 +3556,19 @@ "server-to-server": true, "additional-permissions": [] }, + { + "category": "repos", + "slug": "create-a-fork", + "subcategory": "forks", + "verb": "post", + "requestPath": "/repos/{owner}/{repo}/forks", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": [ + "administration" + ] + }, { "category": "git", "slug": "create-a-blob", diff --git a/src/github-apps/data/ghes-3.7/fine-grained-pat-permissions.json b/src/github-apps/data/ghes-3.7/fine-grained-pat-permissions.json index 165382b01251..689bafcf724b 100644 --- a/src/github-apps/data/ghes-3.7/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghes-3.7/fine-grained-pat-permissions.json @@ -2416,7 +2416,9 @@ "subcategory": "forks", "verb": "post", "requestPath": "/repos/{owner}/{repo}/forks", - "additional-permissions": [], + "additional-permissions": [ + "contents" + ], "access": "write" }, { @@ -3048,6 +3050,17 @@ "additional-permissions": [], "access": "write" }, + { + "category": "repos", + "slug": "create-a-fork", + "subcategory": "forks", + "verb": "post", + "requestPath": "/repos/{owner}/{repo}/forks", + "additional-permissions": [ + "administration" + ], + "access": "read" + }, { "category": "git", "slug": "create-a-blob", diff --git a/src/github-apps/data/ghes-3.7/server-to-server-permissions.json b/src/github-apps/data/ghes-3.7/server-to-server-permissions.json index 24b9b4857ea8..944242b11c73 100644 --- a/src/github-apps/data/ghes-3.7/server-to-server-permissions.json +++ b/src/github-apps/data/ghes-3.7/server-to-server-permissions.json @@ -2923,7 +2923,9 @@ "access": "write", "user-to-server": true, "server-to-server": true, - "additional-permissions": [] + "additional-permissions": [ + "contents" + ] }, { "category": "collaborators", @@ -3686,6 +3688,19 @@ "server-to-server": true, "additional-permissions": [] }, + { + "category": "repos", + "slug": "create-a-fork", + "subcategory": "forks", + "verb": "post", + "requestPath": "/repos/{owner}/{repo}/forks", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": [ + "administration" + ] + }, { "category": "git", "slug": "create-a-blob", diff --git a/src/github-apps/data/ghes-3.8/fine-grained-pat-permissions.json b/src/github-apps/data/ghes-3.8/fine-grained-pat-permissions.json index 2df492190faf..d81492b57537 100644 --- a/src/github-apps/data/ghes-3.8/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghes-3.8/fine-grained-pat-permissions.json @@ -2529,7 +2529,9 @@ "subcategory": "forks", "verb": "post", "requestPath": "/repos/{owner}/{repo}/forks", - "additional-permissions": [], + "additional-permissions": [ + "contents" + ], "access": "write" }, { @@ -3161,6 +3163,17 @@ "additional-permissions": [], "access": "write" }, + { + "category": "repos", + "slug": "create-a-fork", + "subcategory": "forks", + "verb": "post", + "requestPath": "/repos/{owner}/{repo}/forks", + "additional-permissions": [ + "administration" + ], + "access": "read" + }, { "category": "git", "slug": "create-a-blob", diff --git a/src/github-apps/data/ghes-3.8/server-to-server-permissions.json b/src/github-apps/data/ghes-3.8/server-to-server-permissions.json index 7800cbfe6338..7df95ebb6809 100644 --- a/src/github-apps/data/ghes-3.8/server-to-server-permissions.json +++ b/src/github-apps/data/ghes-3.8/server-to-server-permissions.json @@ -3058,7 +3058,9 @@ "access": "write", "user-to-server": true, "server-to-server": true, - "additional-permissions": [] + "additional-permissions": [ + "contents" + ] }, { "category": "collaborators", @@ -3821,6 +3823,19 @@ "server-to-server": true, "additional-permissions": [] }, + { + "category": "repos", + "slug": "create-a-fork", + "subcategory": "forks", + "verb": "post", + "requestPath": "/repos/{owner}/{repo}/forks", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": [ + "administration" + ] + }, { "category": "git", "slug": "create-a-blob", diff --git a/src/github-apps/data/ghes-3.9-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/ghes-3.9-2022-11-28/fine-grained-pat-permissions.json index a9e27c316f34..3f9ee5356628 100644 --- a/src/github-apps/data/ghes-3.9-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghes-3.9-2022-11-28/fine-grained-pat-permissions.json @@ -2618,7 +2618,9 @@ "subcategory": "forks", "verb": "post", "requestPath": "/repos/{owner}/{repo}/forks", - "additional-permissions": [], + "additional-permissions": [ + "contents" + ], "access": "write" }, { @@ -3286,6 +3288,17 @@ "additional-permissions": [], "access": "write" }, + { + "category": "repos", + "slug": "create-a-fork", + "subcategory": "forks", + "verb": "post", + "requestPath": "/repos/{owner}/{repo}/forks", + "additional-permissions": [ + "administration" + ], + "access": "read" + }, { "category": "git", "slug": "create-a-blob", diff --git a/src/github-apps/data/ghes-3.9-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/ghes-3.9-2022-11-28/server-to-server-permissions.json index f15d54f3f7b8..1f4633d9a2ab 100644 --- a/src/github-apps/data/ghes-3.9-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/ghes-3.9-2022-11-28/server-to-server-permissions.json @@ -3165,7 +3165,9 @@ "access": "write", "user-to-server": true, "server-to-server": true, - "additional-permissions": [] + "additional-permissions": [ + "contents" + ] }, { "category": "collaborators", @@ -3972,6 +3974,19 @@ "server-to-server": true, "additional-permissions": [] }, + { + "category": "repos", + "slug": "create-a-fork", + "subcategory": "forks", + "verb": "post", + "requestPath": "/repos/{owner}/{repo}/forks", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": [ + "administration" + ] + }, { "category": "git", "slug": "create-a-blob", diff --git a/src/github-apps/lib/config.json b/src/github-apps/lib/config.json index f437513e8aee..c9cd37113164 100644 --- a/src/github-apps/lib/config.json +++ b/src/github-apps/lib/config.json @@ -60,5 +60,5 @@ "2022-11-28" ] }, - "sha": "1f8704c8b8b482ce9d19b5be2d64b8c909507f40" + "sha": "5510d0097b4671e408afa4da29456749b30205ff" } \ No newline at end of file diff --git a/src/rest/data/fpt-2022-11-28/schema.json b/src/rest/data/fpt-2022-11-28/schema.json index 4428545a6311..5cc3980d9327 100644 --- a/src/rest/data/fpt-2022-11-28/schema.json +++ b/src/rest/data/fpt-2022-11-28/schema.json @@ -225601,8 +225601,6 @@ "versionInfo", "downloadLocation", "filesAnalyzed", - "licenseConcluded", - "licenseDeclared", "supplier" ] } @@ -240873,7 +240871,7 @@ "type": "object", "name": "files", "in": "body", - "description": "

The gist files to be updated, renamed, or deleted. Each key must match the current filename\n(including extension) of the targeted gist file. For example: hello.py.

\n

To delete a file, set the whole file to null. For example: hello.py : null.

", + "description": "

The gist files to be updated, renamed, or deleted. Each key must match the current filename\n(including extension) of the targeted gist file. For example: hello.py.

\n

To delete a file, set the whole file to null. For example: hello.py : null. The file will also be\ndeleted if the specified object does not contain at least one of content or filename.

", "childParamsGroups": [ { "type": "object", @@ -244728,7 +244726,7 @@ } ], "previews": [], - "descriptionHTML": "

Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.

", + "descriptionHTML": "

Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\nAt least one of description or files is required.

", "statusCodes": [ { "httpStatusCode": "200", diff --git a/src/rest/data/ghae/schema.json b/src/rest/data/ghae/schema.json index 3181c82519d0..b48afae035b9 100644 --- a/src/rest/data/ghae/schema.json +++ b/src/rest/data/ghae/schema.json @@ -158215,7 +158215,7 @@ "type": "object", "name": "files", "in": "body", - "description": "

The gist files to be updated, renamed, or deleted. Each key must match the current filename\n(including extension) of the targeted gist file. For example: hello.py.

\n

To delete a file, set the whole file to null. For example: hello.py : null.

", + "description": "

The gist files to be updated, renamed, or deleted. Each key must match the current filename\n(including extension) of the targeted gist file. For example: hello.py.

\n

To delete a file, set the whole file to null. For example: hello.py : null. The file will also be\ndeleted if the specified object does not contain at least one of content or filename.

", "childParamsGroups": [ { "type": "object", @@ -162070,7 +162070,7 @@ } ], "previews": [], - "descriptionHTML": "

Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.

", + "descriptionHTML": "

Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\nAt least one of description or files is required.

", "statusCodes": [ { "httpStatusCode": "200", diff --git a/src/rest/data/ghec-2022-11-28/schema.json b/src/rest/data/ghec-2022-11-28/schema.json index b0369a71e3ec..2ef0d1f9152b 100644 --- a/src/rest/data/ghec-2022-11-28/schema.json +++ b/src/rest/data/ghec-2022-11-28/schema.json @@ -237300,8 +237300,6 @@ "versionInfo", "downloadLocation", "filesAnalyzed", - "licenseConcluded", - "licenseDeclared", "supplier" ] } @@ -259673,7 +259671,7 @@ "type": "object", "name": "files", "in": "body", - "description": "

The gist files to be updated, renamed, or deleted. Each key must match the current filename\n(including extension) of the targeted gist file. For example: hello.py.

\n

To delete a file, set the whole file to null. For example: hello.py : null.

", + "description": "

The gist files to be updated, renamed, or deleted. Each key must match the current filename\n(including extension) of the targeted gist file. For example: hello.py.

\n

To delete a file, set the whole file to null. For example: hello.py : null. The file will also be\ndeleted if the specified object does not contain at least one of content or filename.

", "childParamsGroups": [ { "type": "object", @@ -263528,7 +263526,7 @@ } ], "previews": [], - "descriptionHTML": "

Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.

", + "descriptionHTML": "

Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\nAt least one of description or files is required.

", "statusCodes": [ { "httpStatusCode": "200", diff --git a/src/rest/data/ghes-3.10-2022-11-28/schema.json b/src/rest/data/ghes-3.10-2022-11-28/schema.json index 73cf92d5f804..6bb0daf4272d 100644 --- a/src/rest/data/ghes-3.10-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.10-2022-11-28/schema.json @@ -222651,7 +222651,7 @@ "type": "object", "name": "files", "in": "body", - "description": "

The gist files to be updated, renamed, or deleted. Each key must match the current filename\n(including extension) of the targeted gist file. For example: hello.py.

\n

To delete a file, set the whole file to null. For example: hello.py : null.

", + "description": "

The gist files to be updated, renamed, or deleted. Each key must match the current filename\n(including extension) of the targeted gist file. For example: hello.py.

\n

To delete a file, set the whole file to null. For example: hello.py : null. The file will also be\ndeleted if the specified object does not contain at least one of content or filename.

", "childParamsGroups": [ { "type": "object", @@ -226506,7 +226506,7 @@ } ], "previews": [], - "descriptionHTML": "

Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.

", + "descriptionHTML": "

Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\nAt least one of description or files is required.

", "statusCodes": [ { "httpStatusCode": "200", diff --git a/src/rest/data/ghes-3.6/schema.json b/src/rest/data/ghes-3.6/schema.json index 1fcb6737d42f..2bb06d168fab 100644 --- a/src/rest/data/ghes-3.6/schema.json +++ b/src/rest/data/ghes-3.6/schema.json @@ -204583,7 +204583,7 @@ "type": "object", "name": "files", "in": "body", - "description": "

The gist files to be updated, renamed, or deleted. Each key must match the current filename\n(including extension) of the targeted gist file. For example: hello.py.

\n

To delete a file, set the whole file to null. For example: hello.py : null.

", + "description": "

The gist files to be updated, renamed, or deleted. Each key must match the current filename\n(including extension) of the targeted gist file. For example: hello.py.

\n

To delete a file, set the whole file to null. For example: hello.py : null. The file will also be\ndeleted if the specified object does not contain at least one of content or filename.

", "childParamsGroups": [ { "type": "object", @@ -208438,7 +208438,7 @@ } ], "previews": [], - "descriptionHTML": "

Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.

", + "descriptionHTML": "

Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\nAt least one of description or files is required.

", "statusCodes": [ { "httpStatusCode": "200", diff --git a/src/rest/data/ghes-3.7/schema.json b/src/rest/data/ghes-3.7/schema.json index d31b4a3857e1..4e6037360081 100644 --- a/src/rest/data/ghes-3.7/schema.json +++ b/src/rest/data/ghes-3.7/schema.json @@ -207412,7 +207412,7 @@ "type": "object", "name": "files", "in": "body", - "description": "

The gist files to be updated, renamed, or deleted. Each key must match the current filename\n(including extension) of the targeted gist file. For example: hello.py.

\n

To delete a file, set the whole file to null. For example: hello.py : null.

", + "description": "

The gist files to be updated, renamed, or deleted. Each key must match the current filename\n(including extension) of the targeted gist file. For example: hello.py.

\n

To delete a file, set the whole file to null. For example: hello.py : null. The file will also be\ndeleted if the specified object does not contain at least one of content or filename.

", "childParamsGroups": [ { "type": "object", @@ -211267,7 +211267,7 @@ } ], "previews": [], - "descriptionHTML": "

Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.

", + "descriptionHTML": "

Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\nAt least one of description or files is required.

", "statusCodes": [ { "httpStatusCode": "200", diff --git a/src/rest/data/ghes-3.8/schema.json b/src/rest/data/ghes-3.8/schema.json index 881b7ec3a535..0d73743b4c5d 100644 --- a/src/rest/data/ghes-3.8/schema.json +++ b/src/rest/data/ghes-3.8/schema.json @@ -217449,7 +217449,7 @@ "type": "object", "name": "files", "in": "body", - "description": "

The gist files to be updated, renamed, or deleted. Each key must match the current filename\n(including extension) of the targeted gist file. For example: hello.py.

\n

To delete a file, set the whole file to null. For example: hello.py : null.

", + "description": "

The gist files to be updated, renamed, or deleted. Each key must match the current filename\n(including extension) of the targeted gist file. For example: hello.py.

\n

To delete a file, set the whole file to null. For example: hello.py : null. The file will also be\ndeleted if the specified object does not contain at least one of content or filename.

", "childParamsGroups": [ { "type": "object", @@ -221304,7 +221304,7 @@ } ], "previews": [], - "descriptionHTML": "

Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.

", + "descriptionHTML": "

Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\nAt least one of description or files is required.

", "statusCodes": [ { "httpStatusCode": "200", diff --git a/src/rest/data/ghes-3.9-2022-11-28/schema.json b/src/rest/data/ghes-3.9-2022-11-28/schema.json index b36574534494..11d925bd7286 100644 --- a/src/rest/data/ghes-3.9-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.9-2022-11-28/schema.json @@ -220138,7 +220138,7 @@ "type": "object", "name": "files", "in": "body", - "description": "

The gist files to be updated, renamed, or deleted. Each key must match the current filename\n(including extension) of the targeted gist file. For example: hello.py.

\n

To delete a file, set the whole file to null. For example: hello.py : null.

", + "description": "

The gist files to be updated, renamed, or deleted. Each key must match the current filename\n(including extension) of the targeted gist file. For example: hello.py.

\n

To delete a file, set the whole file to null. For example: hello.py : null. The file will also be\ndeleted if the specified object does not contain at least one of content or filename.

", "childParamsGroups": [ { "type": "object", @@ -223993,7 +223993,7 @@ } ], "previews": [], - "descriptionHTML": "

Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.

", + "descriptionHTML": "

Allows you to update a gist's description and to update, delete, or rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\nAt least one of description or files is required.

", "statusCodes": [ { "httpStatusCode": "200", diff --git a/src/rest/lib/config.json b/src/rest/lib/config.json index 95e248441a89..96a387b3604f 100644 --- a/src/rest/lib/config.json +++ b/src/rest/lib/config.json @@ -36,5 +36,5 @@ ] } }, - "sha": "1f8704c8b8b482ce9d19b5be2d64b8c909507f40" + "sha": "5510d0097b4671e408afa4da29456749b30205ff" } \ No newline at end of file diff --git a/src/webhooks/data/fpt/schema.json b/src/webhooks/data/fpt/schema.json index 2a624beee8c9..a070888e3bd5 100644 --- a/src/webhooks/data/fpt/schema.json +++ b/src/webhooks/data/fpt/schema.json @@ -14879,7 +14879,7 @@ "delete": { "default": { "descriptionHtml": "", - "summaryHtml": "

This event occurs when a Git branch or tag is deleted.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.

\n

Note: This event will not occur when more than three tags are deleted at once.

", + "summaryHtml": "

This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including\nbranch and tag deletions, use the push webhook event.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.

\n

Note: This event will not occur when more than three tags are deleted at once.

", "bodyParameters": [ { "type": "object", @@ -163086,7 +163086,7 @@ "push": { "default": { "descriptionHtml": "", - "summaryHtml": "

This event occurs when a commit or tag is pushed, or when a repository is cloned.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.

\n

Note: An event will not be created when more than three tags are pushed at once.

", + "summaryHtml": "

This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed,\nwhen a branch is deleted, when a tag is deleted, or when a repository is cloned. To subscribe to only branch\nand tag deletions, use the delete webhook event.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.

\n

Note: An event will not be created when more than three tags are pushed at once.

", "bodyParameters": [ { "type": "string", diff --git a/src/webhooks/data/ghae/schema.json b/src/webhooks/data/ghae/schema.json index b5c8d029e3a4..e943c7bd1d28 100644 --- a/src/webhooks/data/ghae/schema.json +++ b/src/webhooks/data/ghae/schema.json @@ -14755,7 +14755,7 @@ "delete": { "default": { "descriptionHtml": "", - "summaryHtml": "

This event occurs when a Git branch or tag is deleted.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.

\n

Note: This event will not occur when more than three tags are deleted at once.

", + "summaryHtml": "

This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including\nbranch and tag deletions, use the push webhook event.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.

\n

Note: This event will not occur when more than three tags are deleted at once.

", "bodyParameters": [ { "type": "object", @@ -150408,7 +150408,7 @@ "push": { "default": { "descriptionHtml": "", - "summaryHtml": "

This event occurs when a commit or tag is pushed, or when a repository is cloned.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.

\n

Note: An event will not be created when more than three tags are pushed at once.

", + "summaryHtml": "

This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed,\nwhen a branch is deleted, when a tag is deleted, or when a repository is cloned. To subscribe to only branch\nand tag deletions, use the delete webhook event.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.

\n

Note: An event will not be created when more than three tags are pushed at once.

", "bodyParameters": [ { "type": "string", diff --git a/src/webhooks/data/ghec/schema.json b/src/webhooks/data/ghec/schema.json index 1e5f597f0399..1ccca21c6836 100644 --- a/src/webhooks/data/ghec/schema.json +++ b/src/webhooks/data/ghec/schema.json @@ -14879,7 +14879,7 @@ "delete": { "default": { "descriptionHtml": "", - "summaryHtml": "

This event occurs when a Git branch or tag is deleted.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.

\n

Note: This event will not occur when more than three tags are deleted at once.

", + "summaryHtml": "

This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including\nbranch and tag deletions, use the push webhook event.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.

\n

Note: This event will not occur when more than three tags are deleted at once.

", "bodyParameters": [ { "type": "object", @@ -163086,7 +163086,7 @@ "push": { "default": { "descriptionHtml": "", - "summaryHtml": "

This event occurs when a commit or tag is pushed, or when a repository is cloned.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.

\n

Note: An event will not be created when more than three tags are pushed at once.

", + "summaryHtml": "

This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed,\nwhen a branch is deleted, when a tag is deleted, or when a repository is cloned. To subscribe to only branch\nand tag deletions, use the delete webhook event.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.

\n

Note: An event will not be created when more than three tags are pushed at once.

", "bodyParameters": [ { "type": "string", diff --git a/src/webhooks/data/ghes-3.10/schema.json b/src/webhooks/data/ghes-3.10/schema.json index 4d939ac17aa3..0a2379e12826 100644 --- a/src/webhooks/data/ghes-3.10/schema.json +++ b/src/webhooks/data/ghes-3.10/schema.json @@ -14833,7 +14833,7 @@ "delete": { "default": { "descriptionHtml": "", - "summaryHtml": "

This event occurs when a Git branch or tag is deleted.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.

\n

Note: This event will not occur when more than three tags are deleted at once.

", + "summaryHtml": "

This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including\nbranch and tag deletions, use the push webhook event.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.

\n

Note: This event will not occur when more than three tags are deleted at once.

", "bodyParameters": [ { "type": "object", @@ -153739,7 +153739,7 @@ "push": { "default": { "descriptionHtml": "", - "summaryHtml": "

This event occurs when a commit or tag is pushed, or when a repository is cloned.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.

\n

Note: An event will not be created when more than three tags are pushed at once.

", + "summaryHtml": "

This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed,\nwhen a branch is deleted, when a tag is deleted, or when a repository is cloned. To subscribe to only branch\nand tag deletions, use the delete webhook event.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.

\n

Note: An event will not be created when more than three tags are pushed at once.

", "bodyParameters": [ { "type": "string", diff --git a/src/webhooks/data/ghes-3.7/schema.json b/src/webhooks/data/ghes-3.7/schema.json index 2cdc80db1b57..0ac10eb0a12a 100644 --- a/src/webhooks/data/ghes-3.7/schema.json +++ b/src/webhooks/data/ghes-3.7/schema.json @@ -14534,7 +14534,7 @@ "delete": { "default": { "descriptionHtml": "", - "summaryHtml": "

This event occurs when a Git branch or tag is deleted.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.

\n

Note: This event will not occur when more than three tags are deleted at once.

", + "summaryHtml": "

This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including\nbranch and tag deletions, use the push webhook event.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.

\n

Note: This event will not occur when more than three tags are deleted at once.

", "bodyParameters": [ { "type": "object", @@ -144507,7 +144507,7 @@ "push": { "default": { "descriptionHtml": "", - "summaryHtml": "

This event occurs when a commit or tag is pushed, or when a repository is cloned.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.

\n

Note: An event will not be created when more than three tags are pushed at once.

", + "summaryHtml": "

This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed,\nwhen a branch is deleted, when a tag is deleted, or when a repository is cloned. To subscribe to only branch\nand tag deletions, use the delete webhook event.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.

\n

Note: An event will not be created when more than three tags are pushed at once.

", "bodyParameters": [ { "type": "string", diff --git a/src/webhooks/data/ghes-3.8/schema.json b/src/webhooks/data/ghes-3.8/schema.json index 7672909fcfd5..ae9cd4201932 100644 --- a/src/webhooks/data/ghes-3.8/schema.json +++ b/src/webhooks/data/ghes-3.8/schema.json @@ -14534,7 +14534,7 @@ "delete": { "default": { "descriptionHtml": "", - "summaryHtml": "

This event occurs when a Git branch or tag is deleted.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.

\n

Note: This event will not occur when more than three tags are deleted at once.

", + "summaryHtml": "

This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including\nbranch and tag deletions, use the push webhook event.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.

\n

Note: This event will not occur when more than three tags are deleted at once.

", "bodyParameters": [ { "type": "object", @@ -144507,7 +144507,7 @@ "push": { "default": { "descriptionHtml": "", - "summaryHtml": "

This event occurs when a commit or tag is pushed, or when a repository is cloned.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.

\n

Note: An event will not be created when more than three tags are pushed at once.

", + "summaryHtml": "

This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed,\nwhen a branch is deleted, when a tag is deleted, or when a repository is cloned. To subscribe to only branch\nand tag deletions, use the delete webhook event.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.

\n

Note: An event will not be created when more than three tags are pushed at once.

", "bodyParameters": [ { "type": "string", diff --git a/src/webhooks/data/ghes-3.9/schema.json b/src/webhooks/data/ghes-3.9/schema.json index f9721fe38575..edf7ed4a71cf 100644 --- a/src/webhooks/data/ghes-3.9/schema.json +++ b/src/webhooks/data/ghes-3.9/schema.json @@ -14754,7 +14754,7 @@ "delete": { "default": { "descriptionHtml": "", - "summaryHtml": "

This event occurs when a Git branch or tag is deleted.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.

\n

Note: This event will not occur when more than three tags are deleted at once.

", + "summaryHtml": "

This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including\nbranch and tag deletions, use the push webhook event.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.

\n

Note: This event will not occur when more than three tags are deleted at once.

", "bodyParameters": [ { "type": "object", @@ -148521,7 +148521,7 @@ "push": { "default": { "descriptionHtml": "", - "summaryHtml": "

This event occurs when a commit or tag is pushed, or when a repository is cloned.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.

\n

Note: An event will not be created when more than three tags are pushed at once.

", + "summaryHtml": "

This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed,\nwhen a branch is deleted, when a tag is deleted, or when a repository is cloned. To subscribe to only branch\nand tag deletions, use the delete webhook event.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.

\n

Note: An event will not be created when more than three tags are pushed at once.

", "bodyParameters": [ { "type": "string", diff --git a/src/webhooks/lib/config.json b/src/webhooks/lib/config.json index 6ea13e78234e..5ea3608905ca 100644 --- a/src/webhooks/lib/config.json +++ b/src/webhooks/lib/config.json @@ -1,3 +1,3 @@ { - "sha": "1f8704c8b8b482ce9d19b5be2d64b8c909507f40" + "sha": "5510d0097b4671e408afa4da29456749b30205ff" } \ No newline at end of file