Skip to content

Commit fd066a7

Browse files
author
Martin Lopes
authored
Merge branch 'main' into patch-1
2 parents 66e58a9 + efc9d4c commit fd066a7

6 files changed

Lines changed: 32 additions & 12 deletions

File tree

content/code-security/supply-chain-security/enabling-and-disabling-version-updates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ updates:
114114
interval: "daily"
115115
# Overwrite any ignores created using `@dependabot ignore` commands
116116
ignore:
117-
# Ignore updates to packages that start 'aws'
117+
# Ignore updates to packages that start with 'aws'
118118
# Wildcards match zero or more arbitrary characters
119119
- dependency-name: "aws*"
120120
# Ignore some updates to the 'express' package

content/developers/webhooks-and-events/github-event-types.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,20 @@ This event returns an empty `payload` object.
183183
{% data reusables.webhooks.pull_request_event_api_properties %}
184184
{% data reusables.webhooks.pull_request_properties %}
185185

186+
### PullRequestReviewEvent
187+
188+
{% data reusables.webhooks.pull_request_review_short_desc %}
189+
190+
{% data reusables.webhooks.events_api_payload %}
191+
192+
#### Event `payload` object
193+
194+
Key | Type | Description
195+
----|------|-------------
196+
`action` | `string` | The action that was performed. Can be `created`.
197+
`pull_request` | `object` | The pull request the review pertains to.
198+
`review` | `object` | The review that was affected.
199+
186200
### PullRequestReviewCommentEvent
187201

188202
{% data reusables.webhooks.pull_request_review_comment_short_desc %}
@@ -200,6 +214,8 @@ This event returns an empty `payload` object.
200214

201215
{% data reusables.webhooks.events_api_payload %}
202216

217+
#### Event `payload` object
218+
203219
Key | Type | Description
204220
----|------|-------------
205221
`push_id` | `integer` | Unique identifier for the push.

content/github/administering-a-repository/renaming-a-branch.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ intro: You can change the name of a branch in a repository.
44
permissions: People with write permissions to a repository can rename a branch in the repository. People with admin permissions can rename the default branch.
55
versions:
66
free-pro-team: '*'
7-
enterprise-server: '>=3.1'
7+
enterprise-server: '>=3.2'
88
topics:
99
- repositories
1010
---
@@ -13,7 +13,9 @@ topics:
1313

1414
You can rename a branch in a repository on {% data variables.product.product_location %}. For more information about branches, see "[About branches](/github/collaborating-with-issues-and-pull-requests/about-branches)."
1515

16-
If you rename a branch, {% data variables.product.prodname_dotcom %} will automatically redirect links on {% if currentVersion == "free-pro-team@latest" %}{% data variables.product.prodname_dotcom_the_website %}{% else %}{% data variables.product.product_location_enterprise %}{% endif %} that contain the old branch name to the equivalent link on the renamed branch. {% data variables.product.prodname_dotcom %} will also update branch protection policies, as well as the base branch for open pull requests and draft releases.
16+
When you rename a branch on {% data variables.product.product_location %}, any URLs that contain the old branch name are automatically redirected to the equivalent URL for the renamed branch. Branch protection policies are also updated, as well as the base branch for open pull requests (including those for forks) and draft releases. After the rename is complete, {% data variables.product.prodname_dotcom %} provides instructions on the repository's home page directing contributors to update their local Git environments.
17+
18+
Although file URLs are automatically redirected, raw file URLs are not redirected. Also, {% data variables.product.prodname_dotcom %} does not perform any redirects if users perform a `git pull` for the previous branch name.
1719

1820
### Renaming a branch
1921

content/github/creating-cloning-and-archiving-repositories/about-repository-languages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ topics:
1818
{% data variables.product.product_name %} uses the open source [Linguist library](https://github.com/github/linguist) to
1919
determine file languages for syntax highlighting and repository statistics. Language statistics will update after you push changes to your default branch.
2020

21-
Some files are hard to identify, and sometimes projects contain more library and vendor files than their primary code. If you're receiving incorrect results, please consult the Linguist [troubleshooting guide](https://github.com/github/linguist#troubleshooting) for help.
21+
Some files are hard to identify, and sometimes projects contain more library and vendor files than their primary code. If you're receiving incorrect results, please consult the Linguist [troubleshooting guide](https://github.com/github/linguist/blob/master/docs/troubleshooting.md) for help.
2222

2323
### Markup languages
2424

content/github/creating-cloning-and-archiving-repositories/duplicating-a-repository.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ Before you can duplicate a repository and push to your new copy, or _mirror_, of
2323
```
2424
3. Mirror-push to the new repository.
2525
```shell
26-
$ cd <em>old-repository</em>.git
26+
$ cd <em>old-repository</em>
2727
$ git push --mirror https://{% data variables.command_line.codeblock %}/<em>exampleuser</em>/<em>new-repository</em>.git
2828
```
2929
4. Remove the temporary local repository you created earlier.
3030
```shell
3131
$ cd ..
32-
$ rm -rf <em>old-repository</em>.git
32+
$ rm -rf <em>old-repository</em>
3333
```
3434

3535
### Mirroring a repository that contains {% data variables.large_files.product_name_long %} objects
@@ -41,7 +41,7 @@ Before you can duplicate a repository and push to your new copy, or _mirror_, of
4141
```
4242
3. Navigate to the repository you just cloned.
4343
```shell
44-
$ cd <em>old-repository</em>.git
44+
$ cd <em>old-repository</em>
4545
```
4646
4. Pull in the repository's {% data variables.large_files.product_name_long %} objects.
4747
```shell
@@ -58,7 +58,7 @@ Before you can duplicate a repository and push to your new copy, or _mirror_, of
5858
7. Remove the temporary local repository you created earlier.
5959
```shell
6060
$ cd ..
61-
$ rm -rf <em>old-repository</em>.git
61+
$ rm -rf <em>old-repository</em>
6262
```
6363

6464
### Mirroring a repository in another location
@@ -72,7 +72,7 @@ If you want to mirror a repository in another location, including getting update
7272
```
7373
3. Set the push location to your mirror.
7474
```shell
75-
$ cd <em>repository-to-mirror</em>.git
75+
$ cd <em>repository-to-mirror</em>
7676
$ git remote set-url --push origin https://{% data variables.command_line.codeblock %}/<em>exampleuser</em>/<em>mirrored</em>
7777
```
7878

content/github/writing-on-github/creating-gists.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ If your site administrator has disabled private mode, you can also use anonymous
3333
You'll receive a notification when:
3434
- You are the author of a gist.
3535
- Someone mentions you in a gist.
36-
- You subscribe to a gist, by clicking **Subscribe** at the top any gist.
36+
- You subscribe to a gist, by clicking **Subscribe** at the top of any gist.
3737

3838
{% if currentVersion == "free-pro-team@latest" or enterpriseServerVersions contains currentVersion %}
3939

@@ -55,13 +55,15 @@ Gist supports mapping GeoJSON files. These maps are displayed in embedded gists,
5555

5656
### Creating a gist
5757

58-
You can also drag and drop a text file from your desktop directly into the gist editor.
58+
Follow the steps below to create a gist.
5959

6060
{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.19" or currentVersion == "github-ae@latest" %}
6161
{% note %}
6262

6363
You can also create a gist using the {% data variables.product.prodname_cli %}. For more information, see "[`gh gist create`](https://cli.github.com/manual/gh_gist_create)" in the {% data variables.product.prodname_cli %} documentation.
6464

65+
Alternatively, you can drag and drop a text file from your desktop directly into the editor.
66+
6567
{% endnote %}
6668
{% endif %}
6769

@@ -70,7 +72,7 @@ You can also create a gist using the {% data variables.product.prodname_cli %}.
7072
3. Type an optional description and name for your gist.
7173
![Gist name description](/assets/images/help/gist/gist_name_description.png)
7274

73-
4. Type the text of your gist into the gist text box.
75+
4. Type the text of your gist into the gist text box.
7476
![Gist text box](/assets/images/help/gist/gist_text_box.png)
7577

7678
5. Optionally, to create {% if currentVersion == "github-ae@latest" %}an internal{% else %}a public{% endif %} gist, click {% octicon "triangle-down" aria-label="The downwards triangle icon" %}, then click **Create {% if currentVersion == "github-ae@latest" %}internal{% else %}public{% endif %} gist**.

0 commit comments

Comments
 (0)