Skip to content

Commit

Permalink
repo sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Octomerger authored Jan 14, 2021
2 parents 1ba5982 + 5d9714a commit e609333
Show file tree
Hide file tree
Showing 17 changed files with 358 additions and 468 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,44 +83,11 @@ If there is a tool that you'd like to request, please open an issue at [actions/

{% endnote %}

Windows and Ubuntu runners are hosted in Azure and have the same IP address ranges as Azure Data centers. Currently, all Windows and Ubuntu {% data variables.product.prodname_dotcom %}-hosted runners are in the following Azure regions:

- East US (`eastus`)
- East US 2 (`eastus2`)
- West US 2 (`westus2`)
- Central US (`centralus`)
- South Central US (`southcentralus`)

Microsoft updates the Azure IP address ranges weekly in a JSON file that you can download from the [Azure IP Ranges and Service Tags - Public Cloud](https://www.microsoft.com/en-us/download/details.aspx?id=56519) website. You can use this range of IP addresses if you require an allow-list to prevent unauthorized access to your internal resources.

The JSON file contains an array called `values`. Inside that array, you can find the supported IP addresses in an object with a `name` and `id` of the Azure region, for example `"AzureCloud.eastus2"`.

You can find the supported IP address ranges in the `"addressPrefixes"` object. This is a condensed example of the JSON file.

```json
{
"changeNumber": 84,
"cloud": "Public",
"values": [
{
"name": "AzureCloud.eastus2",
"id": "AzureCloud.eastus2",
"properties": {
"changeNumber": 33,
"region": "eastus2",
"platform": "Azure",
"systemService": "",
"addressPrefixes": [
"13.68.0.0/17",
"13.77.64.0/18",
"13.104.147.0/25",
...
]
}
}
]
}
```
Windows and Ubuntu runners are hosted in Azure and subsequently have the same IP address ranges as the Azure datacenters. macOS runners are hosted in {% data variables.product.prodname_dotcom %}'s own macOS cloud.

To get a list of IP address ranges that {% data variables.product.prodname_actions %} uses for {% data variables.product.prodname_dotcom %}-hosted runners, you can use the {% data variables.product.prodname_dotcom %} REST API . For more information, see the `actions` key in the response of the "[Get GitHub meta information](/rest/reference/meta#get-github-meta-information)" endpoint. You can use this list of IP addresses if you require an allow-list to prevent unauthorized access to your internal resources.

The list of {% data variables.product.prodname_actions %} IP addresses returned by the API is updated once a week.

### File systems

Expand Down
42 changes: 21 additions & 21 deletions lib/rest/static/decorated/api.gh.neting.cc.json

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions lib/rest/static/decorated/ghes-2.18.json

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions lib/rest/static/decorated/ghes-2.19.json

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions lib/rest/static/decorated/ghes-2.20.json

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions lib/rest/static/decorated/ghes-2.21.json

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions lib/rest/static/decorated/ghes-2.22.json

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions lib/rest/static/decorated/ghes-3.0.json

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions lib/rest/static/decorated/github.ae.json

Large diffs are not rendered by default.

102 changes: 73 additions & 29 deletions lib/rest/static/dereferenced/api.gh.neting.cc.deref.json

Large diffs are not rendered by default.

31 changes: 19 additions & 12 deletions lib/rest/static/dereferenced/ghes-2.18.deref.json
Original file line number Diff line number Diff line change
Expand Up @@ -32995,7 +32995,7 @@
"/meta": {
"get": {
"summary": "Get GitHub Enterprise Server meta information",
"description": "This endpoint provides a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://help.github.com/articles/about-github-s-ip-addresses/).\"",
"description": "",
"tags": [
"meta"
],
Expand All @@ -33021,12 +33021,13 @@
"type": "boolean",
"example": true
},
"installed_version": {
"type": "string",
"example": "2.18.0"
},
"github_services_sha": {
"type": "string",
"example": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15"
},
"installed_version": {
"type": "string"
}
},
"required": [
Expand Down Expand Up @@ -37482,7 +37483,8 @@
"unread": true,
"updated_at": "2014-11-07T22:01:45Z",
"last_read_at": "2014-11-07T22:01:45Z",
"url": "https://api.github.com/notifications/threads/1"
"url": "https://api.github.com/notifications/threads/1",
"subscription_url": "https://api.github.com/notifications/threads/1/subscription"
}
]
}
Expand Down Expand Up @@ -39368,7 +39370,8 @@
"unread": true,
"updated_at": "2014-11-07T22:01:45Z",
"last_read_at": "2014-11-07T22:01:45Z",
"url": "https://api.github.com/notifications/threads/1"
"url": "https://api.github.com/notifications/threads/1",
"subscription_url": "https://api.github.com/notifications/threads/1/subscription"
}
}
}
Expand Down Expand Up @@ -120286,15 +120289,17 @@
"parents": [
{
"url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7d1b31e74ee336d15cbd21741bc88a537ed063a0",
"sha": "7d1b31e74ee336d15cbd21741bc88a537ed063a0"
"sha": "7d1b31e74ee336d15cbd21741bc88a537ed063a0",
"html_url": "https://github.com/octocat/Hello-World/commit/7d1b31e74ee336d15cbd21741bc88a537ed063a0"
}
],
"verification": {
"verified": false,
"reason": "unsigned",
"signature": null,
"payload": null
}
},
"html_url": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd"
}
}
}
Expand Down Expand Up @@ -120623,6 +120628,7 @@
"sha": "7638417db6d59f3c431d3e1f261cc637155684cd",
"node_id": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ==",
"url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7638417db6d59f3c431d3e1f261cc637155684cd",
"html_url": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd",
"author": {
"date": "2014-11-07T22:01:45Z",
"name": "Monalisa Octocat",
Expand All @@ -120641,7 +120647,8 @@
"parents": [
{
"url": "https://api.github.com/repos/octocat/Hello-World/git/commits/1acc419d4d6a9ce985db7be48c6349a0475975b5",
"sha": "1acc419d4d6a9ce985db7be48c6349a0475975b5"
"sha": "1acc419d4d6a9ce985db7be48c6349a0475975b5",
"html_url": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd"
}
],
"verification": {
Expand Down Expand Up @@ -162169,7 +162176,8 @@
"unread": true,
"updated_at": "2014-11-07T22:01:45Z",
"last_read_at": "2014-11-07T22:01:45Z",
"url": "https://api.github.com/notifications/threads/1"
"url": "https://api.github.com/notifications/threads/1",
"subscription_url": "https://api.github.com/notifications/threads/1/subscription"
}
]
}
Expand Down Expand Up @@ -183946,8 +183954,7 @@
"privacy": "closed",
"permission": "admin",
"members_url": "https://api.github.com/teams/1/members{/member}",
"repositories_url": "https://api.github.com/teams/1/repos",
"parent": null
"repositories_url": "https://api.github.com/teams/1/repos"
}
]
}
Expand Down
31 changes: 19 additions & 12 deletions lib/rest/static/dereferenced/ghes-2.19.deref.json
Original file line number Diff line number Diff line change
Expand Up @@ -33030,7 +33030,7 @@
"/meta": {
"get": {
"summary": "Get GitHub Enterprise Server meta information",
"description": "This endpoint provides a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://help.github.com/articles/about-github-s-ip-addresses/).\"",
"description": "",
"tags": [
"meta"
],
Expand All @@ -33056,12 +33056,13 @@
"type": "boolean",
"example": true
},
"installed_version": {
"type": "string",
"example": "2.19.0"
},
"github_services_sha": {
"type": "string",
"example": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15"
},
"installed_version": {
"type": "string"
}
},
"required": [
Expand Down Expand Up @@ -37527,7 +37528,8 @@
"unread": true,
"updated_at": "2014-11-07T22:01:45Z",
"last_read_at": "2014-11-07T22:01:45Z",
"url": "https://api.github.com/notifications/threads/1"
"url": "https://api.github.com/notifications/threads/1",
"subscription_url": "https://api.github.com/notifications/threads/1/subscription"
}
]
}
Expand Down Expand Up @@ -39413,7 +39415,8 @@
"unread": true,
"updated_at": "2014-11-07T22:01:45Z",
"last_read_at": "2014-11-07T22:01:45Z",
"url": "https://api.github.com/notifications/threads/1"
"url": "https://api.github.com/notifications/threads/1",
"subscription_url": "https://api.github.com/notifications/threads/1/subscription"
}
}
}
Expand Down Expand Up @@ -123294,15 +123297,17 @@
"parents": [
{
"url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7d1b31e74ee336d15cbd21741bc88a537ed063a0",
"sha": "7d1b31e74ee336d15cbd21741bc88a537ed063a0"
"sha": "7d1b31e74ee336d15cbd21741bc88a537ed063a0",
"html_url": "https://github.com/octocat/Hello-World/commit/7d1b31e74ee336d15cbd21741bc88a537ed063a0"
}
],
"verification": {
"verified": false,
"reason": "unsigned",
"signature": null,
"payload": null
}
},
"html_url": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd"
}
}
}
Expand Down Expand Up @@ -123631,6 +123636,7 @@
"sha": "7638417db6d59f3c431d3e1f261cc637155684cd",
"node_id": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ==",
"url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7638417db6d59f3c431d3e1f261cc637155684cd",
"html_url": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd",
"author": {
"date": "2014-11-07T22:01:45Z",
"name": "Monalisa Octocat",
Expand All @@ -123649,7 +123655,8 @@
"parents": [
{
"url": "https://api.github.com/repos/octocat/Hello-World/git/commits/1acc419d4d6a9ce985db7be48c6349a0475975b5",
"sha": "1acc419d4d6a9ce985db7be48c6349a0475975b5"
"sha": "1acc419d4d6a9ce985db7be48c6349a0475975b5",
"html_url": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd"
}
],
"verification": {
Expand Down Expand Up @@ -165571,7 +165578,8 @@
"unread": true,
"updated_at": "2014-11-07T22:01:45Z",
"last_read_at": "2014-11-07T22:01:45Z",
"url": "https://api.github.com/notifications/threads/1"
"url": "https://api.github.com/notifications/threads/1",
"subscription_url": "https://api.github.com/notifications/threads/1/subscription"
}
]
}
Expand Down Expand Up @@ -187339,8 +187347,7 @@
"privacy": "closed",
"permission": "admin",
"members_url": "https://api.github.com/teams/1/members{/member}",
"repositories_url": "https://api.github.com/teams/1/repos",
"parent": null
"repositories_url": "https://api.github.com/teams/1/repos"
}
]
}
Expand Down
31 changes: 17 additions & 14 deletions lib/rest/static/dereferenced/ghes-2.20.deref.json
Original file line number Diff line number Diff line change
Expand Up @@ -35995,7 +35995,7 @@
"/meta": {
"get": {
"summary": "Get GitHub Enterprise Server meta information",
"description": "This endpoint provides a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://help.github.com/articles/about-github-s-ip-addresses/).\"",
"description": "",
"tags": [
"meta"
],
Expand All @@ -36021,12 +36021,9 @@
"type": "boolean",
"example": true
},
"github_services_sha": {
"type": "string",
"example": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15"
},
"installed_version": {
"type": "string"
"type": "string",
"example": "2.20.0"
}
},
"required": [
Expand Down Expand Up @@ -40510,7 +40507,8 @@
"unread": true,
"updated_at": "2014-11-07T22:01:45Z",
"last_read_at": "2014-11-07T22:01:45Z",
"url": "https://api.github.com/notifications/threads/1"
"url": "https://api.github.com/notifications/threads/1",
"subscription_url": "https://api.github.com/notifications/threads/1/subscription"
}
]
}
Expand Down Expand Up @@ -42407,7 +42405,8 @@
"unread": true,
"updated_at": "2014-11-07T22:01:45Z",
"last_read_at": "2014-11-07T22:01:45Z",
"url": "https://api.github.com/notifications/threads/1"
"url": "https://api.github.com/notifications/threads/1",
"subscription_url": "https://api.github.com/notifications/threads/1/subscription"
}
}
}
Expand Down Expand Up @@ -125513,15 +125512,17 @@
"parents": [
{
"url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7d1b31e74ee336d15cbd21741bc88a537ed063a0",
"sha": "7d1b31e74ee336d15cbd21741bc88a537ed063a0"
"sha": "7d1b31e74ee336d15cbd21741bc88a537ed063a0",
"html_url": "https://github.com/octocat/Hello-World/commit/7d1b31e74ee336d15cbd21741bc88a537ed063a0"
}
],
"verification": {
"verified": false,
"reason": "unsigned",
"signature": null,
"payload": null
}
},
"html_url": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd"
}
}
}
Expand Down Expand Up @@ -125850,6 +125851,7 @@
"sha": "7638417db6d59f3c431d3e1f261cc637155684cd",
"node_id": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ==",
"url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7638417db6d59f3c431d3e1f261cc637155684cd",
"html_url": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd",
"author": {
"date": "2014-11-07T22:01:45Z",
"name": "Monalisa Octocat",
Expand All @@ -125868,7 +125870,8 @@
"parents": [
{
"url": "https://api.github.com/repos/octocat/Hello-World/git/commits/1acc419d4d6a9ce985db7be48c6349a0475975b5",
"sha": "1acc419d4d6a9ce985db7be48c6349a0475975b5"
"sha": "1acc419d4d6a9ce985db7be48c6349a0475975b5",
"html_url": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd"
}
],
"verification": {
Expand Down Expand Up @@ -167887,7 +167890,8 @@
"unread": true,
"updated_at": "2014-11-07T22:01:45Z",
"last_read_at": "2014-11-07T22:01:45Z",
"url": "https://api.github.com/notifications/threads/1"
"url": "https://api.github.com/notifications/threads/1",
"subscription_url": "https://api.github.com/notifications/threads/1/subscription"
}
]
}
Expand Down Expand Up @@ -190296,8 +190300,7 @@
"privacy": "closed",
"permission": "admin",
"members_url": "https://api.github.com/teams/1/members{/member}",
"repositories_url": "https://api.github.com/teams/1/repos",
"parent": null
"repositories_url": "https://api.github.com/teams/1/repos"
}
]
}
Expand Down
Loading

0 comments on commit e609333

Please sign in to comment.