Merge branch 'main' into table-row-rendering
This commit is contained in:
@@ -161,6 +161,13 @@ This workflow scans:
|
||||
|
||||
If your code requires a specific operating system to compile, you can configure the operating system in your {% data variables.product.prodname_codeql_workflow %}. Edit the value of `jobs.analyze.runs-on` to specify the operating system for the machine that runs your {% data variables.product.prodname_code_scanning %} actions. {% ifversion ghes %}You specify the operating system by using an appropriate label as the second element in a two-element array, after `self-hosted`.{% else %}
|
||||
|
||||
``` yaml
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
runs-on: [ubuntu-latest]
|
||||
```
|
||||
|
||||
If you choose to use a self-hosted runner for code scanning, you can specify an operating system by using an appropriate label as the second element in a two-element array, after `self-hosted`.{% endif %}
|
||||
|
||||
``` yaml
|
||||
@@ -170,12 +177,14 @@ jobs:
|
||||
runs-on: [self-hosted, ubuntu-latest]
|
||||
```
|
||||
|
||||
{% ifversion fpt or ghec %}For more information, see "[About self-hosted runners](/actions/hosting-your-own-runners/about-self-hosted-runners)" and "[Adding self-hosted runners](/actions/hosting-your-own-runners/adding-self-hosted-runners)."{% endif %}
|
||||
|
||||
{% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %} supports the latest versions of Ubuntu, Windows, and macOS. Typical values for this setting are therefore: `ubuntu-latest`, `windows-latest`, and `macos-latest`. For more information, see {% ifversion ghes %}"[Workflow syntax for GitHub Actions](/actions/reference/workflow-syntax-for-github-actions#self-hosted-runners)" and "[Using labels with self-hosted runners](/actions/hosting-your-own-runners/using-labels-with-self-hosted-runners){% else %}"[Workflow syntax for GitHub Actions](/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on){% endif %}."
|
||||
|
||||
{% ifversion ghes %}You must ensure that Git is in the PATH variable on your self-hosted runners.{% else %}If you use a self-hosted runner, you must ensure that Git is in the PATH variable.{% endif %}
|
||||
|
||||
For more information, see "[About self-hosted runners](/actions/hosting-your-own-runners/about-self-hosted-runners)" and "[Adding self-hosted runners](/actions/hosting-your-own-runners/adding-self-hosted-runners)."
|
||||
|
||||
For recommended specifications (RAM, CPU cores, and disk) for running {% data variables.product.prodname_codeql %} analysis{% ifversion not ghes %} on self-hosted machines{% endif %}, see "[Recommended hardware resources for running {% data variables.product.prodname_codeql %}](/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/recommended-hardware-resources-for-running-codeql)."
|
||||
|
||||
{% ifversion fpt or ghes > 3.1 or ghae or ghec %}
|
||||
## Specifying the location for {% data variables.product.prodname_codeql %} databases
|
||||
|
||||
|
||||
@@ -22,6 +22,7 @@ children:
|
||||
- /tracking-code-scanning-alerts-in-issues-using-task-lists
|
||||
- /configuring-code-scanning
|
||||
- /about-code-scanning-with-codeql
|
||||
- /recommended-hardware-resources-for-running-codeql
|
||||
- /configuring-the-codeql-workflow-for-compiled-languages
|
||||
- /troubleshooting-the-codeql-workflow
|
||||
- /running-codeql-code-scanning-in-a-container
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
---
|
||||
title: Recommended hardware resources for running CodeQL
|
||||
shortTitle: Hardware resources for CodeQL
|
||||
intro: 'Recommended specifications (RAM, CPU cores, and disk) for running {% data variables.product.prodname_codeql %} analysis on self-hosted machines, based on the size of your codebase.'
|
||||
product: '{% data reusables.gated-features.code-scanning %}'
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Advanced Security
|
||||
- Code scanning
|
||||
- CodeQL
|
||||
- Repositories
|
||||
- Integration
|
||||
- CI
|
||||
|
||||
---
|
||||
You can set up {% data variables.product.prodname_codeql %} on {% data variables.product.prodname_actions %} or on an external CI system. {% data variables.product.prodname_codeql %} is fully compatible with {% data variables.product.prodname_dotcom %}-hosted runners on {% data variables.product.prodname_actions %}.
|
||||
|
||||
If you're using an external CI system, or self-hosted runners on {% data variables.product.prodname_actions %} for private repositories, you're responsible for configuring your own hardware. The optimal hardware configuration for running {% data variables.product.prodname_codeql %} may vary based on the size and complexity of your codebase, the programming languages and build systems being used, and your CI workflow setup.
|
||||
|
||||
The table below provides recommended hardware specifications for running {% data variables.product.prodname_codeql %} analysis, based on the size of your codebase. Use these as a starting point for determining your choice of hardware or virtual machine. A machine with greater resources may improve analysis performance, but may also be more expensive to maintain.
|
||||
|
||||
| Codebase size | RAM | CPU |
|
||||
|--------|--------|--------|
|
||||
| Small (<100 K lines of code) | 8 GB or higher | 2 cores |
|
||||
| Medium (100 K to 1 M lines of code) | 16 GB or higher | 4 or 8 cores |
|
||||
| Large (>1 M lines of code) | 64 GB or higher | 8 cores |
|
||||
|
||||
For all codebase sizes, we recommend using an SSD with 14 GB or more of disk space. There must be enough disk space to check out and build your code, plus additional space for data produced by {% data variables.product.prodname_codeql %}.
|
||||
@@ -28,7 +28,7 @@ redirect_from:
|
||||
|
||||
## About using the {% data variables.product.prodname_codeql_cli %} for {% data variables.product.prodname_code_scanning %}
|
||||
|
||||
You can use the {% data variables.product.prodname_codeql_cli %} to run {% data variables.product.prodname_code_scanning %} on code that you're processing in a third-party continuous integration (CI) system. {% data reusables.code-scanning.about-code-scanning %} For information, see "[About {% data variables.product.prodname_code_scanning %} with {% data variables.product.prodname_codeql %}](/code-security/secure-coding/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-with-codeql)."
|
||||
You can use the {% data variables.product.prodname_codeql_cli %} to run {% data variables.product.prodname_code_scanning %} on code that you're processing in a third-party continuous integration (CI) system. {% data reusables.code-scanning.about-code-scanning %} For information, see "[About {% data variables.product.prodname_code_scanning %} with {% data variables.product.prodname_codeql %}](/code-security/secure-coding/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-with-codeql)." For recommended specifications (RAM, CPU cores, and disk) for running {% data variables.product.prodname_codeql %} analysis, see "[Recommended hardware resources for running {% data variables.product.prodname_codeql %}](/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/recommended-hardware-resources-for-running-codeql)."
|
||||
|
||||
{% data reusables.code-scanning.what-is-codeql-cli %}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: Renaming a branch
|
||||
intro: You can change the name of a branch in a repository.
|
||||
permissions: People with write permissions to a repository can rename a branch in the repository. People with admin permissions can rename the default branch.
|
||||
permissions: 'People with write permissions to a repository can rename a branch in the repository unless it is the [default branch](/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-branches#about-the-default-branch){% ifversion fpt or ghec %} or a [protected branch](/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches){% endif %}. People with admin permissions can rename the default branch{% ifversion fpt or ghec %} and protected branches{% endif %}.'
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '>=3.1'
|
||||
|
||||
@@ -39714,13 +39714,13 @@
|
||||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection \\\n -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"],\"checks\":[{\"context\":\"context\",\"app_id\":42}]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection \\\n -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"],\"checks\":[{\"context\":\"context\",\"app_id\":42}]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'</code></pre>"
|
||||
"source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection \\\n -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"],\"checks\":[{\"context\":\"context\",\"app_id\":42}]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42,\"bypass_pull_request_allowances\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/branches/BRANCH/protection \\\n -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"],\"checks\":[{\"context\":\"context\",\"app_id\":42}]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42,\"bypass_pull_request_allowances\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
"source": "await octokit.request('PUT /repos/{owner}/{repo}/branches/{branch}/protection', {\n owner: 'octocat',\n repo: 'hello-world',\n branch: 'branch',\n required_status_checks: {\n strict: true,\n contexts: [\n 'contexts'\n ],\n checks: [\n {\n context: 'context',\n app_id: 42\n }\n ]\n },\n enforce_admins: true,\n required_pull_request_reviews: {\n dismissal_restrictions: {\n users: [\n 'users'\n ],\n teams: [\n 'teams'\n ]\n },\n dismiss_stale_reviews: true,\n require_code_owner_reviews: true,\n required_approving_review_count: 42\n },\n restrictions: {\n users: [\n 'users'\n ],\n teams: [\n 'teams'\n ],\n apps: [\n 'apps'\n ]\n }\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'PUT /repos/{owner}/{repo}/branches/{branch}/protection'</span>, {\n <span class=\"hljs-attr\">owner</span>: <span class=\"hljs-string\">'octocat'</span>,\n <span class=\"hljs-attr\">repo</span>: <span class=\"hljs-string\">'hello-world'</span>,\n <span class=\"hljs-attr\">branch</span>: <span class=\"hljs-string\">'branch'</span>,\n <span class=\"hljs-attr\">required_status_checks</span>: {\n <span class=\"hljs-attr\">strict</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">contexts</span>: [\n <span class=\"hljs-string\">'contexts'</span>\n ],\n <span class=\"hljs-attr\">checks</span>: [\n {\n <span class=\"hljs-attr\">context</span>: <span class=\"hljs-string\">'context'</span>,\n <span class=\"hljs-attr\">app_id</span>: <span class=\"hljs-number\">42</span>\n }\n ]\n },\n <span class=\"hljs-attr\">enforce_admins</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">required_pull_request_reviews</span>: {\n <span class=\"hljs-attr\">dismissal_restrictions</span>: {\n <span class=\"hljs-attr\">users</span>: [\n <span class=\"hljs-string\">'users'</span>\n ],\n <span class=\"hljs-attr\">teams</span>: [\n <span class=\"hljs-string\">'teams'</span>\n ]\n },\n <span class=\"hljs-attr\">dismiss_stale_reviews</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">require_code_owner_reviews</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">required_approving_review_count</span>: <span class=\"hljs-number\">42</span>\n },\n <span class=\"hljs-attr\">restrictions</span>: {\n <span class=\"hljs-attr\">users</span>: [\n <span class=\"hljs-string\">'users'</span>\n ],\n <span class=\"hljs-attr\">teams</span>: [\n <span class=\"hljs-string\">'teams'</span>\n ],\n <span class=\"hljs-attr\">apps</span>: [\n <span class=\"hljs-string\">'apps'</span>\n ]\n }\n})\n</code></pre>"
|
||||
"source": "await octokit.request('PUT /repos/{owner}/{repo}/branches/{branch}/protection', {\n owner: 'octocat',\n repo: 'hello-world',\n branch: 'branch',\n required_status_checks: {\n strict: true,\n contexts: [\n 'contexts'\n ],\n checks: [\n {\n context: 'context',\n app_id: 42\n }\n ]\n },\n enforce_admins: true,\n required_pull_request_reviews: {\n dismissal_restrictions: {\n users: [\n 'users'\n ],\n teams: [\n 'teams'\n ]\n },\n dismiss_stale_reviews: true,\n require_code_owner_reviews: true,\n required_approving_review_count: 42,\n bypass_pull_request_allowances: {\n users: [\n 'users'\n ],\n teams: [\n 'teams'\n ]\n }\n },\n restrictions: {\n users: [\n 'users'\n ],\n teams: [\n 'teams'\n ],\n apps: [\n 'apps'\n ]\n }\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'PUT /repos/{owner}/{repo}/branches/{branch}/protection'</span>, {\n <span class=\"hljs-attr\">owner</span>: <span class=\"hljs-string\">'octocat'</span>,\n <span class=\"hljs-attr\">repo</span>: <span class=\"hljs-string\">'hello-world'</span>,\n <span class=\"hljs-attr\">branch</span>: <span class=\"hljs-string\">'branch'</span>,\n <span class=\"hljs-attr\">required_status_checks</span>: {\n <span class=\"hljs-attr\">strict</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">contexts</span>: [\n <span class=\"hljs-string\">'contexts'</span>\n ],\n <span class=\"hljs-attr\">checks</span>: [\n {\n <span class=\"hljs-attr\">context</span>: <span class=\"hljs-string\">'context'</span>,\n <span class=\"hljs-attr\">app_id</span>: <span class=\"hljs-number\">42</span>\n }\n ]\n },\n <span class=\"hljs-attr\">enforce_admins</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">required_pull_request_reviews</span>: {\n <span class=\"hljs-attr\">dismissal_restrictions</span>: {\n <span class=\"hljs-attr\">users</span>: [\n <span class=\"hljs-string\">'users'</span>\n ],\n <span class=\"hljs-attr\">teams</span>: [\n <span class=\"hljs-string\">'teams'</span>\n ]\n },\n <span class=\"hljs-attr\">dismiss_stale_reviews</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">require_code_owner_reviews</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">required_approving_review_count</span>: <span class=\"hljs-number\">42</span>,\n <span class=\"hljs-attr\">bypass_pull_request_allowances</span>: {\n <span class=\"hljs-attr\">users</span>: [\n <span class=\"hljs-string\">'users'</span>\n ],\n <span class=\"hljs-attr\">teams</span>: [\n <span class=\"hljs-string\">'teams'</span>\n ]\n }\n },\n <span class=\"hljs-attr\">restrictions</span>: {\n <span class=\"hljs-attr\">users</span>: [\n <span class=\"hljs-string\">'users'</span>\n ],\n <span class=\"hljs-attr\">teams</span>: [\n <span class=\"hljs-string\">'teams'</span>\n ],\n <span class=\"hljs-attr\">apps</span>: [\n <span class=\"hljs-string\">'apps'</span>\n ]\n }\n})\n</code></pre>"
|
||||
}
|
||||
],
|
||||
"summary": "Update branch protection",
|
||||
@@ -40063,6 +40063,74 @@
|
||||
"rawType": "integer",
|
||||
"rawDescription": "Specify the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"bypass_pull_request_allowances": {
|
||||
"type": "object or nullable",
|
||||
"description": "<p>Allow specific users or teams to bypass pull request requirements. Set to <code>null</code> to disable.</p>",
|
||||
"nullable": true,
|
||||
"properties": {
|
||||
"users": {
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of user <code>login</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "users",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"teams": {
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of team <code>slug</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "teams",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
},
|
||||
"name": "bypass_pull_request_allowances",
|
||||
"in": "body",
|
||||
"rawType": "object",
|
||||
"rawDescription": "Allow specific users or teams to bypass pull request requirements. Set to `null` to disable.",
|
||||
"childParamsGroups": [
|
||||
{
|
||||
"parentName": "bypass_pull_request_allowances",
|
||||
"parentType": "object",
|
||||
"id": "bypass_pull_request_allowances-object",
|
||||
"params": [
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of user <code>login</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "users",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of team <code>slug</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "teams",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "required_pull_request_reviews",
|
||||
@@ -40168,6 +40236,74 @@
|
||||
"rawType": "integer",
|
||||
"rawDescription": "Specify the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
"type": "object or nullable",
|
||||
"description": "<p>Allow specific users or teams to bypass pull request requirements. Set to <code>null</code> to disable.</p>",
|
||||
"nullable": true,
|
||||
"properties": {
|
||||
"users": {
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of user <code>login</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "users",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"teams": {
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of team <code>slug</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "teams",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
},
|
||||
"name": "bypass_pull_request_allowances",
|
||||
"in": "body",
|
||||
"rawType": "object",
|
||||
"rawDescription": "Allow specific users or teams to bypass pull request requirements. Set to `null` to disable.",
|
||||
"childParamsGroups": [
|
||||
{
|
||||
"parentName": "bypass_pull_request_allowances",
|
||||
"parentType": "object",
|
||||
"id": "bypass_pull_request_allowances-object",
|
||||
"params": [
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of user <code>login</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "users",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of team <code>slug</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "teams",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -40201,6 +40337,37 @@
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"parentName": "bypass_pull_request_allowances",
|
||||
"parentType": "object",
|
||||
"id": "bypass_pull_request_allowances-object",
|
||||
"params": [
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of user <code>login</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "users",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of team <code>slug</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "teams",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -40364,7 +40531,15 @@
|
||||
},
|
||||
"dismiss_stale_reviews": true,
|
||||
"require_code_owner_reviews": true,
|
||||
"required_approving_review_count": 2
|
||||
"required_approving_review_count": 2,
|
||||
"bypass_pull_request_allowances": {
|
||||
"users": [
|
||||
"octocat"
|
||||
],
|
||||
"teams": [
|
||||
"justice-league"
|
||||
]
|
||||
}
|
||||
},
|
||||
"restrictions": {
|
||||
"users": [
|
||||
@@ -40745,6 +40920,74 @@
|
||||
"rawType": "integer",
|
||||
"rawDescription": "Specify the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"bypass_pull_request_allowances": {
|
||||
"type": "object or nullable",
|
||||
"description": "<p>Allow specific users or teams to bypass pull request requirements. Set to <code>null</code> to disable.</p>",
|
||||
"nullable": true,
|
||||
"properties": {
|
||||
"users": {
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of user <code>login</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "users",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"teams": {
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of team <code>slug</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "teams",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
},
|
||||
"name": "bypass_pull_request_allowances",
|
||||
"in": "body",
|
||||
"rawType": "object",
|
||||
"rawDescription": "Allow specific users or teams to bypass pull request requirements. Set to `null` to disable.",
|
||||
"childParamsGroups": [
|
||||
{
|
||||
"parentName": "bypass_pull_request_allowances",
|
||||
"parentType": "object",
|
||||
"id": "bypass_pull_request_allowances-object",
|
||||
"params": [
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of user <code>login</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "users",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of team <code>slug</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "teams",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "required_pull_request_reviews",
|
||||
@@ -40850,6 +41093,74 @@
|
||||
"rawType": "integer",
|
||||
"rawDescription": "Specify the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
"type": "object or nullable",
|
||||
"description": "<p>Allow specific users or teams to bypass pull request requirements. Set to <code>null</code> to disable.</p>",
|
||||
"nullable": true,
|
||||
"properties": {
|
||||
"users": {
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of user <code>login</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "users",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"teams": {
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of team <code>slug</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "teams",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
},
|
||||
"name": "bypass_pull_request_allowances",
|
||||
"in": "body",
|
||||
"rawType": "object",
|
||||
"rawDescription": "Allow specific users or teams to bypass pull request requirements. Set to `null` to disable.",
|
||||
"childParamsGroups": [
|
||||
{
|
||||
"parentName": "bypass_pull_request_allowances",
|
||||
"parentType": "object",
|
||||
"id": "bypass_pull_request_allowances-object",
|
||||
"params": [
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of user <code>login</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "users",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of team <code>slug</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "teams",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -40883,6 +41194,37 @@
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"parentName": "bypass_pull_request_allowances",
|
||||
"parentType": "object",
|
||||
"id": "bypass_pull_request_allowances-object",
|
||||
"params": [
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of user <code>login</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "users",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of team <code>slug</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "teams",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -41586,6 +41928,74 @@
|
||||
"rawType": "integer",
|
||||
"rawDescription": "Specifies the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"bypass_pull_request_allowances": {
|
||||
"type": "object or nullable",
|
||||
"description": "<p>Allow specific users or teams to bypass pull request requirements. Set to <code>null</code> to disable.</p>",
|
||||
"nullable": true,
|
||||
"properties": {
|
||||
"users": {
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of user <code>login</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "users",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"teams": {
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of team <code>slug</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "teams",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
},
|
||||
"name": "bypass_pull_request_allowances",
|
||||
"in": "body",
|
||||
"rawType": "object",
|
||||
"rawDescription": "Allow specific users or teams to bypass pull request requirements. Set to `null` to disable.",
|
||||
"childParamsGroups": [
|
||||
{
|
||||
"parentName": "bypass_pull_request_allowances",
|
||||
"parentType": "object",
|
||||
"id": "bypass_pull_request_allowances-object",
|
||||
"params": [
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of user <code>login</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "users",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of team <code>slug</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "teams",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -41598,6 +42008,14 @@
|
||||
"justice-league"
|
||||
]
|
||||
},
|
||||
"bypass_pull_request_allowances": {
|
||||
"users": [
|
||||
"octocat"
|
||||
],
|
||||
"teams": [
|
||||
"justice-league"
|
||||
]
|
||||
},
|
||||
"dismiss_stale_reviews": true,
|
||||
"require_code_owner_reviews": true,
|
||||
"required_approving_review_count": 2
|
||||
@@ -41726,6 +42144,74 @@
|
||||
"rawType": "integer",
|
||||
"rawDescription": "Specifies the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
"type": "object or nullable",
|
||||
"description": "<p>Allow specific users or teams to bypass pull request requirements. Set to <code>null</code> to disable.</p>",
|
||||
"nullable": true,
|
||||
"properties": {
|
||||
"users": {
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of user <code>login</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "users",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"teams": {
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of team <code>slug</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "teams",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
},
|
||||
"name": "bypass_pull_request_allowances",
|
||||
"in": "body",
|
||||
"rawType": "object",
|
||||
"rawDescription": "Allow specific users or teams to bypass pull request requirements. Set to `null` to disable.",
|
||||
"childParamsGroups": [
|
||||
{
|
||||
"parentName": "bypass_pull_request_allowances",
|
||||
"parentType": "object",
|
||||
"id": "bypass_pull_request_allowances-object",
|
||||
"params": [
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of user <code>login</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "users",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of team <code>slug</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "teams",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -36739,7 +36739,15 @@
|
||||
},
|
||||
"dismiss_stale_reviews": true,
|
||||
"require_code_owner_reviews": true,
|
||||
"required_approving_review_count": 2
|
||||
"required_approving_review_count": 2,
|
||||
"bypass_pull_request_allowances": {
|
||||
"users": [
|
||||
"octocat"
|
||||
],
|
||||
"teams": [
|
||||
"justice-league"
|
||||
]
|
||||
}
|
||||
},
|
||||
"restrictions": {
|
||||
"users": [
|
||||
@@ -37999,6 +38007,14 @@
|
||||
"justice-league"
|
||||
]
|
||||
},
|
||||
"bypass_pull_request_allowances": {
|
||||
"users": [
|
||||
"octocat"
|
||||
],
|
||||
"teams": [
|
||||
"justice-league"
|
||||
]
|
||||
},
|
||||
"dismiss_stale_reviews": true,
|
||||
"require_code_owner_reviews": true,
|
||||
"required_approving_review_count": 2
|
||||
|
||||
@@ -36861,7 +36861,15 @@
|
||||
},
|
||||
"dismiss_stale_reviews": true,
|
||||
"require_code_owner_reviews": true,
|
||||
"required_approving_review_count": 2
|
||||
"required_approving_review_count": 2,
|
||||
"bypass_pull_request_allowances": {
|
||||
"users": [
|
||||
"octocat"
|
||||
],
|
||||
"teams": [
|
||||
"justice-league"
|
||||
]
|
||||
}
|
||||
},
|
||||
"restrictions": {
|
||||
"users": [
|
||||
@@ -38121,6 +38129,14 @@
|
||||
"justice-league"
|
||||
]
|
||||
},
|
||||
"bypass_pull_request_allowances": {
|
||||
"users": [
|
||||
"octocat"
|
||||
],
|
||||
"teams": [
|
||||
"justice-league"
|
||||
]
|
||||
},
|
||||
"dismiss_stale_reviews": true,
|
||||
"require_code_owner_reviews": true,
|
||||
"required_approving_review_count": 2
|
||||
|
||||
@@ -38111,7 +38111,15 @@
|
||||
},
|
||||
"dismiss_stale_reviews": true,
|
||||
"require_code_owner_reviews": true,
|
||||
"required_approving_review_count": 2
|
||||
"required_approving_review_count": 2,
|
||||
"bypass_pull_request_allowances": {
|
||||
"users": [
|
||||
"octocat"
|
||||
],
|
||||
"teams": [
|
||||
"justice-league"
|
||||
]
|
||||
}
|
||||
},
|
||||
"restrictions": {
|
||||
"users": [
|
||||
@@ -39371,6 +39379,14 @@
|
||||
"justice-league"
|
||||
]
|
||||
},
|
||||
"bypass_pull_request_allowances": {
|
||||
"users": [
|
||||
"octocat"
|
||||
],
|
||||
"teams": [
|
||||
"justice-league"
|
||||
]
|
||||
},
|
||||
"dismiss_stale_reviews": true,
|
||||
"require_code_owner_reviews": true,
|
||||
"required_approving_review_count": 2
|
||||
|
||||
@@ -38421,7 +38421,15 @@
|
||||
},
|
||||
"dismiss_stale_reviews": true,
|
||||
"require_code_owner_reviews": true,
|
||||
"required_approving_review_count": 2
|
||||
"required_approving_review_count": 2,
|
||||
"bypass_pull_request_allowances": {
|
||||
"users": [
|
||||
"octocat"
|
||||
],
|
||||
"teams": [
|
||||
"justice-league"
|
||||
]
|
||||
}
|
||||
},
|
||||
"restrictions": {
|
||||
"users": [
|
||||
@@ -39667,6 +39675,14 @@
|
||||
"justice-league"
|
||||
]
|
||||
},
|
||||
"bypass_pull_request_allowances": {
|
||||
"users": [
|
||||
"octocat"
|
||||
],
|
||||
"teams": [
|
||||
"justice-league"
|
||||
]
|
||||
},
|
||||
"dismiss_stale_reviews": true,
|
||||
"require_code_owner_reviews": true,
|
||||
"required_approving_review_count": 2
|
||||
|
||||
@@ -29990,13 +29990,13 @@
|
||||
"x-codeSamples": [
|
||||
{
|
||||
"lang": "Shell",
|
||||
"source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection \\\n -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"],\"checks\":[{\"context\":\"context\",\"app_id\":42}]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection \\\n -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"],\"checks\":[{\"context\":\"context\",\"app_id\":42}]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'</code></pre>"
|
||||
"source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection \\\n -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"],\"checks\":[{\"context\":\"context\",\"app_id\":42}]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42,\"bypass_pull_request_allowances\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'",
|
||||
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection \\\n -d '{\"required_status_checks\":{\"strict\":true,\"contexts\":[\"contexts\"],\"checks\":[{\"context\":\"context\",\"app_id\":42}]},\"enforce_admins\":true,\"required_pull_request_reviews\":{\"dismissal_restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"]},\"dismiss_stale_reviews\":true,\"require_code_owner_reviews\":true,\"required_approving_review_count\":42,\"bypass_pull_request_allowances\":{\"users\":[\"users\"],\"teams\":[\"teams\"]}},\"restrictions\":{\"users\":[\"users\"],\"teams\":[\"teams\"],\"apps\":[\"apps\"]}}'</code></pre>"
|
||||
},
|
||||
{
|
||||
"lang": "JavaScript",
|
||||
"source": "await octokit.request('PUT /repos/{owner}/{repo}/branches/{branch}/protection', {\n owner: 'octocat',\n repo: 'hello-world',\n branch: 'branch',\n required_status_checks: {\n strict: true,\n contexts: [\n 'contexts'\n ],\n checks: [\n {\n context: 'context',\n app_id: 42\n }\n ]\n },\n enforce_admins: true,\n required_pull_request_reviews: {\n dismissal_restrictions: {\n users: [\n 'users'\n ],\n teams: [\n 'teams'\n ]\n },\n dismiss_stale_reviews: true,\n require_code_owner_reviews: true,\n required_approving_review_count: 42\n },\n restrictions: {\n users: [\n 'users'\n ],\n teams: [\n 'teams'\n ],\n apps: [\n 'apps'\n ]\n }\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'PUT /repos/{owner}/{repo}/branches/{branch}/protection'</span>, {\n <span class=\"hljs-attr\">owner</span>: <span class=\"hljs-string\">'octocat'</span>,\n <span class=\"hljs-attr\">repo</span>: <span class=\"hljs-string\">'hello-world'</span>,\n <span class=\"hljs-attr\">branch</span>: <span class=\"hljs-string\">'branch'</span>,\n <span class=\"hljs-attr\">required_status_checks</span>: {\n <span class=\"hljs-attr\">strict</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">contexts</span>: [\n <span class=\"hljs-string\">'contexts'</span>\n ],\n <span class=\"hljs-attr\">checks</span>: [\n {\n <span class=\"hljs-attr\">context</span>: <span class=\"hljs-string\">'context'</span>,\n <span class=\"hljs-attr\">app_id</span>: <span class=\"hljs-number\">42</span>\n }\n ]\n },\n <span class=\"hljs-attr\">enforce_admins</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">required_pull_request_reviews</span>: {\n <span class=\"hljs-attr\">dismissal_restrictions</span>: {\n <span class=\"hljs-attr\">users</span>: [\n <span class=\"hljs-string\">'users'</span>\n ],\n <span class=\"hljs-attr\">teams</span>: [\n <span class=\"hljs-string\">'teams'</span>\n ]\n },\n <span class=\"hljs-attr\">dismiss_stale_reviews</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">require_code_owner_reviews</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">required_approving_review_count</span>: <span class=\"hljs-number\">42</span>\n },\n <span class=\"hljs-attr\">restrictions</span>: {\n <span class=\"hljs-attr\">users</span>: [\n <span class=\"hljs-string\">'users'</span>\n ],\n <span class=\"hljs-attr\">teams</span>: [\n <span class=\"hljs-string\">'teams'</span>\n ],\n <span class=\"hljs-attr\">apps</span>: [\n <span class=\"hljs-string\">'apps'</span>\n ]\n }\n})\n</code></pre>"
|
||||
"source": "await octokit.request('PUT /repos/{owner}/{repo}/branches/{branch}/protection', {\n owner: 'octocat',\n repo: 'hello-world',\n branch: 'branch',\n required_status_checks: {\n strict: true,\n contexts: [\n 'contexts'\n ],\n checks: [\n {\n context: 'context',\n app_id: 42\n }\n ]\n },\n enforce_admins: true,\n required_pull_request_reviews: {\n dismissal_restrictions: {\n users: [\n 'users'\n ],\n teams: [\n 'teams'\n ]\n },\n dismiss_stale_reviews: true,\n require_code_owner_reviews: true,\n required_approving_review_count: 42,\n bypass_pull_request_allowances: {\n users: [\n 'users'\n ],\n teams: [\n 'teams'\n ]\n }\n },\n restrictions: {\n users: [\n 'users'\n ],\n teams: [\n 'teams'\n ],\n apps: [\n 'apps'\n ]\n }\n})",
|
||||
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'PUT /repos/{owner}/{repo}/branches/{branch}/protection'</span>, {\n <span class=\"hljs-attr\">owner</span>: <span class=\"hljs-string\">'octocat'</span>,\n <span class=\"hljs-attr\">repo</span>: <span class=\"hljs-string\">'hello-world'</span>,\n <span class=\"hljs-attr\">branch</span>: <span class=\"hljs-string\">'branch'</span>,\n <span class=\"hljs-attr\">required_status_checks</span>: {\n <span class=\"hljs-attr\">strict</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">contexts</span>: [\n <span class=\"hljs-string\">'contexts'</span>\n ],\n <span class=\"hljs-attr\">checks</span>: [\n {\n <span class=\"hljs-attr\">context</span>: <span class=\"hljs-string\">'context'</span>,\n <span class=\"hljs-attr\">app_id</span>: <span class=\"hljs-number\">42</span>\n }\n ]\n },\n <span class=\"hljs-attr\">enforce_admins</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">required_pull_request_reviews</span>: {\n <span class=\"hljs-attr\">dismissal_restrictions</span>: {\n <span class=\"hljs-attr\">users</span>: [\n <span class=\"hljs-string\">'users'</span>\n ],\n <span class=\"hljs-attr\">teams</span>: [\n <span class=\"hljs-string\">'teams'</span>\n ]\n },\n <span class=\"hljs-attr\">dismiss_stale_reviews</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">require_code_owner_reviews</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">required_approving_review_count</span>: <span class=\"hljs-number\">42</span>,\n <span class=\"hljs-attr\">bypass_pull_request_allowances</span>: {\n <span class=\"hljs-attr\">users</span>: [\n <span class=\"hljs-string\">'users'</span>\n ],\n <span class=\"hljs-attr\">teams</span>: [\n <span class=\"hljs-string\">'teams'</span>\n ]\n }\n },\n <span class=\"hljs-attr\">restrictions</span>: {\n <span class=\"hljs-attr\">users</span>: [\n <span class=\"hljs-string\">'users'</span>\n ],\n <span class=\"hljs-attr\">teams</span>: [\n <span class=\"hljs-string\">'teams'</span>\n ],\n <span class=\"hljs-attr\">apps</span>: [\n <span class=\"hljs-string\">'apps'</span>\n ]\n }\n})\n</code></pre>"
|
||||
}
|
||||
],
|
||||
"summary": "Update branch protection",
|
||||
@@ -30339,6 +30339,74 @@
|
||||
"rawType": "integer",
|
||||
"rawDescription": "Specify the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"bypass_pull_request_allowances": {
|
||||
"type": "object or nullable",
|
||||
"description": "<p>Allow specific users or teams to bypass pull request requirements. Set to <code>null</code> to disable.</p>",
|
||||
"nullable": true,
|
||||
"properties": {
|
||||
"users": {
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of user <code>login</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "users",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"teams": {
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of team <code>slug</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "teams",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
},
|
||||
"name": "bypass_pull_request_allowances",
|
||||
"in": "body",
|
||||
"rawType": "object",
|
||||
"rawDescription": "Allow specific users or teams to bypass pull request requirements. Set to `null` to disable.",
|
||||
"childParamsGroups": [
|
||||
{
|
||||
"parentName": "bypass_pull_request_allowances",
|
||||
"parentType": "object",
|
||||
"id": "bypass_pull_request_allowances-object",
|
||||
"params": [
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of user <code>login</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "users",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of team <code>slug</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "teams",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "required_pull_request_reviews",
|
||||
@@ -30444,6 +30512,74 @@
|
||||
"rawType": "integer",
|
||||
"rawDescription": "Specify the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
"type": "object or nullable",
|
||||
"description": "<p>Allow specific users or teams to bypass pull request requirements. Set to <code>null</code> to disable.</p>",
|
||||
"nullable": true,
|
||||
"properties": {
|
||||
"users": {
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of user <code>login</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "users",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"teams": {
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of team <code>slug</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "teams",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
},
|
||||
"name": "bypass_pull_request_allowances",
|
||||
"in": "body",
|
||||
"rawType": "object",
|
||||
"rawDescription": "Allow specific users or teams to bypass pull request requirements. Set to `null` to disable.",
|
||||
"childParamsGroups": [
|
||||
{
|
||||
"parentName": "bypass_pull_request_allowances",
|
||||
"parentType": "object",
|
||||
"id": "bypass_pull_request_allowances-object",
|
||||
"params": [
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of user <code>login</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "users",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of team <code>slug</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "teams",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -30477,6 +30613,37 @@
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"parentName": "bypass_pull_request_allowances",
|
||||
"parentType": "object",
|
||||
"id": "bypass_pull_request_allowances-object",
|
||||
"params": [
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of user <code>login</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "users",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of team <code>slug</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "teams",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -30640,7 +30807,15 @@
|
||||
},
|
||||
"dismiss_stale_reviews": true,
|
||||
"require_code_owner_reviews": true,
|
||||
"required_approving_review_count": 2
|
||||
"required_approving_review_count": 2,
|
||||
"bypass_pull_request_allowances": {
|
||||
"users": [
|
||||
"octocat"
|
||||
],
|
||||
"teams": [
|
||||
"justice-league"
|
||||
]
|
||||
}
|
||||
},
|
||||
"restrictions": {
|
||||
"users": [
|
||||
@@ -31021,6 +31196,74 @@
|
||||
"rawType": "integer",
|
||||
"rawDescription": "Specify the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"bypass_pull_request_allowances": {
|
||||
"type": "object or nullable",
|
||||
"description": "<p>Allow specific users or teams to bypass pull request requirements. Set to <code>null</code> to disable.</p>",
|
||||
"nullable": true,
|
||||
"properties": {
|
||||
"users": {
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of user <code>login</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "users",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"teams": {
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of team <code>slug</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "teams",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
},
|
||||
"name": "bypass_pull_request_allowances",
|
||||
"in": "body",
|
||||
"rawType": "object",
|
||||
"rawDescription": "Allow specific users or teams to bypass pull request requirements. Set to `null` to disable.",
|
||||
"childParamsGroups": [
|
||||
{
|
||||
"parentName": "bypass_pull_request_allowances",
|
||||
"parentType": "object",
|
||||
"id": "bypass_pull_request_allowances-object",
|
||||
"params": [
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of user <code>login</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "users",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of team <code>slug</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "teams",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "required_pull_request_reviews",
|
||||
@@ -31126,6 +31369,74 @@
|
||||
"rawType": "integer",
|
||||
"rawDescription": "Specify the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
"type": "object or nullable",
|
||||
"description": "<p>Allow specific users or teams to bypass pull request requirements. Set to <code>null</code> to disable.</p>",
|
||||
"nullable": true,
|
||||
"properties": {
|
||||
"users": {
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of user <code>login</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "users",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"teams": {
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of team <code>slug</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "teams",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
},
|
||||
"name": "bypass_pull_request_allowances",
|
||||
"in": "body",
|
||||
"rawType": "object",
|
||||
"rawDescription": "Allow specific users or teams to bypass pull request requirements. Set to `null` to disable.",
|
||||
"childParamsGroups": [
|
||||
{
|
||||
"parentName": "bypass_pull_request_allowances",
|
||||
"parentType": "object",
|
||||
"id": "bypass_pull_request_allowances-object",
|
||||
"params": [
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of user <code>login</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "users",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of team <code>slug</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "teams",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -31159,6 +31470,37 @@
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"parentName": "bypass_pull_request_allowances",
|
||||
"parentType": "object",
|
||||
"id": "bypass_pull_request_allowances-object",
|
||||
"params": [
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of user <code>login</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "users",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of team <code>slug</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "teams",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -31862,6 +32204,74 @@
|
||||
"rawType": "integer",
|
||||
"rawDescription": "Specifies the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"bypass_pull_request_allowances": {
|
||||
"type": "object or nullable",
|
||||
"description": "<p>Allow specific users or teams to bypass pull request requirements. Set to <code>null</code> to disable.</p>",
|
||||
"nullable": true,
|
||||
"properties": {
|
||||
"users": {
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of user <code>login</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "users",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"teams": {
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of team <code>slug</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "teams",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
},
|
||||
"name": "bypass_pull_request_allowances",
|
||||
"in": "body",
|
||||
"rawType": "object",
|
||||
"rawDescription": "Allow specific users or teams to bypass pull request requirements. Set to `null` to disable.",
|
||||
"childParamsGroups": [
|
||||
{
|
||||
"parentName": "bypass_pull_request_allowances",
|
||||
"parentType": "object",
|
||||
"id": "bypass_pull_request_allowances-object",
|
||||
"params": [
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of user <code>login</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "users",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of team <code>slug</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "teams",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -31874,6 +32284,14 @@
|
||||
"justice-league"
|
||||
]
|
||||
},
|
||||
"bypass_pull_request_allowances": {
|
||||
"users": [
|
||||
"octocat"
|
||||
],
|
||||
"teams": [
|
||||
"justice-league"
|
||||
]
|
||||
},
|
||||
"dismiss_stale_reviews": true,
|
||||
"require_code_owner_reviews": true,
|
||||
"required_approving_review_count": 2
|
||||
@@ -32002,6 +32420,74 @@
|
||||
"rawType": "integer",
|
||||
"rawDescription": "Specifies the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
"type": "object or nullable",
|
||||
"description": "<p>Allow specific users or teams to bypass pull request requirements. Set to <code>null</code> to disable.</p>",
|
||||
"nullable": true,
|
||||
"properties": {
|
||||
"users": {
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of user <code>login</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "users",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"teams": {
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of team <code>slug</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "teams",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
},
|
||||
"name": "bypass_pull_request_allowances",
|
||||
"in": "body",
|
||||
"rawType": "object",
|
||||
"rawDescription": "Allow specific users or teams to bypass pull request requirements. Set to `null` to disable.",
|
||||
"childParamsGroups": [
|
||||
{
|
||||
"parentName": "bypass_pull_request_allowances",
|
||||
"parentType": "object",
|
||||
"id": "bypass_pull_request_allowances-object",
|
||||
"params": [
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of user <code>login</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "users",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of team <code>slug</code>s allowed to bypass pull request requirements.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "teams",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -131955,7 +131955,15 @@
|
||||
},
|
||||
"dismiss_stale_reviews": true,
|
||||
"require_code_owner_reviews": true,
|
||||
"required_approving_review_count": 2
|
||||
"required_approving_review_count": 2,
|
||||
"bypass_pull_request_allowances": {
|
||||
"users": [
|
||||
"octocat"
|
||||
],
|
||||
"teams": [
|
||||
"justice-league"
|
||||
]
|
||||
}
|
||||
},
|
||||
"restrictions": {
|
||||
"users": [
|
||||
@@ -133692,6 +133700,14 @@
|
||||
"justice-league"
|
||||
]
|
||||
},
|
||||
"bypass_pull_request_allowances": {
|
||||
"users": [
|
||||
"octocat"
|
||||
],
|
||||
"teams": [
|
||||
"justice-league"
|
||||
]
|
||||
},
|
||||
"dismiss_stale_reviews": true,
|
||||
"require_code_owner_reviews": true,
|
||||
"required_approving_review_count": 2
|
||||
|
||||
@@ -132270,7 +132270,15 @@
|
||||
},
|
||||
"dismiss_stale_reviews": true,
|
||||
"require_code_owner_reviews": true,
|
||||
"required_approving_review_count": 2
|
||||
"required_approving_review_count": 2,
|
||||
"bypass_pull_request_allowances": {
|
||||
"users": [
|
||||
"octocat"
|
||||
],
|
||||
"teams": [
|
||||
"justice-league"
|
||||
]
|
||||
}
|
||||
},
|
||||
"restrictions": {
|
||||
"users": [
|
||||
@@ -134007,6 +134015,14 @@
|
||||
"justice-league"
|
||||
]
|
||||
},
|
||||
"bypass_pull_request_allowances": {
|
||||
"users": [
|
||||
"octocat"
|
||||
],
|
||||
"teams": [
|
||||
"justice-league"
|
||||
]
|
||||
},
|
||||
"dismiss_stale_reviews": true,
|
||||
"require_code_owner_reviews": true,
|
||||
"required_approving_review_count": 2
|
||||
|
||||
@@ -135891,7 +135891,15 @@
|
||||
},
|
||||
"dismiss_stale_reviews": true,
|
||||
"require_code_owner_reviews": true,
|
||||
"required_approving_review_count": 2
|
||||
"required_approving_review_count": 2,
|
||||
"bypass_pull_request_allowances": {
|
||||
"users": [
|
||||
"octocat"
|
||||
],
|
||||
"teams": [
|
||||
"justice-league"
|
||||
]
|
||||
}
|
||||
},
|
||||
"restrictions": {
|
||||
"users": [
|
||||
@@ -137628,6 +137636,14 @@
|
||||
"justice-league"
|
||||
]
|
||||
},
|
||||
"bypass_pull_request_allowances": {
|
||||
"users": [
|
||||
"octocat"
|
||||
],
|
||||
"teams": [
|
||||
"justice-league"
|
||||
]
|
||||
},
|
||||
"dismiss_stale_reviews": true,
|
||||
"require_code_owner_reviews": true,
|
||||
"required_approving_review_count": 2
|
||||
|
||||
@@ -142855,7 +142855,15 @@
|
||||
},
|
||||
"dismiss_stale_reviews": true,
|
||||
"require_code_owner_reviews": true,
|
||||
"required_approving_review_count": 2
|
||||
"required_approving_review_count": 2,
|
||||
"bypass_pull_request_allowances": {
|
||||
"users": [
|
||||
"octocat"
|
||||
],
|
||||
"teams": [
|
||||
"justice-league"
|
||||
]
|
||||
}
|
||||
},
|
||||
"restrictions": {
|
||||
"users": [
|
||||
@@ -144580,6 +144588,14 @@
|
||||
"justice-league"
|
||||
]
|
||||
},
|
||||
"bypass_pull_request_allowances": {
|
||||
"users": [
|
||||
"octocat"
|
||||
],
|
||||
"teams": [
|
||||
"justice-league"
|
||||
]
|
||||
},
|
||||
"dismiss_stale_reviews": true,
|
||||
"require_code_owner_reviews": true,
|
||||
"required_approving_review_count": 2
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:612f652ed36faec9021ec01936c76bdd00dcf04433291007f15ea91c0ef8250e
|
||||
size 610743
|
||||
oid sha256:ba63424e655241e3e38a94f420a78ed7f0ee78902a508917105502de57ec0a26
|
||||
size 614834
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:63a81c1f7c9de12e30f3b20b4ff054fed62eb8f425e3928e7398ab7fb88b67cf
|
||||
size 1658637
|
||||
oid sha256:5b6894ed341431b032b7764dac182dde1490b9fd830fb41e8257d04aac676697
|
||||
size 1749146
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7e9d6603af8dc9bea0d4f9b095a5cbec79c737383ee6a8964768a6681d0ca89a
|
||||
size 952347
|
||||
oid sha256:6bfe12a26bce84b7e842f1f3e78c3c84cb9747f739d7f01b069268aa571c90d2
|
||||
size 952415
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7426909e366acab03456b106ce5329329f105c176aebeedd5f19b9675f2d5dde
|
||||
size 3903748
|
||||
oid sha256:f7d73076b1fbe3ac0d253b20f1371b8a1061912e7ccce6885758aa5b143df9c5
|
||||
size 3902998
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bf8f9b8b32f58f4066c8cc69af0e88b50d78f9eb40f0ba169eee3ce7028d274a
|
||||
size 584350
|
||||
oid sha256:0ae7fab9b21abab9422091684e726ec64be53a5a614dd9c74cc434674f57de16
|
||||
size 584247
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:119f84b63d4a7cb5be97b378b4d7cc500c8c9d87ea92a383813cf18a56521182
|
||||
size 2703494
|
||||
oid sha256:30c1e134cb77c95e697a34ec7a01780ee4859030af0ef3037cd05b198ad3b7e5
|
||||
size 2703527
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:24392e1415c12b844f7d9bfdc9b77199c487561e8132eaeb51e4e3336fa5794e
|
||||
size 616660
|
||||
oid sha256:bd986a35943bb3154c74899988fca3b2a346b00bef9d93e857baf60f4fc0c698
|
||||
size 616512
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:350313048a84caaa09bf65a5119df77d302cc80fa15cc97cdecf68d99e95da0d
|
||||
size 3418722
|
||||
oid sha256:9197ca861f357cf5f7ab6038f08261afe185df7881d460911df22604aa461358
|
||||
size 3419595
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e450f10c201e6c6d68ca07a49fe643f9ab5da7c36892925f39cfde9a32b7846f
|
||||
size 596205
|
||||
oid sha256:458a67ebc297b81314aff1f00b64153917abe9cb8e36feb5fd7b094991555185
|
||||
size 596350
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f6b48e01eeeb9de545634973402b27378d58f24ec3a783aea02db00e7f97d560
|
||||
size 2808143
|
||||
oid sha256:897a6d997b1956da8d063e6b9f59bae9718d36aebb34df25627481219c8669c3
|
||||
size 2807774
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e1ff997822ce7636943731a203c735cfa1140f4e89bb69cae9338d6217a94064
|
||||
size 624269
|
||||
oid sha256:f7d8dafd4a6a81fac52ccb371492d0855e7229d5b972c6c7812dbdf27f320c18
|
||||
size 628183
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:20b77426a5e36c3734ce6d4ec9a61abf85315c1d3d21a08eda62460c75b0b148
|
||||
size 1700225
|
||||
oid sha256:25c50ae009018dc7ca124e15b64b960038dfa93f39d624d0f99bd1fefa8573d7
|
||||
size 1790305
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b4ccbf143e943dad9f9f9350afb1318d63b3da342ca0a9158fa3a6e0ac9842db
|
||||
size 977119
|
||||
oid sha256:761d1f757aa89f988e1be85e74d48a09b6ae6076dfb12d3fa94baf95b3cf2d34
|
||||
size 977133
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:111005bc28fcaf8342072831b692cebd5b0cedb04e004f30f65d23ca319661fd
|
||||
size 3994228
|
||||
oid sha256:8a81c697cf9d75ed7665f7a47335b30a8664cbab16e681093639c17437abbafa
|
||||
size 3995535
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:80f8f18a659c476fd84f3413eb03cf324c5deaf96ae3de4876d63a972382e640
|
||||
size 596396
|
||||
oid sha256:bf65498813a28240a8bf3e13aef7ecbd698bd4f05705ca4cb4c107ab0361b869
|
||||
size 596585
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5a18d0e6259c5f902f366a9b8fe515bf1229da2e614a6aaf7c6749929a88109f
|
||||
size 2766026
|
||||
oid sha256:fc001ee9a46277f7b933e4db449a4972cb2772d909831f759a84a8a88a26544c
|
||||
size 2766592
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c8b1a27606342840a3d5af76077d3b6b2ab60b630b26aaf5a197003e58fedaa0
|
||||
size 629886
|
||||
oid sha256:1feb8f4e9bde9e05b42da9ee62a6a74509538d7c6deb8e2c652eecd13aaf93d0
|
||||
size 629996
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5eaf2e58af6df3a8543493906ccb0deea3edb6db4958c3aa56beabe9957d7bdf
|
||||
size 3496420
|
||||
oid sha256:62ca153865f594c853a8b0a543aa0c40d0184225f31b66f9ace5b882157073c3
|
||||
size 3496641
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:543ed0a2789ef705fbd9f4ad6a5ca36347eff20ccfa89a7430dfa1ca77871908
|
||||
size 608565
|
||||
oid sha256:eab5a54c613e91d5b64dc8e2bbb7cac301558a9c162186082fba76a8c3bd7722
|
||||
size 608496
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:933fbdefbada5fe1b3f89e5f63e1dd8c563304060a80a6ba4d7b196c9a9104cc
|
||||
size 2870296
|
||||
oid sha256:2eb0babfc7f2e7e42b5387f475c08e2353c8bf6987eeb514d4e51d87dc94ffe6
|
||||
size 2870208
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b10736c4bdd4b54693caddd4250c7359c45f3c5737ed347f2d5c00ff7b7aca8d
|
||||
size 635488
|
||||
oid sha256:e7173b959f159911f7e5d2f31536e3d6e3904fa8e2b8daea8cf2280c70e18021
|
||||
size 639648
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9ad5d0c4f1716374d42ee081ba1a5106133f205392fa34b3ad1df11f612813aa
|
||||
size 1726518
|
||||
oid sha256:e4f0e3a05b44d6606b8c4facde5289d9942e63b7d852345fa12b3948a37d6377
|
||||
size 1817938
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3361c26d39a55a5e9b2f5f4386bc693cdde7cdda383572e9628e84955fa40bb0
|
||||
size 1011953
|
||||
oid sha256:a0d87166a2a6a752d26f51690facd303ef9d68f15ed0edf388394bbb9642b256
|
||||
size 1008114
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e14367db43a7e7a8c77193ae6c4a7a2384fe616970f607cf5b62e2196ffc6fa6
|
||||
size 4116186
|
||||
oid sha256:0ae6485df2a47d5f18557e5c7d8d4c1559581482b3d7a571ffe97b4f448dc51f
|
||||
size 4116233
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a89e48da2b9b7a1b1c74afbb5486377c98d71348d8e6a55b9b9bef9cb3ee1d8e
|
||||
size 606862
|
||||
oid sha256:1270223a589aba5821d768e20e7cfaacb649ba7560d930f4cf5a3b372f97e7d4
|
||||
size 606885
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4ebce5c790143fbef39c0c6e5b803e0f9d2bf800ad0d2c3233cef94dfa0c788d
|
||||
size 2820593
|
||||
oid sha256:cbbe2c2b79814892c5392f7ba76342029eb03ff5c33ea08917d26f491d34dba9
|
||||
size 2821528
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6e06083ab70333ad4c7502eec1d891bfbaf433b8e0ba7ad6b5d2344c64fdd3c3
|
||||
size 641740
|
||||
oid sha256:fbc5164d6b9076480409a5aa8cad1828acf8ef06b62989fcf77ede0982b0c9ec
|
||||
size 641656
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e6b7f9fdcfbd7ac6aec4235e4bbd54f9f00c2ef4093c6e47c7b13017db74e822
|
||||
size 3563259
|
||||
oid sha256:a2d4bd6e4d19ce02c6b07269bf060f75325dc601ce68a14faf98df830e8fd7dc
|
||||
size 3564053
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:99be904073ae66f2214646262bf06cc444c6ebd3f55bf12dc353c381bee29788
|
||||
size 619865
|
||||
oid sha256:e7d6668cf8968acd48ce81a7d816db15e5d76c0efcaf4f8562d3987ff1aafa96
|
||||
size 620039
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:16265ec121ebdedfbc828b63e43767c17b73c5f460f4e794917fcf7477aa7061
|
||||
size 2919720
|
||||
oid sha256:5b36de2bbbd214a92233cbeee774591d1204d3b3efb87194180e7ed7f8983c9e
|
||||
size 2920246
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:39050618251193247d8fe59e77f25681c8be03add708bc2d4befc00a69fe9ebc
|
||||
size 656119
|
||||
oid sha256:6c27842e019ffca682d313fe6e31af80806c00344c3570ddf8731679993b16b7
|
||||
size 660046
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5de861c2ae2f3e2074b687b6c56354414c7b426c43ea158411c89b69b0923d90
|
||||
size 1784715
|
||||
oid sha256:ec7a35f2efc1395da4cfb334101b003e0807832fddac20b48b110a12c1963ce3
|
||||
size 1874723
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:178f9f0f2898a693d4cbb3d336ed113616c07b8c703ac48bcb07efc6976c134d
|
||||
size 1045879
|
||||
oid sha256:912b4120b4bcae806200e913fba26bbe72f8b9d5260a49af3727c5ae20c3dbc9
|
||||
size 1042421
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3408e20b9330db519e164340246a8547f572f86eb1beed7bb08455be4a608cbd
|
||||
size 4215995
|
||||
oid sha256:6dbccafc1cdb53cc594a4bc82dc39c16480b4227c3364373389f3ce86ccc4942
|
||||
size 4216977
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2f8329da11fa4b4caf666190b1be6280cf0edddee455318ee309132c23390d6b
|
||||
size 625104
|
||||
oid sha256:bdf94e1cc477c70c17641340462446694d39e251db0e37a89aa4a0bf79cec87a
|
||||
size 625350
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8ce72e9d4de414774ba58132a89a186c2b45b33904b3b18b66ec7dc897155ef3
|
||||
size 2919112
|
||||
oid sha256:85dcfef9b2fb72df8aaba13709957a21c2dc51f669d2eb1477486ae789f6d3fd
|
||||
size 2919284
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:722c01acdd304a6ec8aeff2f5b64692408789dd881c1d184cea3741154cca6ec
|
||||
size 662881
|
||||
oid sha256:9b725ee470ade2fdd6308ed38af50f573de870d6e7e35176c2b7ee72e2bbd47d
|
||||
size 663177
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3e2549acbf6049b2e49e4dad8c9f4a69cdf9485f47ca1b5c93db420ac6db8c7d
|
||||
size 3682465
|
||||
oid sha256:8caa309f7d6b17fa4784827692de087a17838482d85e5bb4dcab4416f2fd3998
|
||||
size 3682194
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cd3fa58c45f85d1d28f2e729eefa2f885ca390468cc6ae5ca148dea8a5c138c9
|
||||
size 638893
|
||||
oid sha256:921e51241d43638f61e3682eb63b099eb99dfc2f71e8e9ce9e634f350f0ade69
|
||||
size 638966
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cad8e2023284fa7b8ddcf723c33a98a89be4cf9b65786ee316144a97cdcd974f
|
||||
size 3006834
|
||||
oid sha256:802182fa700c368b9257b8c82cc98fc0c1d564c5ef4a0543bcb649ed5becdc97
|
||||
size 3006886
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5e5789c7236dae68beacd2a46eaaab97c8fa7d015bdfe8427e0b923e745e6338
|
||||
size 846230
|
||||
oid sha256:f258b056420f9a4d13e9813d79222d0d8a3f3cb9dcf608b7fde309bd8c4d6ff2
|
||||
size 848919
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:adaf0c2f7281093ac7e1444bdd435ce2af109f2280ddc6feb6f28ad194e80bc3
|
||||
size 1971737
|
||||
oid sha256:46e739db9f648f64949b031cbcc605f74ea5e64159df47a01844fd24449dc3a2
|
||||
size 2095635
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:66456eb62cfd3271f895a7c325e66df50895a4b6babf4cd53f33c97c4bda8a8b
|
||||
size 1317553
|
||||
oid sha256:a901dd2091e80c2d1cfb9d03916a877e2d830700680887a43885a8a12afe78ff
|
||||
size 1325379
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:05729a894941fd88b68c6bb6fcbfbef62e9e77634618bed9791245e992609ba6
|
||||
size 5059524
|
||||
oid sha256:2d04379c75163bcf3c1201f15fad76b79e922fe53ad2e76fb9b395b8b3ba2464
|
||||
size 5061693
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:05ffb4fd4a962d00bfd6e0fb3a2ea39fd010fefb7169c0e6cbd81d303a502373
|
||||
size 795908
|
||||
oid sha256:c6f0bd9f49a8a5bb4b19fd684a7052adaa2e645d37522ed9e4b2f79e7b06fde8
|
||||
size 795993
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4e1299bf1e6c01ab103e2172a1b740977df3fafa90ad1a83d2a44375b9c9eda2
|
||||
size 3504886
|
||||
oid sha256:86da3e54c226f450c9f369165de9b7a3678cf4b17ba80c33bed2c990ac04e5e0
|
||||
size 3504970
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c8c59ce79a65963836208e286c470ea178aa2a7f5d5ba104dad55f958e1fe53f
|
||||
size 858582
|
||||
oid sha256:b51bf0ea6db143ffdfaf65caf528f5a7d85953e72c0d3b87e7953071ef4bd5d1
|
||||
size 858793
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b08cb4c53ee7e480a347e1eabb23008b2dd9ad39cf6aedecec51c6bc306bb810
|
||||
size 4500599
|
||||
oid sha256:f3d2aa96eac36f62e7212c0a056f9f942f2dd24f8a4cbceaed20aee569111675
|
||||
size 4501082
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d516c2c0f279f7a3b9daee5c82d481d75c5a5866726ce601a8b0f373589c1d0b
|
||||
size 810417
|
||||
oid sha256:e110589a5c62623f24d475c12b12d34bedabd3f240b52eed50222bf496350818
|
||||
size 810363
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ea433fee020219f5474c4a8982823d5f4ad4dd793b0f02be3a579fa382b1d62b
|
||||
size 3593609
|
||||
oid sha256:a173b2eeb89b33822e4cd59382e7919f16294a0e45d386de51882a56df18625f
|
||||
size 3594503
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0b37130f5a753d7e67bcaff32b3b85c03ebb8a03a2d2da8ca3c0b154c937eeb6
|
||||
size 509891
|
||||
oid sha256:7e3f857d301d0e9fddd8ba40c6cda80c85c04dc99690a1a1b6428c08b18af028
|
||||
size 513586
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e9baae514f6939a7297cf92d4cd77ceb0fd84fd286992d6df90d6084aadd412d
|
||||
size 1330494
|
||||
oid sha256:a5eed125fd19a7aee0af16dd7100ca114dd9af84ea3453e0059040ef5144f610
|
||||
size 1418187
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d241f55a9dbafecdc95c750a8162677e464b7bad9b1178ce62b54f00d3beeaa5
|
||||
size 831046
|
||||
oid sha256:92e4919814cb079f58d3b811ac27ba1fb4bba2d64ec35972c95fa1c98c8c2f92
|
||||
size 831021
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:59dcb43c2bf9352798975bc93e444fc2fbd410bf4d48fd557f021a3ffa0842d3
|
||||
size 3335741
|
||||
oid sha256:494889641c52116f1220666a4e049c08c1cf76a73ab8cecbd39d25780999018c
|
||||
size 3335302
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bab00efae7f6119e67035cf9d6fbaed9f1ae0121b7e0323c3735645ec85e859d
|
||||
size 487969
|
||||
oid sha256:deb7da7863e054f643676fd77c52bdaea7766962176451783613cba09faf58bb
|
||||
size 487892
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:db022c08ac066a61819132cd7dfab4e197a71bee0751db24cfba8332d7c4fbcd
|
||||
size 2195972
|
||||
oid sha256:144030cf95558d36132a35dfd2658180754215c240a89698a295a65043bf61a0
|
||||
size 2195501
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c9bc7342ca035535ab1cd8456a742885631500bd7838aff6816209dd41e91667
|
||||
size 515602
|
||||
oid sha256:7e948a164aa9c58ce3d502deb5d88f4b45c091fb12fb67d44665ff24fa831746
|
||||
size 515623
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:88fa58b4bdc30e516fdf64b961d6ebdb698660b0281df30820be03a611a71045
|
||||
size 2746283
|
||||
oid sha256:f3a3a6890b4017726948ad91a7ae542c09141a56da884105e9fde8e185831ba9
|
||||
size 2745977
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bc93446abb86a78f0c577be03c84a24939ce18e14a46cf64b234811872446ff6
|
||||
size 500232
|
||||
oid sha256:cd5000dfc1a3876ffcc8f79da6d3613c95be4bfe68fdde05c25a4e7055b38412
|
||||
size 500200
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a432a53c3ed565b06e27d118f52dbc5ada38d57b57d69b3f7680310a73617b9d
|
||||
size 2276706
|
||||
oid sha256:26ca982a44044d8c51cc8d8cb3e605bef90491f06c6dc01fb664f2da141f3b6e
|
||||
size 2277571
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:31b415ef846173733e0a5bdf4941e85a343dc63b1078545962188b5cc9b143c4
|
||||
size 770456
|
||||
oid sha256:b258af814ba990a63d100b85ab8346a1b0ed28fa11f6f5882bb3f2a0d2650aa6
|
||||
size 772820
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d3e272baf7c26fc89a44e4b5c3debff4f6bb84df9b4f78caee6921c83d156eab
|
||||
size 1989152
|
||||
oid sha256:f5a9aaa4f43cfebffaf1766ca2d99993338e7c3061596115da97cd3719ded5bb
|
||||
size 2112927
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:93751306841f61cc6baeda19dbb0fd9f15fc289ff9ed36a35fed1969057696d8
|
||||
size 1186831
|
||||
oid sha256:a6583f2ffc33315f0de687af004f35fd62745564ab8db5d713dfb6ba2709d12e
|
||||
size 1186399
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1aed70bcde0c27c18f883e206ad9ca861f86325e01fab94fb33bd9573035f6b5
|
||||
size 4790719
|
||||
oid sha256:86596ca15f044cb650e0be6a226eb02ae981ecbe8be4ce9ea38af0f13912f0fe
|
||||
size 4791020
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:703d6c26be0ca202fb201e6d5052f97c715d36a520a06e0d4c6f2faecc2b2ade
|
||||
size 740543
|
||||
oid sha256:fef8d27922fc063e6ffa64c134d2c83ac32cecc630795a395e00c9e501de078f
|
||||
size 740711
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bbc461fa56c80f582e55c27630fba6291a92b14a29923e390c541638b7fe9e98
|
||||
size 3447158
|
||||
oid sha256:b102a5fd62a58efac489cf15153cdde3f0d7051212b182bd4408bfef60d96836
|
||||
size 3448084
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ed048f48c50c8c56cd2fbf19b584f5e42152c6b01be2c6f4239621ef012806c2
|
||||
size 785313
|
||||
oid sha256:44e2145e2d8f63f0637180bfd6f4bb018734916ac21ddeb12b550fd429325af6
|
||||
size 785350
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:19112b77467285e3d72d4f97a3f06b3c44f83b44bdf16198e13b9be7f1eefdd2
|
||||
size 4340402
|
||||
oid sha256:6527c45712fed85b52f59997cf81d48864dc1627bbf30dc9ce4a3d8dedf327a9
|
||||
size 4340888
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bb907ed10f009473f0c084473291634030e23ba9f721c1987b550738c0c33e8d
|
||||
size 754648
|
||||
oid sha256:09a3df7272e1f67c722fd2d02128c0a78bac52d2df7da473ea8d39c46108fd83
|
||||
size 754726
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bac5bd40b754e3a1a9db7022f22c525ca46a86a7133080845b43fcaa878aca9f
|
||||
size 3529191
|
||||
oid sha256:cefa91b9da025de181586f0fdc99746ccb52dfd7e939bb5945ba6be732e16e5f
|
||||
size 3529024
|
||||
|
||||
@@ -60,7 +60,15 @@ translations/zh-CN/content/actions/deployment/about-deployments/about-continuous
|
||||
translations/zh-CN/content/actions/deployment/about-deployments/deploying-with-github-actions.md,rendering error
|
||||
translations/zh-CN/content/actions/deployment/about-deployments/index.md,rendering error
|
||||
translations/zh-CN/content/actions/deployment/deploying-to-your-cloud-provider/deploying-to-amazon-elastic-container-service.md,rendering error
|
||||
translations/zh-CN/content/actions/deployment/deploying-to-your-cloud-provider/deploying-to-azure-app-service.md,rendering error
|
||||
translations/zh-CN/content/actions/deployment/deploying-to-your-cloud-provider/deploying-to-azure/deploying-docker-to-azure-app-service.md,rendering error
|
||||
translations/zh-CN/content/actions/deployment/deploying-to-your-cloud-provider/deploying-to-azure/deploying-java-to-azure-app-service.md,rendering error
|
||||
translations/zh-CN/content/actions/deployment/deploying-to-your-cloud-provider/deploying-to-azure/deploying-net-to-azure-app-service.md,rendering error
|
||||
translations/zh-CN/content/actions/deployment/deploying-to-your-cloud-provider/deploying-to-azure/deploying-nodejs-to-azure-app-service.md,rendering error
|
||||
translations/zh-CN/content/actions/deployment/deploying-to-your-cloud-provider/deploying-to-azure/deploying-php-to-azure-app-service.md,rendering error
|
||||
translations/zh-CN/content/actions/deployment/deploying-to-your-cloud-provider/deploying-to-azure/deploying-python-to-azure-app-service.md,rendering error
|
||||
translations/zh-CN/content/actions/deployment/deploying-to-your-cloud-provider/deploying-to-azure/deploying-to-azure-kubernetes-service.md,rendering error
|
||||
translations/zh-CN/content/actions/deployment/deploying-to-your-cloud-provider/deploying-to-azure/deploying-to-azure-static-web-app.md,rendering error
|
||||
translations/zh-CN/content/actions/deployment/deploying-to-your-cloud-provider/deploying-to-azure/index.md,rendering error
|
||||
translations/zh-CN/content/actions/deployment/deploying-to-your-cloud-provider/deploying-to-google-kubernetes-engine.md,rendering error
|
||||
translations/zh-CN/content/actions/deployment/deploying-to-your-cloud-provider/index.md,rendering error
|
||||
translations/zh-CN/content/actions/deployment/deploying-xcode-applications/installing-an-apple-certificate-on-macos-runners-for-xcode-development.md,rendering error
|
||||
@@ -262,6 +270,7 @@ translations/zh-CN/content/admin/installation/setting-up-a-github-enterprise-ser
|
||||
translations/zh-CN/content/admin/installation/setting-up-a-github-enterprise-server-instance/installing-github-enterprise-server-on-xenserver.md,rendering error
|
||||
translations/zh-CN/content/admin/overview/about-enterprise-accounts.md,Listed in localization-support#489
|
||||
translations/zh-CN/content/admin/overview/about-enterprise-accounts.md,rendering error
|
||||
translations/zh-CN/content/admin/overview/about-github-ae.md,rendering error
|
||||
translations/zh-CN/content/admin/overview/about-the-github-enterprise-api.md,rendering error
|
||||
translations/zh-CN/content/admin/overview/about-upgrades-to-new-releases.md,rendering error
|
||||
translations/zh-CN/content/admin/packages/enabling-github-packages-with-aws.md,rendering error
|
||||
@@ -420,6 +429,7 @@ translations/zh-CN/content/code-security/supply-chain-security/keeping-your-depe
|
||||
translations/zh-CN/content/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/keeping-your-actions-up-to-date-with-dependabot.md,rendering error
|
||||
translations/zh-CN/content/code-security/supply-chain-security/managing-vulnerabilities-in-your-projects-dependencies/about-alerts-for-vulnerable-dependencies.md,Listed in localization-support#489
|
||||
translations/zh-CN/content/code-security/supply-chain-security/managing-vulnerabilities-in-your-projects-dependencies/about-alerts-for-vulnerable-dependencies.md,parsing error
|
||||
translations/zh-CN/content/code-security/supply-chain-security/managing-vulnerabilities-in-your-projects-dependencies/about-alerts-for-vulnerable-dependencies.md,rendering error
|
||||
translations/zh-CN/content/code-security/supply-chain-security/managing-vulnerabilities-in-your-projects-dependencies/about-dependabot-security-updates.md,rendering error
|
||||
translations/zh-CN/content/code-security/supply-chain-security/managing-vulnerabilities-in-your-projects-dependencies/browsing-security-vulnerabilities-in-the-github-advisory-database.md,rendering error
|
||||
translations/zh-CN/content/code-security/supply-chain-security/managing-vulnerabilities-in-your-projects-dependencies/configuring-dependabot-security-updates.md,rendering error
|
||||
@@ -460,9 +470,19 @@ translations/zh-CN/content/codespaces/setting-up-your-project-for-codespaces/set
|
||||
translations/zh-CN/content/codespaces/setting-up-your-project-for-codespaces/setting-up-your-project-for-codespaces.md,rendering error
|
||||
translations/zh-CN/content/codespaces/setting-up-your-project-for-codespaces/setting-up-your-python-project-for-codespaces.md,rendering error
|
||||
translations/zh-CN/content/communities/documenting-your-project-with-wikis/about-wikis.md,rendering error
|
||||
translations/zh-CN/content/communities/documenting-your-project-with-wikis/adding-or-editing-wiki-pages.md,rendering error
|
||||
translations/zh-CN/content/communities/documenting-your-project-with-wikis/creating-a-footer-or-sidebar-for-your-wiki.md,rendering error
|
||||
translations/zh-CN/content/communities/documenting-your-project-with-wikis/editing-wiki-content.md,rendering error
|
||||
translations/zh-CN/content/communities/documenting-your-project-with-wikis/index.md,rendering error
|
||||
translations/zh-CN/content/communities/maintaining-your-safety-on-github/reporting-abuse-or-spam.md,rendering error
|
||||
translations/zh-CN/content/communities/maintaining-your-safety-on-github/unblocking-a-user-from-your-organization.md,rendering error
|
||||
translations/zh-CN/content/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository.md,rendering error
|
||||
translations/zh-CN/content/communities/moderating-comments-and-conversations/managing-disruptive-comments.md,rendering error
|
||||
translations/zh-CN/content/communities/setting-up-your-project-for-healthy-contributions/about-community-profiles-for-public-repositories.md,rendering error
|
||||
translations/zh-CN/content/communities/setting-up-your-project-for-healthy-contributions/index.md,rendering error
|
||||
translations/zh-CN/content/communities/setting-up-your-project-for-healthy-contributions/setting-guidelines-for-repository-contributors.md,rendering error
|
||||
translations/zh-CN/content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/index.md,rendering error
|
||||
translations/zh-CN/content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/manually-creating-a-single-issue-template-for-your-repository.md,rendering error
|
||||
translations/zh-CN/content/desktop/contributing-and-collaborating-using-github-desktop/adding-and-cloning-repositories/adding-an-existing-project-to-github-using-github-desktop.md,rendering error
|
||||
translations/zh-CN/content/desktop/installing-and-configuring-github-desktop/configuring-and-customizing-github-desktop/about-git-large-file-storage-and-github-desktop.md,rendering error
|
||||
translations/zh-CN/content/desktop/installing-and-configuring-github-desktop/installing-and-authenticating-to-github-desktop/about-connections-to-github.md,rendering error
|
||||
@@ -471,24 +491,64 @@ translations/zh-CN/content/desktop/installing-and-configuring-github-desktop/ins
|
||||
translations/zh-CN/content/desktop/installing-and-configuring-github-desktop/installing-and-authenticating-to-github-desktop/setting-up-github-desktop.md,rendering error
|
||||
translations/zh-CN/content/desktop/installing-and-configuring-github-desktop/overview/creating-your-first-repository-using-github-desktop.md,rendering error
|
||||
translations/zh-CN/content/desktop/installing-and-configuring-github-desktop/overview/keyboard-shortcuts.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/building-github-apps/authenticating-with-github-apps.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/building-github-apps/creating-a-github-app-from-a-manifest.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/building-github-apps/creating-a-github-app-using-url-parameters.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/building-github-apps/creating-a-github-app.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/building-github-apps/index.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/building-github-apps/rate-limits-for-github-apps.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/building-github-apps/refreshing-user-to-server-access-tokens.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/building-github-apps/setting-permissions-for-github-apps.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/building-oauth-apps/authorizing-oauth-apps.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/building-oauth-apps/creating-an-oauth-app.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/building-oauth-apps/index.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/building-oauth-apps/scopes-for-oauth-apps.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/getting-started-with-apps/about-apps.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/getting-started-with-apps/activating-optional-features-for-apps.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/getting-started-with-apps/differences-between-github-apps-and-oauth-apps.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/getting-started-with-apps/migrating-oauth-apps-to-github-apps.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/guides/using-content-attachments.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/guides/using-the-github-api-in-your-app.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/index.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/managing-github-apps/deleting-a-github-app.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/managing-github-apps/editing-a-github-apps-permissions.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/managing-github-apps/index.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/managing-github-apps/making-a-github-app-public-or-private.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/managing-github-apps/modifying-a-github-app.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/managing-github-apps/transferring-ownership-of-a-github-app.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/managing-oauth-apps/deleting-an-oauth-app.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/managing-oauth-apps/index.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/managing-oauth-apps/modifying-an-oauth-app.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/managing-oauth-apps/transferring-ownership-of-an-oauth-app.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/managing-oauth-apps/troubleshooting-authorization-request-errors.md,rendering error
|
||||
translations/zh-CN/content/developers/apps/managing-oauth-apps/troubleshooting-oauth-app-access-token-request-errors.md,rendering error
|
||||
translations/zh-CN/content/developers/github-marketplace/creating-apps-for-github-marketplace/requirements-for-listing-an-app.md,rendering error
|
||||
translations/zh-CN/content/developers/github-marketplace/creating-apps-for-github-marketplace/security-best-practices-for-apps.md,rendering error
|
||||
translations/zh-CN/content/developers/github-marketplace/creating-apps-for-github-marketplace/viewing-metrics-for-your-listing.md,rendering error
|
||||
translations/zh-CN/content/developers/github-marketplace/github-marketplace-overview/about-github-marketplace.md,rendering error
|
||||
translations/zh-CN/content/developers/github-marketplace/github-marketplace-overview/index.md,rendering error
|
||||
translations/zh-CN/content/developers/github-marketplace/index.md,rendering error
|
||||
translations/zh-CN/content/developers/github-marketplace/listing-an-app-on-github-marketplace/configuring-a-webhook-to-notify-you-of-plan-changes.md,rendering error
|
||||
translations/zh-CN/content/developers/github-marketplace/listing-an-app-on-github-marketplace/drafting-a-listing-for-your-app.md,rendering error
|
||||
translations/zh-CN/content/developers/github-marketplace/listing-an-app-on-github-marketplace/index.md,rendering error
|
||||
translations/zh-CN/content/developers/github-marketplace/listing-an-app-on-github-marketplace/setting-pricing-plans-for-your-listing.md,rendering error
|
||||
translations/zh-CN/content/developers/github-marketplace/listing-an-app-on-github-marketplace/writing-a-listing-description-for-your-app.md,rendering error
|
||||
translations/zh-CN/content/developers/github-marketplace/selling-your-app-on-github-marketplace/billing-customers.md,rendering error
|
||||
translations/zh-CN/content/developers/github-marketplace/selling-your-app-on-github-marketplace/index.md,rendering error
|
||||
translations/zh-CN/content/developers/github-marketplace/selling-your-app-on-github-marketplace/pricing-plans-for-github-marketplace-apps.md,rendering error
|
||||
translations/zh-CN/content/developers/github-marketplace/selling-your-app-on-github-marketplace/receiving-payment-for-app-purchases.md,rendering error
|
||||
translations/zh-CN/content/developers/github-marketplace/using-the-github-marketplace-api-in-your-app/handling-new-purchases-and-free-trials.md,rendering error
|
||||
translations/zh-CN/content/developers/github-marketplace/using-the-github-marketplace-api-in-your-app/handling-plan-cancellations.md,rendering error
|
||||
translations/zh-CN/content/developers/github-marketplace/using-the-github-marketplace-api-in-your-app/handling-plan-changes.md,rendering error
|
||||
translations/zh-CN/content/developers/github-marketplace/using-the-github-marketplace-api-in-your-app/index.md,rendering error
|
||||
translations/zh-CN/content/developers/github-marketplace/using-the-github-marketplace-api-in-your-app/rest-endpoints-for-the-github-marketplace-api.md,rendering error
|
||||
translations/zh-CN/content/developers/github-marketplace/using-the-github-marketplace-api-in-your-app/testing-your-app.md,rendering error
|
||||
translations/zh-CN/content/developers/github-marketplace/using-the-github-marketplace-api-in-your-app/webhook-events-for-the-github-marketplace-api.md,rendering error
|
||||
translations/zh-CN/content/developers/overview/managing-deploy-keys.md,rendering error
|
||||
translations/zh-CN/content/developers/overview/replacing-github-services.md,rendering error
|
||||
translations/zh-CN/content/developers/overview/secret-scanning-partner-program.md,rendering error
|
||||
translations/zh-CN/content/developers/overview/using-ssh-agent-forwarding.md,rendering error
|
||||
translations/zh-CN/content/developers/webhooks-and-events/webhooks/about-webhooks.md,rendering error
|
||||
translations/zh-CN/content/developers/webhooks-and-events/webhooks/webhook-events-and-payloads.md,rendering error
|
||||
translations/zh-CN/content/discussions/collaborating-with-your-community-using-discussions/about-discussions.md,rendering error
|
||||
@@ -522,11 +582,16 @@ translations/zh-CN/content/get-started/getting-started-with-git/managing-remote-
|
||||
translations/zh-CN/content/get-started/getting-started-with-git/updating-credentials-from-the-macos-keychain.md,rendering error
|
||||
translations/zh-CN/content/get-started/index.md,rendering error
|
||||
translations/zh-CN/content/get-started/learning-about-github/about-github-advanced-security.md,rendering error
|
||||
translations/zh-CN/content/get-started/learning-about-github/about-versions-of-github-docs.md,rendering error
|
||||
translations/zh-CN/content/get-started/learning-about-github/access-permissions-on-github.md,rendering error
|
||||
translations/zh-CN/content/get-started/learning-about-github/githubs-products.md,rendering error
|
||||
translations/zh-CN/content/get-started/learning-about-github/index.md,rendering error
|
||||
translations/zh-CN/content/get-started/learning-about-github/types-of-github-accounts.md,rendering error
|
||||
translations/zh-CN/content/get-started/onboarding/getting-started-with-github-ae.md,rendering error
|
||||
translations/zh-CN/content/get-started/onboarding/getting-started-with-github-enterprise-cloud.md,rendering error
|
||||
translations/zh-CN/content/get-started/onboarding/getting-started-with-github-enterprise-server.md,rendering error
|
||||
translations/zh-CN/content/get-started/onboarding/getting-started-with-github-team.md,rendering error
|
||||
translations/zh-CN/content/get-started/onboarding/getting-started-with-your-github-account.md,rendering error
|
||||
translations/zh-CN/content/get-started/quickstart/be-social.md,rendering error
|
||||
translations/zh-CN/content/get-started/quickstart/communicating-on-github.md,rendering error
|
||||
translations/zh-CN/content/get-started/quickstart/create-a-repo.md,rendering error
|
||||
@@ -600,9 +665,20 @@ translations/zh-CN/content/graphql/guides/migrating-graphql-global-node-ids.md,r
|
||||
translations/zh-CN/content/graphql/index.md,rendering error
|
||||
translations/zh-CN/content/graphql/reference/mutations.md,rendering error
|
||||
translations/zh-CN/content/issues/guides.md,rendering error
|
||||
translations/zh-CN/content/issues/index.md,rendering error
|
||||
translations/zh-CN/content/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards.md,rendering error
|
||||
translations/zh-CN/content/issues/organizing-your-work-with-project-boards/managing-project-boards/closing-a-project-board.md,rendering error
|
||||
translations/zh-CN/content/issues/organizing-your-work-with-project-boards/managing-project-boards/creating-a-project-board.md,rendering error
|
||||
translations/zh-CN/content/issues/organizing-your-work-with-project-boards/managing-project-boards/deleting-a-project-board.md,rendering error
|
||||
translations/zh-CN/content/issues/organizing-your-work-with-project-boards/managing-project-boards/editing-a-project-board.md,rendering error
|
||||
translations/zh-CN/content/issues/organizing-your-work-with-project-boards/tracking-work-with-project-boards/adding-issues-and-pull-requests-to-a-project-board.md,rendering error
|
||||
translations/zh-CN/content/issues/organizing-your-work-with-project-boards/tracking-work-with-project-boards/adding-notes-to-a-project-board.md,rendering error
|
||||
translations/zh-CN/content/issues/tracking-your-work-with-issues/about-issues.md,rendering error
|
||||
translations/zh-CN/content/issues/tracking-your-work-with-issues/filtering-and-searching-issues-and-pull-requests.md,rendering error
|
||||
translations/zh-CN/content/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue.md,rendering error
|
||||
translations/zh-CN/content/issues/trying-out-the-new-projects-experience/customizing-your-project-views.md,rendering error
|
||||
translations/zh-CN/content/issues/trying-out-the-new-projects-experience/managing-access-to-projects.md,rendering error
|
||||
translations/zh-CN/content/issues/using-labels-and-milestones-to-track-work/creating-and-editing-milestones-for-issues-and-pull-requests.md,rendering error
|
||||
translations/zh-CN/content/issues/using-labels-and-milestones-to-track-work/managing-labels.md,rendering error
|
||||
translations/zh-CN/content/organizations/collaborating-with-groups-in-organizations/about-organizations.md,rendering error
|
||||
translations/zh-CN/content/organizations/collaborating-with-groups-in-organizations/about-your-organizations-news-feed.md,rendering error
|
||||
@@ -688,20 +764,41 @@ translations/zh-CN/content/pages/configuring-a-custom-domain-for-your-github-pag
|
||||
translations/zh-CN/content/pages/configuring-a-custom-domain-for-your-github-pages-site/troubleshooting-custom-domains-and-github-pages.md,rendering error
|
||||
translations/zh-CN/content/pages/getting-started-with-github-pages/about-github-pages.md,Listed in localization-support#489
|
||||
translations/zh-CN/content/pages/getting-started-with-github-pages/about-github-pages.md,rendering error
|
||||
translations/zh-CN/content/pages/getting-started-with-github-pages/adding-a-theme-to-your-github-pages-site-with-the-theme-chooser.md,rendering error
|
||||
translations/zh-CN/content/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site.md,rendering error
|
||||
translations/zh-CN/content/pages/getting-started-with-github-pages/creating-a-custom-404-page-for-your-github-pages-site.md,rendering error
|
||||
translations/zh-CN/content/pages/getting-started-with-github-pages/creating-a-github-pages-site.md,rendering error
|
||||
translations/zh-CN/content/pages/getting-started-with-github-pages/index.md,rendering error
|
||||
translations/zh-CN/content/pages/getting-started-with-github-pages/unpublishing-a-github-pages-site.md,rendering error
|
||||
translations/zh-CN/content/pages/getting-started-with-github-pages/using-submodules-with-github-pages.md,rendering error
|
||||
translations/zh-CN/content/pages/index.md,rendering error
|
||||
translations/zh-CN/content/pages/setting-up-a-github-pages-site-with-jekyll/about-github-pages-and-jekyll.md,rendering error
|
||||
translations/zh-CN/content/pages/setting-up-a-github-pages-site-with-jekyll/about-jekyll-build-errors-for-github-pages-sites.md,rendering error
|
||||
translations/zh-CN/content/pages/setting-up-a-github-pages-site-with-jekyll/adding-a-theme-to-your-github-pages-site-using-jekyll.md,rendering error
|
||||
translations/zh-CN/content/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll.md,rendering error
|
||||
translations/zh-CN/content/pages/setting-up-a-github-pages-site-with-jekyll/index.md,rendering error
|
||||
translations/zh-CN/content/pages/setting-up-a-github-pages-site-with-jekyll/setting-a-markdown-processor-for-your-github-pages-site-using-jekyll.md,rendering error
|
||||
translations/zh-CN/content/pages/setting-up-a-github-pages-site-with-jekyll/testing-your-github-pages-site-locally-with-jekyll.md,rendering error
|
||||
translations/zh-CN/content/pages/setting-up-a-github-pages-site-with-jekyll/troubleshooting-jekyll-build-errors-for-github-pages-sites.md,rendering error
|
||||
translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/addressing-merge-conflicts/index.md,rendering error
|
||||
translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/addressing-merge-conflicts/resolving-a-merge-conflict-on-github.md,rendering error
|
||||
translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/addressing-merge-conflicts/resolving-a-merge-conflict-using-the-command-line.md,rendering error
|
||||
translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks.md,rendering error
|
||||
translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/index.md,rendering error
|
||||
translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/getting-started/about-collaborative-development-models.md,rendering error
|
||||
translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/getting-started/index.md,rendering error
|
||||
translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/about-pull-request-merges.md,rendering error
|
||||
translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request.md,rendering error
|
||||
translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/index.md,rendering error
|
||||
translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/index.md,rendering error
|
||||
translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-branches.md,rendering error
|
||||
translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests.md,rendering error
|
||||
translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/committing-changes-to-a-pull-request-branch-created-from-a-fork.md,rendering error
|
||||
translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-and-deleting-branches-within-your-repository.md,rendering error
|
||||
translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/index.md,rendering error
|
||||
translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request.md,rendering error
|
||||
translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/filtering-files-in-a-pull-request.md,rendering error
|
||||
translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/index.md,rendering error
|
||||
translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request.md,rendering error
|
||||
translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/working-with-forks/about-forks.md,rendering error
|
||||
translations/zh-CN/content/pull-requests/collaborating-with-pull-requests/working-with-forks/index.md,rendering error
|
||||
@@ -760,14 +857,19 @@ translations/zh-CN/content/repositories/working-with-files/using-files/navigatin
|
||||
translations/zh-CN/content/repositories/working-with-files/using-files/tracking-changes-in-a-file.md,rendering error
|
||||
translations/zh-CN/content/rest/guides/basics-of-authentication.md,Listed in localization-support#489
|
||||
translations/zh-CN/content/rest/guides/basics-of-authentication.md,rendering error
|
||||
translations/zh-CN/content/rest/guides/best-practices-for-integrators.md,rendering error
|
||||
translations/zh-CN/content/rest/guides/building-a-ci-server.md,rendering error
|
||||
translations/zh-CN/content/rest/guides/delivering-deployments.md,rendering error
|
||||
translations/zh-CN/content/rest/guides/discovering-resources-for-a-user.md,rendering error
|
||||
translations/zh-CN/content/rest/guides/getting-started-with-the-checks-api.md,rendering error
|
||||
translations/zh-CN/content/rest/guides/getting-started-with-the-rest-api.md,rendering error
|
||||
translations/zh-CN/content/rest/guides/index.md,rendering error
|
||||
translations/zh-CN/content/rest/guides/rendering-data-as-graphs.md,rendering error
|
||||
translations/zh-CN/content/rest/guides/traversing-with-pagination.md,rendering error
|
||||
translations/zh-CN/content/rest/guides/working-with-comments.md,rendering error
|
||||
translations/zh-CN/content/rest/index.md,rendering error
|
||||
translations/zh-CN/content/rest/overview/api-previews.md,rendering error
|
||||
translations/zh-CN/content/rest/overview/libraries.md,rendering error
|
||||
translations/zh-CN/content/rest/overview/other-authentication-methods.md,Listed in localization-support#489
|
||||
translations/zh-CN/content/rest/overview/other-authentication-methods.md,rendering error
|
||||
translations/zh-CN/content/rest/overview/resources-in-the-rest-api.md,Listed in localization-support#489
|
||||
@@ -794,6 +896,8 @@ translations/zh-CN/content/rest/reference/teams.md,rendering error
|
||||
translations/zh-CN/content/rest/reference/webhooks.md,rendering error
|
||||
translations/zh-CN/content/search-github/getting-started-with-searching-on-github/about-searching-on-github.md,rendering error
|
||||
translations/zh-CN/content/search-github/getting-started-with-searching-on-github/enabling-githubcom-repository-search-from-your-private-enterprise-environment.md,rendering error
|
||||
translations/zh-CN/content/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax.md,rendering error
|
||||
translations/zh-CN/content/search-github/index.md,rendering error
|
||||
translations/zh-CN/content/search-github/searching-on-github/searching-commits.md,rendering error
|
||||
translations/zh-CN/content/search-github/searching-on-github/searching-discussions.md,rendering error
|
||||
translations/zh-CN/content/search-github/searching-on-github/searching-for-repositories.md,rendering error
|
||||
|
||||
|
@@ -6,7 +6,7 @@ redirect_from:
|
||||
- /github/automating-your-workflow-with-github-actions/building-actions
|
||||
- /actions/automating-your-workflow-with-github-actions/building-actions
|
||||
- /actions/building-actions
|
||||
- /articles/creating-a-github-action/
|
||||
- /articles/creating-a-github-action
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
|
||||
@@ -0,0 +1,153 @@
|
||||
---
|
||||
title: Deploying Docker to Azure App Service
|
||||
intro: You can deploy a Docker container to Azure App Service as part of your continuous deployment (CD) workflows.
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
type: tutorial
|
||||
topics:
|
||||
- CD
|
||||
- Containers
|
||||
- Docker
|
||||
- Azure App Service
|
||||
---
|
||||
|
||||
{% data reusables.actions.enterprise-beta %}
|
||||
{% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
## Introduction
|
||||
|
||||
This guide explains how to use {% data variables.product.prodname_actions %} to build and deploy a Docker container to [Azure App Service](https://azure.microsoft.com/services/app-service/).
|
||||
|
||||
{% ifversion fpt or ghec or ghae-issue-4856 %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note**: {% data reusables.actions.about-oidc-short-overview %} and "[Configuring OpenID Connect in Azure](/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure)."
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Before creating your {% data variables.product.prodname_actions %} workflow, you will first need to complete the following setup steps:
|
||||
|
||||
{% data reusables.actions.create-azure-app-plan %}
|
||||
|
||||
1. Create a web app.
|
||||
|
||||
For example, you can use the Azure CLI to create an Azure App Service web app:
|
||||
|
||||
```bash{:copy}
|
||||
az webapp create \
|
||||
--name MY_WEBAPP_NAME \
|
||||
--plan MY_APP_SERVICE_PLAN \
|
||||
--resource-group MY_RESOURCE_GROUP \
|
||||
--deployment-container-image-name nginx:latest
|
||||
```
|
||||
|
||||
In the command above, replace the parameters with your own values, where `MY_WEBAPP_NAME` is a new name for the web app.
|
||||
|
||||
{% data reusables.actions.create-azure-publish-profile %}
|
||||
|
||||
1. Set registry credentials for your web app.
|
||||
|
||||
Create a personal access token with the `repo` and `read:packages` scopes. For more information, see "[Creating a personal access token](/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)."
|
||||
|
||||
Set `DOCKER_REGISTRY_SERVER_URL` to `https://ghcr.io`, `DOCKER_REGISTRY_SERVER_USERNAME` to the GitHub username or organization that owns the repository, and `DOCKER_REGISTRY_SERVER_PASSWORD` to your personal access token from above. This will give your web app credentials so it can pull the container image after your workflow pushes a newly built image to the registry. You can do this with the following Azure CLI command:
|
||||
|
||||
```shell
|
||||
az webapp config appsettings set \
|
||||
--name MY_WEBAPP_NAME \
|
||||
--resource-group MY_RESOURCE_GROUP \
|
||||
--settings DOCKER_REGISTRY_SERVER_URL=https://ghcr.io DOCKER_REGISTRY_SERVER_USERNAME=MY_REPOSITORY_OWNER DOCKER_REGISTRY_SERVER_PASSWORD=MY_PERSONAL_ACCESS_TOKEN
|
||||
```
|
||||
|
||||
{% ifversion fpt or ghes > 3.0 or ghae or ghec %}
|
||||
5. Optionally, configure a deployment environment. {% data reusables.actions.about-environments %}
|
||||
{% endif %}
|
||||
|
||||
## Creating the workflow
|
||||
|
||||
Once you've completed the prerequisites, you can proceed with creating the workflow.
|
||||
|
||||
The following example workflow demonstrates how to build and deploy a Docker container to Azure App Service when there is a push to the `main` branch.
|
||||
|
||||
Ensure that you set `AZURE_WEBAPP_NAME` in the workflow `env` key to the name of the web app you created.
|
||||
|
||||
{% data reusables.actions.delete-env-key %}
|
||||
|
||||
```yaml{:copy}
|
||||
{% data reusables.actions.actions-not-certified-by-github-comment %}
|
||||
|
||||
name: Build and deploy a container to an Azure Web App
|
||||
|
||||
env:
|
||||
AZURE_WEBAPP_NAME: MY_WEBAPP_NAME # set this to your application's name
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
permissions:
|
||||
contents: 'read'
|
||||
packages: 'write'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Log in to GitHub container registry
|
||||
uses: docker/login-action@v1.10.0
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: {% raw %}${{ github.actor }}{% endraw %}
|
||||
password: {% raw %}${{ secrets.GITHUB_TOKEN }}{% endraw %}
|
||||
|
||||
- name: Lowercase the repo name
|
||||
run: echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
|
||||
|
||||
- name: Build and push container image to registry
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
push: true
|
||||
tags: ghcr.io/{% raw %}${{ env.REPO }}{% endraw %}:{% raw %}${{ github.sha }}{% endraw %}
|
||||
file: ./Dockerfile
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
environment:
|
||||
name: 'production'
|
||||
url: {% raw %}${{ steps.deploy-to-webapp.outputs.webapp-url }}{% endraw %}
|
||||
|
||||
steps:
|
||||
- name: Lowercase the repo name
|
||||
run: echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
|
||||
|
||||
- name: Deploy to Azure Web App
|
||||
id: deploy-to-webapp
|
||||
uses: azure/webapps-deploy@0b651ed7546ecfc75024011f76944cb9b381ef1e
|
||||
with:
|
||||
app-name: {% raw %}${{ env.AZURE_WEBAPP_NAME }}{% endraw %}
|
||||
publish-profile: {% raw %}${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}{% endraw %}
|
||||
images: 'ghcr.io/{% raw %}${{ env.REPO }}{% endraw %}:{% raw %}${{ github.sha }}{% endraw %}'
|
||||
```
|
||||
|
||||
## Additional resources
|
||||
|
||||
The following resources may also be useful:
|
||||
|
||||
* For the original starter workflow, see [`azure-container-webapp.yml`](https://github.com/actions/starter-workflows/blob/main/deployments/azure-container-webapp.yml) in the {% data variables.product.prodname_actions %} `starter-workflows` repository.
|
||||
* The action used to deploy the web app is the official Azure [`Azure/webapps-deploy`](https://github.com/Azure/webapps-deploy) action.
|
||||
* For more examples of GitHub Action workflows that deploy to Azure, see the [actions-workflow-samples](https://github.com/Azure/actions-workflow-samples) repository.
|
||||
@@ -0,0 +1,134 @@
|
||||
---
|
||||
title: Deploying Java to Azure App Service
|
||||
intro: You can deploy your Java project to Azure App Service as part of your continuous deployment (CD) workflows.
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
type: tutorial
|
||||
topics:
|
||||
- CD
|
||||
- Java
|
||||
- Azure App Service
|
||||
---
|
||||
|
||||
{% data reusables.actions.enterprise-beta %}
|
||||
{% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
|
||||
## Introduction
|
||||
|
||||
This guide explains how to use {% data variables.product.prodname_actions %} to build and deploy a Java project to [Azure App Service](https://azure.microsoft.com/services/app-service/).
|
||||
|
||||
{% ifversion fpt or ghec or ghae-issue-4856 %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note**: {% data reusables.actions.about-oidc-short-overview %} and "[Configuring OpenID Connect in Azure](/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure)."
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Before creating your {% data variables.product.prodname_actions %} workflow, you will first need to complete the following setup steps:
|
||||
|
||||
{% data reusables.actions.create-azure-app-plan %}
|
||||
|
||||
1. Create a web app.
|
||||
|
||||
For example, you can use the Azure CLI to create an Azure App Service web app with a Java runtime:
|
||||
|
||||
```bash{:copy}
|
||||
az webapp create \
|
||||
--name MY_WEBAPP_NAME \
|
||||
--plan MY_APP_SERVICE_PLAN \
|
||||
--resource-group MY_RESOURCE_GROUP \
|
||||
--runtime "JAVA|11-java11"
|
||||
```
|
||||
|
||||
In the command above, replace the parameters with your own values, where `MY_WEBAPP_NAME` is a new name for the web app.
|
||||
|
||||
{% data reusables.actions.create-azure-publish-profile %}
|
||||
|
||||
{% ifversion fpt or ghes > 3.0 or ghae or ghec %}
|
||||
1. Optionally, configure a deployment environment. {% data reusables.actions.about-environments %}
|
||||
{% endif %}
|
||||
|
||||
## Creating the workflow
|
||||
|
||||
Once you've completed the prerequisites, you can proceed with creating the workflow.
|
||||
|
||||
The following example workflow demonstrates how to build and deploy a Java project to Azure App Service when there is a push to the `main` branch.
|
||||
|
||||
Ensure that you set `AZURE_WEBAPP_NAME` in the workflow `env` key to the name of the web app you created. If you want to use a Java version other than `11`, change `JAVA_VERSION`.
|
||||
|
||||
{% data reusables.actions.delete-env-key %}
|
||||
|
||||
```yaml{:copy}
|
||||
{% data reusables.actions.actions-not-certified-by-github-comment %}
|
||||
|
||||
name: Build and deploy JAR app to Azure Web App
|
||||
|
||||
env:
|
||||
AZURE_WEBAPP_NAME: MY_WEBAPP_NAME # set this to your application's name
|
||||
JAVA_VERSION: '11' # set this to the Java version to use
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Java version
|
||||
uses: actions/setup-java@v2.3.1
|
||||
with:
|
||||
java-version: {% raw %}${{ env.JAVA_VERSION }}{% endraw %}
|
||||
cache: 'maven'
|
||||
|
||||
- name: Build with Maven
|
||||
run: mvn clean install
|
||||
|
||||
- name: Upload artifact for deployment job
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: java-app
|
||||
path: '{% raw %}${{ github.workspace }}{% endraw %}/target/*.jar'
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
environment:
|
||||
name: 'production'
|
||||
url: {% raw %}${{ steps.deploy-to-webapp.outputs.webapp-url }}{% endraw %}
|
||||
|
||||
steps:
|
||||
- name: Download artifact from build job
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: java-app
|
||||
|
||||
- name: Deploy to Azure Web App
|
||||
id: deploy-to-webapp
|
||||
uses: azure/webapps-deploy@0b651ed7546ecfc75024011f76944cb9b381ef1e
|
||||
with:
|
||||
app-name: {% raw %}${{ env.AZURE_WEBAPP_NAME }}{% endraw %}
|
||||
publish-profile: {% raw %}${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}{% endraw %}
|
||||
package: '*.jar'
|
||||
```
|
||||
|
||||
## Additional resources
|
||||
|
||||
The following resources may also be useful:
|
||||
|
||||
* For the original starter workflow, see [`azure-webapps-java-jar.yml`](https://github.com/actions/starter-workflows/blob/main/deployments/azure-webapps-java-jar.yml) in the {% data variables.product.prodname_actions %} `starter-workflows` repository.
|
||||
* The action used to deploy the web app is the official Azure [`Azure/webapps-deploy`](https://github.com/Azure/webapps-deploy) action.
|
||||
* For more examples of GitHub Action workflows that deploy to Azure, see the [actions-workflow-samples](https://github.com/Azure/actions-workflow-samples) repository.
|
||||
@@ -0,0 +1,144 @@
|
||||
---
|
||||
title: Deploying .NET to Azure App Service
|
||||
intro: You can deploy your .NET project to Azure App Service as part of your continuous deployment (CD) workflows.
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
type: tutorial
|
||||
topics:
|
||||
- CD
|
||||
- Azure App Service
|
||||
---
|
||||
|
||||
{% data reusables.actions.enterprise-beta %}
|
||||
{% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
|
||||
## Introduction
|
||||
|
||||
This guide explains how to use {% data variables.product.prodname_actions %} to build and deploy a .NET project to [Azure App Service](https://azure.microsoft.com/services/app-service/).
|
||||
|
||||
{% ifversion fpt or ghec or ghae-issue-4856 %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note**: {% data reusables.actions.about-oidc-short-overview %} and "[Configuring OpenID Connect in Azure](/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure)."
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Before creating your {% data variables.product.prodname_actions %} workflow, you will first need to complete the following setup steps:
|
||||
|
||||
{% data reusables.actions.create-azure-app-plan %}
|
||||
|
||||
2. Create a web app.
|
||||
|
||||
For example, you can use the Azure CLI to create an Azure App Service web app with a .NET runtime:
|
||||
|
||||
```bash{:copy}
|
||||
az webapp create \
|
||||
--name MY_WEBAPP_NAME \
|
||||
--plan MY_APP_SERVICE_PLAN \
|
||||
--resource-group MY_RESOURCE_GROUP \
|
||||
--runtime "DOTNET|5.0"
|
||||
```
|
||||
|
||||
In the command above, replace the parameters with your own values, where `MY_WEBAPP_NAME` is a new name for the web app.
|
||||
|
||||
{% data reusables.actions.create-azure-publish-profile %}
|
||||
|
||||
{% ifversion fpt or ghes > 3.0 or ghae or ghec %}
|
||||
5. Optionally, configure a deployment environment. {% data reusables.actions.about-environments %}
|
||||
{% endif %}
|
||||
|
||||
## Creating the workflow
|
||||
|
||||
Once you've completed the prerequisites, you can proceed with creating the workflow.
|
||||
|
||||
The following example workflow demonstrates how to build and deploy a .NET project to Azure App Service when there is a push to the `main` branch.
|
||||
|
||||
Ensure that you set `AZURE_WEBAPP_NAME` in the workflow `env` key to the name of the web app you created. If the path to your project is not the repository root, change `AZURE_WEBAPP_PACKAGE_PATH`. If you use a version of .NET other than `5`, change `DOTNET_VERSION`.
|
||||
|
||||
{% data reusables.actions.delete-env-key %}
|
||||
|
||||
```yaml{:copy}
|
||||
{% data reusables.actions.actions-not-certified-by-github-comment %}
|
||||
|
||||
name: Build and deploy ASP.Net Core app to an Azure Web App
|
||||
|
||||
env:
|
||||
AZURE_WEBAPP_NAME: MY_WEBAPP_NAME # set this to your application's name
|
||||
AZURE_WEBAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root
|
||||
DOTNET_VERSION: '5' # set this to the .NET Core version to use
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Set up .NET Core
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: {% raw %}${{ env.DOTNET_VERSION }}{% endraw %}
|
||||
|
||||
- name: Set up dependency caching for faster builds
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.nuget/packages
|
||||
key: {% raw %}${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}{% endraw %}
|
||||
restore-keys: |
|
||||
{% raw %}${{ runner.os }}-nuget-{% endraw %}
|
||||
|
||||
- name: Build with dotnet
|
||||
run: dotnet build --configuration Release
|
||||
|
||||
- name: dotnet publish
|
||||
run: dotnet publish -c Release -o {% raw %}${{env.DOTNET_ROOT}}{% endraw %}/myapp
|
||||
|
||||
- name: Upload artifact for deployment job
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: .net-app
|
||||
path: {% raw %}${{env.DOTNET_ROOT}}{% endraw %}/myapp
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
environment:
|
||||
name: 'production'
|
||||
url: {% raw %}${{ steps.deploy-to-webapp.outputs.webapp-url }}{% endraw %}
|
||||
|
||||
steps:
|
||||
- name: Download artifact from build job
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: .net-app
|
||||
|
||||
- name: Deploy to Azure Web App
|
||||
id: deploy-to-webapp
|
||||
uses: azure/webapps-deploy@0b651ed7546ecfc75024011f76944cb9b381ef1e
|
||||
with:
|
||||
app-name: {% raw %}${{ env.AZURE_WEBAPP_NAME }}{% endraw %}
|
||||
publish-profile: {% raw %}${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}{% endraw %}
|
||||
package: {% raw %}${{ env.AZURE_WEBAPP_PACKAGE_PATH }}{% endraw %}
|
||||
```
|
||||
|
||||
## Additional resources
|
||||
|
||||
The following resources may also be useful:
|
||||
|
||||
* For the original starter workflow, see [`azure-webapps-dotnet-core.yml`](https://github.com/actions/starter-workflows/blob/main/deployments/azure-webapps-dotnet-core.yml) in the {% data variables.product.prodname_actions %} `starter-workflows` repository.
|
||||
* The action used to deploy the web app is the official Azure [`Azure/webapps-deploy`](https://github.com/Azure/webapps-deploy) action.
|
||||
* For more examples of GitHub Action workflows that deploy to Azure, see the [actions-workflow-samples](https://github.com/Azure/actions-workflow-samples) repository.
|
||||
@@ -0,0 +1,141 @@
|
||||
---
|
||||
title: Deploying Node.js to Azure App Service
|
||||
intro: You can deploy your Node.js project to Azure App Service as part of your continuous deployment (CD) workflows.
|
||||
redirect_from:
|
||||
- /actions/guides/deploying-to-azure-app-service
|
||||
- /actions/deployment/deploying-to-azure-app-service
|
||||
- /actions/deployment/deploying-to-your-cloud-provider/deploying-to-azure-app-service
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
type: tutorial
|
||||
topics:
|
||||
- CD
|
||||
- Node
|
||||
- JavaScript
|
||||
- Azure App Service
|
||||
---
|
||||
|
||||
{% data reusables.actions.enterprise-beta %}
|
||||
{% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
|
||||
## Introduction
|
||||
|
||||
This guide explains how to use {% data variables.product.prodname_actions %} to build, test, and deploy a Node.js project to [Azure App Service](https://azure.microsoft.com/services/app-service/).
|
||||
|
||||
{% ifversion fpt or ghec or ghae-issue-4856 %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note**: {% data reusables.actions.about-oidc-short-overview %} and "[Configuring OpenID Connect in Azure](/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure)."
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Before creating your {% data variables.product.prodname_actions %} workflow, you will first need to complete the following setup steps:
|
||||
|
||||
{% data reusables.actions.create-azure-app-plan %}
|
||||
|
||||
2. Create a web app.
|
||||
|
||||
For example, you can use the Azure CLI to create an Azure App Service web app with a Node.js runtime:
|
||||
|
||||
```bash{:copy}
|
||||
az webapp create \
|
||||
--name MY_WEBAPP_NAME \
|
||||
--plan MY_APP_SERVICE_PLAN \
|
||||
--resource-group MY_RESOURCE_GROUP \
|
||||
--runtime "NODE|14-lts"
|
||||
```
|
||||
|
||||
In the command above, replace the parameters with your own values, where `MY_WEBAPP_NAME` is a new name for the web app.
|
||||
|
||||
{% data reusables.actions.create-azure-publish-profile %}
|
||||
|
||||
{% ifversion fpt or ghes > 3.0 or ghae or ghec %}
|
||||
5. Optionally, configure a deployment environment. {% data reusables.actions.about-environments %}
|
||||
{% endif %}
|
||||
|
||||
## Creating the workflow
|
||||
|
||||
Once you've completed the prerequisites, you can proceed with creating the workflow.
|
||||
|
||||
The following example workflow demonstrates how to build, test, and deploy the Node.js project to Azure App Service when there is a push to the `main` branch.
|
||||
|
||||
Ensure that you set `AZURE_WEBAPP_NAME` in the workflow `env` key to the name of the web app you created. If the path to your project is not the repository root, change `AZURE_WEBAPP_PACKAGE_PATH` to your project path. If you use a version of Node.js other than `10.x`, change `NODE_VERSION` to the version that you use.
|
||||
|
||||
{% data reusables.actions.delete-env-key %}
|
||||
|
||||
```yaml{:copy}
|
||||
{% data reusables.actions.actions-not-certified-by-github-comment %}
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
env:
|
||||
AZURE_WEBAPP_NAME: MY_WEBAPP_NAME # set this to your application's name
|
||||
AZURE_WEBAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root
|
||||
NODE_VERSION: '14.x' # set this to the node version to use
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: {% raw %}${{ env.NODE_VERSION }}{% endraw %}
|
||||
cache: 'npm'
|
||||
|
||||
- name: npm install, build, and test
|
||||
run: |
|
||||
npm install
|
||||
npm run build --if-present
|
||||
npm run test --if-present
|
||||
- name: Upload artifact for deployment job
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: node-app
|
||||
path: .
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
environment:
|
||||
name: 'production'
|
||||
url: {% raw %}${{ steps.deploy-to-webapp.outputs.webapp-url }}{% endraw %}
|
||||
|
||||
steps:
|
||||
- name: Download artifact from build job
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: node-app
|
||||
|
||||
- name: 'Deploy to Azure WebApp'
|
||||
id: deploy-to-webapp
|
||||
uses: azure/webapps-deploy@0b651ed7546ecfc75024011f76944cb9b381ef1e
|
||||
with:
|
||||
app-name: {% raw %}${{ env.AZURE_WEBAPP_NAME }}{% endraw %}
|
||||
publish-profile: {% raw %}${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}{% endraw %}
|
||||
package: {% raw %}${{ env.AZURE_WEBAPP_PACKAGE_PATH }}{% endraw %}
|
||||
```
|
||||
|
||||
## Additional resources
|
||||
|
||||
The following resources may also be useful:
|
||||
|
||||
* For the original starter workflow, see [`azure-webapps-node.yml`](https://github.com/actions/starter-workflows/blob/main/deployments/azure-webapps-node.yml) in the {% data variables.product.prodname_actions %} `starter-workflows` repository.
|
||||
* The action used to deploy the web app is the official Azure [`Azure/webapps-deploy`](https://github.com/Azure/webapps-deploy) action.
|
||||
* For more examples of GitHub Action workflows that deploy to Azure, see the
|
||||
[actions-workflow-samples](https://github.com/Azure/actions-workflow-samples) repository.
|
||||
* The "[Create a Node.js web app in Azure](https://docs.microsoft.com/azure/app-service/quickstart-nodejs)" quickstart in the Azure web app documentation demonstrates using VS Code with the [Azure App Service extension](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azureappservice).
|
||||
@@ -0,0 +1,155 @@
|
||||
---
|
||||
title: Deploying PHP to Azure App Service
|
||||
intro: You can deploy your PHP project to Azure App Service as part of your continuous deployment (CD) workflows.
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
type: tutorial
|
||||
topics:
|
||||
- CD
|
||||
- Azure App Service
|
||||
---
|
||||
|
||||
{% data reusables.actions.enterprise-beta %}
|
||||
{% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
|
||||
## Introduction
|
||||
|
||||
This guide explains how to use {% data variables.product.prodname_actions %} to build and deploy a PHP project to [Azure App Service](https://azure.microsoft.com/services/app-service/).
|
||||
|
||||
{% ifversion fpt or ghec or ghae-issue-4856 %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note**: {% data reusables.actions.about-oidc-short-overview %} and "[Configuring OpenID Connect in Azure](/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure)."
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Before creating your {% data variables.product.prodname_actions %} workflow, you will first need to complete the following setup steps:
|
||||
|
||||
{% data reusables.actions.create-azure-app-plan %}
|
||||
|
||||
2. Create a web app.
|
||||
|
||||
For example, you can use the Azure CLI to create an Azure App Service web app with a PHP runtime:
|
||||
|
||||
```bash{:copy}
|
||||
az webapp create \
|
||||
--name MY_WEBAPP_NAME \
|
||||
--plan MY_APP_SERVICE_PLAN \
|
||||
--resource-group MY_RESOURCE_GROUP \
|
||||
--runtime "php|7.4"
|
||||
```
|
||||
|
||||
In the command above, replace the parameters with your own values, where `MY_WEBAPP_NAME` is a new name for the web app.
|
||||
|
||||
{% data reusables.actions.create-azure-publish-profile %}
|
||||
|
||||
{% ifversion fpt or ghes > 3.0 or ghae or ghec %}
|
||||
5. Optionally, configure a deployment environment. {% data reusables.actions.about-environments %}
|
||||
{% endif %}
|
||||
|
||||
## Creating the workflow
|
||||
|
||||
Once you've completed the prerequisites, you can proceed with creating the workflow.
|
||||
|
||||
The following example workflow demonstrates how to build and deploy a PHP project to Azure App Service when there is a push to the `main` branch.
|
||||
|
||||
Ensure that you set `AZURE_WEBAPP_NAME` in the workflow `env` key to the name of the web app you created. If the path to your project is not the repository root, change `AZURE_WEBAPP_PACKAGE_PATH` to the path to your project. If you use a version of PHP other than `8.x`, change`PHP_VERSION` to the version that you use.
|
||||
|
||||
{% data reusables.actions.delete-env-key %}
|
||||
|
||||
```yaml{:copy}
|
||||
{% data reusables.actions.actions-not-certified-by-github-comment %}
|
||||
|
||||
name: Build and deploy PHP app to Azure Web App
|
||||
|
||||
env:
|
||||
AZURE_WEBAPP_NAME: MY_WEBAPP_NAME # set this to your application's name
|
||||
AZURE_WEBAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root
|
||||
PHP_VERSION: '8.x' # set this to the PHP version to use
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: {% raw %}${{ env.PHP_VERSION }}{% endraw %}
|
||||
|
||||
- name: Check if composer.json exists
|
||||
id: check_files
|
||||
uses: andstor/file-existence-action@v1
|
||||
with:
|
||||
files: 'composer.json'
|
||||
|
||||
- name: Get Composer Cache Directory
|
||||
id: composer-cache
|
||||
if: steps.check_files.outputs.files_exists == 'true'
|
||||
run: |
|
||||
echo "::set-output name=dir::$(composer config cache-files-dir)"
|
||||
|
||||
- name: Set up dependency caching for faster installs
|
||||
uses: actions/cache@v2
|
||||
if: steps.check_files.outputs.files_exists == 'true'
|
||||
with:
|
||||
path: {% raw %}${{ steps.composer-cache.outputs.dir }}{% endraw %}
|
||||
key: {% raw %}${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}{% endraw %}
|
||||
restore-keys: |
|
||||
{% raw %}${{ runner.os }}-composer-{% endraw %}
|
||||
|
||||
- name: Run composer install if composer.json exists
|
||||
if: steps.check_files.outputs.files_exists == 'true'
|
||||
run: composer validate --no-check-publish && composer install --prefer-dist --no-progress
|
||||
|
||||
- name: Upload artifact for deployment job
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: php-app
|
||||
path: .
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
environment:
|
||||
name: 'production'
|
||||
url: {% raw %}${{ steps.deploy-to-webapp.outputs.webapp-url }}{% endraw %}
|
||||
|
||||
steps:
|
||||
- name: Download artifact from build job
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: php-app
|
||||
|
||||
- name: 'Deploy to Azure Web App'
|
||||
id: deploy-to-webapp
|
||||
uses: azure/webapps-deploy@0b651ed7546ecfc75024011f76944cb9b381ef1e
|
||||
with:
|
||||
app-name: {% raw %}${{ env.AZURE_WEBAPP_NAME }}{% endraw %}
|
||||
publish-profile: {% raw %}${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}{% endraw %}
|
||||
package: .
|
||||
```
|
||||
|
||||
## Additional resources
|
||||
|
||||
The following resources may also be useful:
|
||||
|
||||
* For the original starter workflow, see [`azure-webapps-php.yml`](https://github.com/actions/starter-workflows/blob/main/deployments/azure-webapps-php.yml) in the {% data variables.product.prodname_actions %} `starter-workflows` repository.
|
||||
* The action used to deploy the web app is the official Azure [`Azure/webapps-deploy`](https://github.com/Azure/webapps-deploy) action.
|
||||
* For more examples of GitHub Action workflows that deploy to Azure, see the [actions-workflow-samples](https://github.com/Azure/actions-workflow-samples) repository.
|
||||
@@ -0,0 +1,151 @@
|
||||
---
|
||||
title: Deploying Python to Azure App Service
|
||||
intro: You can deploy your Python project to Azure App Service as part of your continuous deployment (CD) workflows.
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
type: tutorial
|
||||
topics:
|
||||
- CD
|
||||
- Python
|
||||
- Azure App Service
|
||||
---
|
||||
|
||||
{% data reusables.actions.enterprise-beta %}
|
||||
{% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
|
||||
## Introduction
|
||||
|
||||
This guide explains how to use {% data variables.product.prodname_actions %} to build and deploy a Python project to [Azure App Service](https://azure.microsoft.com/services/app-service/).
|
||||
|
||||
{% ifversion fpt or ghec or ghae-issue-4856 %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note**: {% data reusables.actions.about-oidc-short-overview %} and "[Configuring OpenID Connect in Azure](/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure)."
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Before creating your {% data variables.product.prodname_actions %} workflow, you will first need to complete the following setup steps:
|
||||
|
||||
{% data reusables.actions.create-azure-app-plan %}
|
||||
|
||||
1. Create a web app.
|
||||
|
||||
For example, you can use the Azure CLI to create an Azure App Service web app with a Python runtime:
|
||||
|
||||
```bash{:copy}
|
||||
az webapp create \
|
||||
--name MY_WEBAPP_NAME \
|
||||
--plan MY_APP_SERVICE_PLAN \
|
||||
--resource-group MY_RESOURCE_GROUP \
|
||||
--runtime "python|3.8"
|
||||
```
|
||||
|
||||
In the command above, replace the parameters with your own values, where `MY_WEBAPP_NAME` is a new name for the web app.
|
||||
|
||||
{% data reusables.actions.create-azure-publish-profile %}
|
||||
|
||||
1. Add an app setting called `SCM_DO_BUILD_DURING_DEPLOYMENT` and set the value to `1`.
|
||||
|
||||
{% ifversion fpt or ghes > 3.0 or ghae or ghec %}
|
||||
5. Optionally, configure a deployment environment. {% data reusables.actions.about-environments %}
|
||||
{% endif %}
|
||||
|
||||
## Creating the workflow
|
||||
|
||||
Once you've completed the prerequisites, you can proceed with creating the workflow.
|
||||
|
||||
The following example workflow demonstrates how to build and deploy a Python project to Azure App Service when there is a push to the `main` branch.
|
||||
|
||||
Ensure that you set `AZURE_WEBAPP_NAME` in the workflow `env` key to the name of the web app you created. If you use a version of Python other than `3.8`, change `PYTHON_VERSION` to the version that you use.
|
||||
|
||||
{% data reusables.actions.delete-env-key %}
|
||||
|
||||
```yaml{:copy}
|
||||
{% data reusables.actions.actions-not-certified-by-github-comment %}
|
||||
|
||||
name: Build and deploy Python app to Azure Web App
|
||||
|
||||
env:
|
||||
AZURE_WEBAPP_NAME: MY_WEBAPP_NAME # set this to your application's name
|
||||
PYTHON_VERSION: '3.8' # set this to the Python version to use
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Python version
|
||||
uses: actions/setup-python@v2.2.2
|
||||
with:
|
||||
python-version: {% raw %}${{ env.PYTHON_VERSION }}{% endraw %}
|
||||
|
||||
- name: Create and start virtual environment
|
||||
run: |
|
||||
python -m venv venv
|
||||
source venv/bin/activate
|
||||
|
||||
- name: Set up dependency caching for faster installs
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.cache/pip
|
||||
key: {% raw %}${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}{% endraw %}
|
||||
restore-keys: |
|
||||
{% raw %}${{ runner.os }}-pip-{% endraw %}
|
||||
|
||||
- name: Install dependencies
|
||||
run: pip install -r requirements.txt
|
||||
|
||||
# Optional: Add a step to run tests here (PyTest, Django test suites, etc.)
|
||||
|
||||
- name: Upload artifact for deployment jobs
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: python-app
|
||||
path: |
|
||||
.
|
||||
!venv/
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
environment:
|
||||
name: 'production'
|
||||
url: {% raw %}${{ steps.deploy-to-webapp.outputs.webapp-url }}{% endraw %}
|
||||
|
||||
steps:
|
||||
- name: Download artifact from build job
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: python-app
|
||||
path: .
|
||||
|
||||
- name: 'Deploy to Azure Web App'
|
||||
id: deploy-to-webapp
|
||||
uses: azure/webapps-deploy@0b651ed7546ecfc75024011f76944cb9b381ef1e
|
||||
with:
|
||||
app-name: {% raw %}${{ env.AZURE_WEBAPP_NAME }}{% endraw %}
|
||||
publish-profile: {% raw %}${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}{% endraw %}
|
||||
```
|
||||
|
||||
## Additional resources
|
||||
|
||||
The following resources may also be useful:
|
||||
|
||||
* For the original starter workflow, see [`azure-webapps-python.yml`](https://github.com/actions/starter-workflows/blob/main/deployments/azure-webapps-python.yml) in the {% data variables.product.prodname_actions %} `starter-workflows` repository.
|
||||
* The action used to deploy the web app is the official Azure [`Azure/webapps-deploy`](https://github.com/Azure/webapps-deploy) action.
|
||||
* For more examples of GitHub Action workflows that deploy to Azure, see the [actions-workflow-samples](https://github.com/Azure/actions-workflow-samples) repository.
|
||||
@@ -0,0 +1,126 @@
|
||||
---
|
||||
title: Deploying to Azure Kubernetes Service
|
||||
intro: You can deploy your project to Azure Kubernetes Service (AKS) as part of your continuous deployment (CD) workflows.
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
type: tutorial
|
||||
topics:
|
||||
- CD
|
||||
- Azure Kubernetes Service
|
||||
---
|
||||
|
||||
{% data reusables.actions.enterprise-beta %}
|
||||
{% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
|
||||
## Introduction
|
||||
|
||||
This guide explains how to use {% data variables.product.prodname_actions %} to build and deploy a project to [Azure Kubernetes Service](https://azure.microsoft.com/services/kubernetes-service/).
|
||||
|
||||
{% ifversion fpt or ghec or ghae-issue-4856 %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note**: {% data reusables.actions.about-oidc-short-overview %} and "[Configuring OpenID Connect in Azure](/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure)."
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Before creating your {% data variables.product.prodname_actions %} workflow, you will first need to complete the following setup steps:
|
||||
|
||||
1. Create a target AKS cluster and an Azure Container Registry (ACR). For more information, see "[Quickstart: Deploy an AKS cluster by using the Azure portal - Azure Kubernetes Service](https://docs.microsoft.com/azure/aks/kubernetes-walkthrough-portal)" and "[Quickstart - Create registry in portal - Azure Container Registry](https://docs.microsoft.com/azure/container-registry/container-registry-get-started-portal)" in the Azure documentation.
|
||||
|
||||
1. Create a secret called `AZURE_CREDENTIALS` to store your Azure credentials. For more information about how to find this information and structure the secret, see [the `Azure/login` action documentation](https://github.com/Azure/login#configure-a-service-principal-with-a-secret).
|
||||
|
||||
## Creating the workflow
|
||||
|
||||
Once you've completed the prerequisites, you can proceed with creating the workflow.
|
||||
|
||||
The following example workflow demonstrates how to build and deploy a project to Azure Kubernetes Service when code is pushed to your repository.
|
||||
|
||||
Under the workflow `env` key, change the the following values:
|
||||
- `AZURE_CONTAINER_REGISTRY` to the name of your container registry
|
||||
- `PROJECT_NAME` to the name of your project
|
||||
- `RESOURCE_GROUP` to the resource group containing your AKS cluster
|
||||
- `CLUSTER_NAME` to the name of your AKS cluster
|
||||
|
||||
This workflow uses the `helm` render engine for the [`azure/k8s-bake` action](https://github.com/Azure/k8s-bake). If you will use the `helm` render engine, change the value of `CHART_PATH` to the path to your helm file. Change `CHART_OVERRIDE_PATH` to an array of override file paths. If you use a different render engine, update the input parameters sent to the `azure/k8s-bake` action.
|
||||
|
||||
```yaml{:copy}
|
||||
{% data reusables.actions.actions-not-certified-by-github-comment %}
|
||||
|
||||
name: Build and deploy to Azure Kubernetes Service
|
||||
|
||||
env:
|
||||
AZURE_CONTAINER_REGISTRY: MY_REGISTRY_NAME # set this to the name of your container registry
|
||||
PROJECT_NAME: MY_PROJECT_NAME # set this to your project's name
|
||||
RESOURCE_GROUP: MY_RESOURCE_GROUP # set this to the resource group containing your AKS cluster
|
||||
CLUSTER_NAME: MY_CLUSTER_NAME # set this to the name of your AKS cluster
|
||||
REGISTRY_URL: MY_REGISTRY_URL # set this to the URL of your registry
|
||||
# If you bake using helm:
|
||||
CHART_PATH: MY_HELM_FILE # set this to the path to your helm file
|
||||
CHART_OVERRIDE_PATH: MY_OVERRIDE_FILES # set this to an array of override file paths
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
|
||||
- name: Azure Login
|
||||
uses: azure/login@89d153571fe9a34ed70fcf9f1d95ab8debea7a73
|
||||
with:
|
||||
creds: {% raw %}${{ secrets.AZURE_CREDENTIALS }}{% endraw %}
|
||||
|
||||
- name: Build image on ACR
|
||||
uses: azure/CLI@7378ce2ca3c38b4b063feb7a4cbe384fef978055
|
||||
with:
|
||||
azcliversion: 2.29.1
|
||||
inlineScript: |
|
||||
az configure --defaults acr={% raw %}${{ env.AZURE_CONTAINER_REGISTRY }}{% endraw %}
|
||||
az acr build -t -t {% raw %}${{ env.REGISTRY_URL }}{% endraw %}/{% raw %}${{ env.PROJECT_NAME }}{% endraw %}:{% raw %}${{ github.sha }}{% endraw %}
|
||||
|
||||
- name: Gets K8s context
|
||||
uses: azure/aks-set-context@4e5aec273183a197b181314721843e047123d9fa
|
||||
with:
|
||||
creds: {% raw %}${{ secrets.AZURE_CREDENTIALS }}{% endraw %}
|
||||
resource-group: {% raw %}${{ env.RESOURCE_GROUP }}{% endraw %}
|
||||
cluster-name: {% raw %}${{ env.CLUSTER_NAME }}{% endraw %}
|
||||
id: login
|
||||
|
||||
- name: Configure deployment
|
||||
uses: azure/k8s-bake@773b6144a3732e3bf4c78b146a0bb9617b2e016b
|
||||
with:
|
||||
renderEngine: 'helm'
|
||||
helmChart: {% raw %}${{ env.CHART_PATH }}{% endraw %}
|
||||
overrideFiles: {% raw %}${{ env.CHART_OVERRIDE_PATH }}{% endraw %}
|
||||
overrides: |
|
||||
replicas:2
|
||||
helm-version: 'latest'
|
||||
id: bake
|
||||
|
||||
- name: Deploys application
|
||||
- uses: Azure/k8s-deploy@c8fbd76ededaad2799c054a9fd5d0fa5d4e9aee4
|
||||
with:
|
||||
manifests: {% raw %}${{ steps.bake.outputs.manifestsBundle }}{% endraw %}
|
||||
images: |
|
||||
{% raw %}${{ env.AZURE_CONTAINER_REGISTRY }}{% endraw %}.azurecr.io/{% raw %}${{ env.PROJECT_NAME }}{% endraw %}:{% raw %}${{ github.sha }}{% endraw %}
|
||||
imagepullsecrets: |
|
||||
{% raw %}${{ env.PROJECT_NAME }}{% endraw %}
|
||||
```
|
||||
|
||||
## Additional resources
|
||||
|
||||
The following resources may also be useful:
|
||||
|
||||
* For the original starter workflow, see [`azure-kubernetes-service.yml `](https://github.com/actions/starter-workflows/blob/main/deployments/azure-kubernetes-service.yml) in the {% data variables.product.prodname_actions %} `starter-workflows` repository.
|
||||
* The actions used to in this workflow are the official Azure [`Azure/login`](https://github.com/Azure/login),[`Azure/aks-set-context`](https://github.com/Azure/aks-set-context), [`Azure/CLI`](https://github.com/Azure/CLI), [`Azure/k8s-bake`](https://github.com/Azure/k8s-bake), and [`Azure/k8s-deploy`](https://github.com/Azure/k8s-deploy)actions.
|
||||
* For more examples of GitHub Action workflows that deploy to Azure, see the [actions-workflow-samples](https://github.com/Azure/actions-workflow-samples) repository.
|
||||
@@ -0,0 +1,113 @@
|
||||
---
|
||||
title: Deploying to Azure Static Web App
|
||||
intro: You can deploy your web app to Azure Static Web App as part of your continuous deployment (CD) workflows.
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
type: tutorial
|
||||
topics:
|
||||
- CD
|
||||
- Azure Static Web Apps
|
||||
---
|
||||
|
||||
{% data reusables.actions.enterprise-beta %}
|
||||
{% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
|
||||
## Introduction
|
||||
|
||||
This guide explains how to use {% data variables.product.prodname_actions %} to build and deploy a web app to [Azure Static Web Apps](https://azure.microsoft.com/services/app-service/static/).
|
||||
|
||||
{% ifversion fpt or ghec or ghae-issue-4856 %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note**: {% data reusables.actions.about-oidc-short-overview %} and "[Configuring OpenID Connect in Azure](/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure)."
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Before creating your {% data variables.product.prodname_actions %} workflow, you will first need to complete the following setup steps:
|
||||
|
||||
1. Create an Azure Static Web App using the 'Other' option for deployment source. For more information, see "[Quickstart: Building your first static site in the Azure portal](https://docs.microsoft.com/azure/static-web-apps/get-started-portal)" in the Azure documentation.
|
||||
|
||||
2. Create a secret called `AZURE_STATIC_WEB_APPS_API_TOKEN` with the value of your static web app deployment token. For more information about how to find your deployment token, see "[Reset deployment tokens in Azure Static Web Apps](https://docs.microsoft.com/azure/static-web-apps/deployment-token-management)" in the Azure documentation.
|
||||
|
||||
## Creating the workflow
|
||||
|
||||
Once you've completed the prerequisites, you can proceed with creating the workflow.
|
||||
|
||||
The following example workflow demonstrates how to build and deploy an Azure static web app when there is a push to the `main` branch or when a pull request targeting `main` is opened, synchronized, or reopened. The workflow also tears down the corresponding pre-production deployment when a pull request targeting `main` is closed.
|
||||
|
||||
Under the workflow `env` key, change the following values:
|
||||
- `APP_LOCATION` to the location of your client code
|
||||
- `API_LOCATION` to the location of your API source code. If `API_LOCATION` is not relevant, you can delete the variable and the lines where it is used.
|
||||
- `APP_ARTIFACT_LOCATION` to the location of your client code build output
|
||||
|
||||
For more information about these values, see "[Build configuration for Azure Static Web Apps](https://docs.microsoft.com/azure/static-web-apps/build-configuration?tabs=github-actions)" in the Azure documentation.
|
||||
|
||||
```yaml{:copy}
|
||||
{% data reusables.actions.actions-not-certified-by-github-comment %}
|
||||
|
||||
name: Deploy web app to Azure Static Web Apps
|
||||
|
||||
env:
|
||||
APP_LOCATION: "/" # location of your client code
|
||||
API_LOCATION: "api" # location of your api source code - optional
|
||||
APP_ARTIFACT_LOCATION: "build" # location of client code build output
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened, closed]
|
||||
branches:
|
||||
- main
|
||||
|
||||
permissions:
|
||||
issues: write
|
||||
|
||||
jobs:
|
||||
build_and_deploy:
|
||||
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
|
||||
runs-on: ubuntu-latest
|
||||
name: Build and Deploy
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: true
|
||||
- name: Build And Deploy
|
||||
uses: Azure/static-web-apps-deploy@1a947af9992250f3bc2e68ad0754c0b0c11566c9
|
||||
with:
|
||||
azure_static_web_apps_api_token: {% raw %}${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }}{% endraw %}
|
||||
repo_token: {% raw %}${{ secrets.GITHUB_TOKEN }}{% endraw %}
|
||||
action: "upload"
|
||||
app_location: {% raw %}${{ env.APP_LOCATION }}{% endraw %}
|
||||
api_location: {% raw %}${{ env.API_LOCATION }}{% endraw %}
|
||||
app_artifact_location: {% raw %}${{ env.APP_ARTIFACT_LOCATION }}{% endraw %}
|
||||
|
||||
close:
|
||||
if: github.event_name == 'pull_request' && github.event.action == 'closed'
|
||||
runs-on: ubuntu-latest
|
||||
name: Close
|
||||
steps:
|
||||
- name: Close
|
||||
uses: Azure/static-web-apps-deploy@1a947af9992250f3bc2e68ad0754c0b0c11566c9
|
||||
with:
|
||||
azure_static_web_apps_api_token: {% raw %}${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }}{% endraw %}
|
||||
action: "close"
|
||||
```
|
||||
|
||||
## Additional resources
|
||||
|
||||
The following resources may also be useful:
|
||||
|
||||
* For the original starter workflow, see [`azure-staticwebapp.yml`](https://github.com/actions/starter-workflows/blob/main/deployments/azure-staticwebapp.yml) in the {% data variables.product.prodname_actions %} `starter-workflows` repository.
|
||||
* The action used to deploy the web app is the official Azure [`Azure/static-web-apps-deploy`](https://github.com/Azure/static-web-apps-deploy) action.
|
||||
* For more examples of GitHub Action workflows that deploy to Azure, see the [actions-workflow-samples](https://github.com/Azure/actions-workflow-samples) repository.
|
||||
@@ -0,0 +1,19 @@
|
||||
---
|
||||
title: Deploying to Azure
|
||||
shortTitle: Deploy to Azure
|
||||
intro: Learn how to deploy to Azure App Service, Azure Kubernetes, and Azure Static Web App as part of your continuous deployment (CD) workflows.
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
children:
|
||||
- /deploying-nodejs-to-azure-app-service
|
||||
- /deploying-python-to-azure-app-service
|
||||
- /deploying-java-to-azure-app-service
|
||||
- /deploying-net-to-azure-app-service
|
||||
- /deploying-php-to-azure-app-service
|
||||
- /deploying-docker-to-azure-app-service
|
||||
- /deploying-to-azure-static-web-app
|
||||
- /deploying-to-azure-kubernetes-service
|
||||
---
|
||||
@@ -4,10 +4,11 @@ shortTitle: Deploying to your cloud provider
|
||||
intro: 'You can deploy to various cloud providers, such as AWS, Azure, and GKE.'
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghae: 'issue-4856'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
ghes: '*'
|
||||
children:
|
||||
- /deploying-to-amazon-elastic-container-service
|
||||
- /deploying-to-azure-app-service
|
||||
- /deploying-to-azure
|
||||
- /deploying-to-google-kubernetes-engine
|
||||
---
|
||||
|
||||
@@ -43,7 +43,6 @@ includeGuides:
|
||||
- /actions/using-containerized-services/creating-redis-service-containers
|
||||
- /actions/using-containerized-services/creating-postgresql-service-containers
|
||||
- /actions/deployment/deploying-to-amazon-elastic-container-service
|
||||
- /actions/deployment/deploying-to-azure-app-service
|
||||
- /actions/deployment/deploying-to-google-kubernetes-engine
|
||||
- /actions/learn-github-actions/essential-features-of-github-actions
|
||||
- /actions/security-guides/security-hardening-for-github-actions
|
||||
@@ -64,5 +63,13 @@ includeGuides:
|
||||
- /actions/managing-issues-and-pull-requests/removing-a-label-when-a-card-is-added-to-a-project-board-column
|
||||
- /code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/automating-dependabot-with-github-actions
|
||||
- /code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/keeping-your-actions-up-to-date-with-dependabot
|
||||
- /actions/deployment/deploying-to-your-cloud-provider/deploying-to-azure/deploying-docker-to-azure-app-service
|
||||
- /actions/deployment/deploying-to-your-cloud-provider/deploying-to-azure/deploying-java-to-azure-app-service
|
||||
- /actions/deployment/deploying-to-your-cloud-provider/deploying-to-azure/deploying-net-to-azure-app-service
|
||||
- /actions/deployment/deploying-to-your-cloud-provider/deploying-to-azure/deploying-nodejs-to-azure-app-service
|
||||
- /actions/deployment/deploying-to-your-cloud-provider/deploying-to-azure/deploying-php-to-azure-app-service
|
||||
- /actions/deployment/deploying-to-your-cloud-provider/deploying-to-azure/deploying-python-to-azure-app-service
|
||||
- /actions/deployment/deploying-to-your-cloud-provider/deploying-to-azure/deploying-to-azure-static-web-app
|
||||
- /actions/deployment/deploying-to-your-cloud-provider/deploying-to-azure/deploying-to-azure-kubernetes-service
|
||||
---
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user