Merge branch 'main' into checkout-2.3.4
This commit is contained in:
BIN
assets/images/help/images/comparing-travis-with-actions.png
Normal file
BIN
assets/images/help/images/comparing-travis-with-actions.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 50 KiB |
@@ -36,7 +36,8 @@ versions:
|
||||
{% link_with_intro /managing-complex-workflows %}
|
||||
{% link_with_intro /sharing-workflows-with-your-organization %}
|
||||
{% link_with_intro /security-hardening-for-github-actions %}
|
||||
{% link_with_intro /migrating-from-azure-pipelines-to-github-actions %}
|
||||
{% link_with_intro /migrating-from-circleci-to-github-actions %}
|
||||
{% link_with_intro /migrating-from-gitlab-cicd-to-github-actions %}
|
||||
{% link_with_intro /migrating-from-azure-pipelines-to-github-actions %}
|
||||
{% link_with_intro /migrating-from-jenkins-to-github-actions %}
|
||||
{% link_with_intro /migrating-from-travis-ci-to-github-actions %}
|
||||
@@ -0,0 +1,410 @@
|
||||
---
|
||||
title: Migrating from Travis CI to GitHub Actions
|
||||
intro: '{% data variables.product.prodname_actions %} and Travis CI share multiple similarities, which helps make it relatively straightforward to migrate to {% data variables.product.prodname_actions %}.'
|
||||
redirect_from:
|
||||
- /actions/migrating-to-github-actions/migrating-from-travis-ci-to-github-actions
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
enterprise-server: '>=2.22'
|
||||
---
|
||||
|
||||
### Introduction
|
||||
|
||||
This guide helps you migrate from Travis CI to {% data variables.product.prodname_actions %}. It compares their concepts and syntax, describes the similarities, and demonstrates their different approaches to common tasks.
|
||||
|
||||
### Before you start
|
||||
|
||||
Before starting your migration to {% data variables.product.prodname_actions %}, it would be useful to become familiar with how it works:
|
||||
|
||||
- For a quick example that demonstrates a {% data variables.product.prodname_actions %} job, see "[Quickstart for {% data variables.product.prodname_actions %}](/actions/quickstart)."
|
||||
- To learn the essential {% data variables.product.prodname_actions %} concepts, see "[Introduction to GitHub Actions](/actions/learn-github-actions/introduction-to-github-actions)."
|
||||
|
||||
### Comparing job execution
|
||||
|
||||
To give you control over when CI tasks are executed, a {% data variables.product.prodname_actions %} _workflow_ uses _jobs_ that run in parallel by default. Each job contains _steps_ that are executed in a sequence that you define. If you need to run setup and cleanup actions for a job, you can define steps in each job to perform these.
|
||||
|
||||
### Key similarities
|
||||
|
||||
{% data variables.product.prodname_actions %} and Travis CI share certain similarities, and understanding these ahead of time can help smooth the migration process.
|
||||
|
||||
#### Using YAML syntax
|
||||
|
||||
Travis CI and {% data variables.product.prodname_actions %} both use YAML to create jobs and workflows, and these files are stored in the code's repository. For more information on how {% data variables.product.prodname_actions %} uses YAML, see ["Creating a workflow file](/actions/learn-github-actions/introduction-to-github-actions#create-an-example-workflow)."
|
||||
|
||||
#### Custom environment variables
|
||||
|
||||
Travis CI lets you set environment variables and share them between stages. Similarly, {% data variables.product.prodname_actions %} lets you define environment variables for a step, job, or workflow. For more information, see ["Environment variables](/actions/reference/environment-variables)."
|
||||
|
||||
#### Default environment variables
|
||||
|
||||
Travis CI and {% data variables.product.prodname_actions %} both include default environment variables that you can use in your YAML files. For {% data variables.product.prodname_actions %}, you can see these listed in "[Default environment variables](/actions/reference/environment-variables#default-environment-variables)."
|
||||
|
||||
#### Parallel job processing
|
||||
|
||||
Travis CI can use `stages` to run jobs in parallel. Similarly, {% data variables.product.prodname_actions %} runs `jobs` in parallel. For more information, see "[Creating dependent jobs](/actions/learn-github-actions/managing-complex-workflows#creating-dependent-jobs)."
|
||||
|
||||
#### Status badges
|
||||
|
||||
Travis CI and {% data variables.product.prodname_actions %} both support status badges, which let you indicate whether a build is passing or failing.
|
||||
For more information, see ["Adding a workflow status badge to your repository](/actions/managing-workflow-runs/adding-a-workflow-status-badge)."
|
||||
|
||||
#### Using a build matrix
|
||||
|
||||
Travis CI and {% data variables.product.prodname_actions %} both support a build matrix, allowing you to perform testing using combinations of operating systems and software packages. For more information, see "[Using a build matrix](/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix)."
|
||||
|
||||
Below is an example comparing the syntax for each system:
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<th>
|
||||
Travis CI
|
||||
</th>
|
||||
<th>
|
||||
{% data variables.product.prodname_actions %}
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="d-table-cell v-align-top">
|
||||
{% raw %}
|
||||
```yaml
|
||||
matrix:
|
||||
include:
|
||||
- rvm: 2.5
|
||||
- rvm: 2.6.3
|
||||
```
|
||||
{% endraw %}
|
||||
</td>
|
||||
<td class="d-table-cell v-align-top">
|
||||
{% raw %}
|
||||
```yaml
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
ruby: [2.5, 2.6.3]
|
||||
```
|
||||
{% endraw %}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
#### Targeting specific branches
|
||||
|
||||
Travis CI and {% data variables.product.prodname_actions %} both allow you to target your CI to a specific branch. For more information, see "[Workflow syntax for GitHub Actions](/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestbranchestags)."
|
||||
|
||||
Below is an example of the syntax for each system:
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<th>
|
||||
Travis CI
|
||||
</th>
|
||||
<th>
|
||||
{% data variables.product.prodname_actions %}
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="d-table-cell v-align-top">
|
||||
{% raw %}
|
||||
```yaml
|
||||
branches:
|
||||
only:
|
||||
- main
|
||||
- 'mona/octocat'
|
||||
```
|
||||
{% endraw %}
|
||||
</td>
|
||||
<td class="d-table-cell v-align-top">
|
||||
{% raw %}
|
||||
```yaml
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- 'mona/octocat'
|
||||
```
|
||||
{% endraw %}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
#### Checking out submodules
|
||||
|
||||
Travis CI and {% data variables.product.prodname_actions %} both allow you to control whether submodules are included in the repository clone.
|
||||
|
||||
Below is an example of the syntax for each system:
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<th>
|
||||
Travis CI
|
||||
</th>
|
||||
<th>
|
||||
{% data variables.product.prodname_actions %}
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="d-table-cell v-align-top">
|
||||
{% raw %}
|
||||
```yaml
|
||||
git:
|
||||
submodules: false
|
||||
```
|
||||
{% endraw %}
|
||||
</td>
|
||||
<td class="d-table-cell v-align-top">
|
||||
{% raw %}
|
||||
```yaml
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: false
|
||||
```
|
||||
{% endraw %}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
### Key features in {% data variables.product.prodname_actions %}
|
||||
|
||||
When migrating from Travis CI, consider the following key features in {% data variables.product.prodname_actions %}:
|
||||
|
||||
#### Storing secrets
|
||||
|
||||
{% data variables.product.prodname_actions %} allows you to store secrets and reference them in your jobs. {% data variables.product.prodname_actions %} also includes policies that allow you to limit access to secrets at the repository and organization level. For more information, see "[Encrypted secrets](/actions/reference/encrypted-secrets)."
|
||||
|
||||
#### Sharing files between jobs and workflows
|
||||
|
||||
{% data variables.product.prodname_actions %} includes integrated support for artifact storage, allowing you to share files between jobs in a workflow. You can also save the resulting files and share them with other workflows. For more information, see "[Sharing data between jobs](/actions/learn-github-actions/essential-features-of-github-actions#sharing-data-between-jobs)."
|
||||
|
||||
#### Hosting your own runners
|
||||
|
||||
If your jobs require specific hardware or software, {% data variables.product.prodname_actions %} allows you to host your own runners and send your jobs to them for processing. {% data variables.product.prodname_actions %} also lets you use policies to control how these runners are accessed, granting access at the organization or repository level. For more information, see ["Hosting your own runners](/actions/hosting-your-own-runners)."
|
||||
|
||||
#### Concurrent jobs and execution time
|
||||
|
||||
The concurrent jobs and workflow execution times in {% data variables.product.prodname_actions %} can vary depending on your {% data variables.product.company_short %} plan. For more information, see "[Usage limits, billing, and administration](/actions/reference/usage-limits-billing-and-administration)."
|
||||
|
||||
#### Using different languages in {% data variables.product.prodname_actions %}
|
||||
|
||||
When working with different languages in {% data variables.product.prodname_actions %}, you can create a step in your job to set up your language dependencies. For more information about working with a particular language, see the specific guide:
|
||||
- [Building and testing Node.js](/actions/guides/building-and-testing-nodejs)
|
||||
- [Building and testing PowerShell](/actions/guides/building-and-testing-powershell)
|
||||
- [Building and testing Python](/actions/guides/building-and-testing-python)
|
||||
- [Building and testing Java with Maven](/actions/guides/building-and-testing-java-with-maven)
|
||||
- [Building and testing Java with Gradle](/actions/guides/building-and-testing-java-with-gradle)
|
||||
- [Building and testing Java with Ant](/actions/guides/building-and-testing-java-with-ant)
|
||||
|
||||
### Executing scripts
|
||||
|
||||
{% data variables.product.prodname_actions %} can use `run` steps to run scripts or shell commands. To use a particular shell, you can specify the `shell` type when providing the path to the script. For more information, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsrun)."
|
||||
|
||||
For example:
|
||||
|
||||
```yaml
|
||||
steps:
|
||||
- name: Run build script
|
||||
run: ./.github/scripts/build.sh
|
||||
shell: bash
|
||||
```
|
||||
|
||||
### Error handling in {% data variables.product.prodname_actions %}
|
||||
|
||||
When migrating to {% data variables.product.prodname_actions %}, there are different approaches to error handling that you might need to be aware of.
|
||||
|
||||
#### Script error handling
|
||||
|
||||
{% data variables.product.prodname_actions %} stops a job immediately if one of the steps returns an error code. For more information, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/actions/reference/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference)."
|
||||
|
||||
#### Job error handling
|
||||
|
||||
{% data variables.product.prodname_actions %} uses `if` conditionals to execute jobs or steps in certain situations. For example, you can run a step when another step results in a `failure()`. For more information, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/actions/reference/workflow-syntax-for-github-actions#example-using-status-check-functions)." You can also use [`continue-on-error`](/actions/reference/workflow-syntax-for-github-actions#jobsjob_idcontinue-on-error) to prevent a workflow run from stopping when a job fails.
|
||||
|
||||
### Migrating syntax for conditionals and expressions
|
||||
|
||||
To run jobs under conditional expressions, Travis CI and {% data variables.product.prodname_actions %} share a similar `if` condition syntax. {% data variables.product.prodname_actions %} lets you use the `if` conditional to prevent a job or step from running unless a condition is met. For more information, see "[Context and expression syntax for {% data variables.product.prodname_actions %}](/actions/reference/context-and-expression-syntax-for-github-actions)."
|
||||
|
||||
This example demonstrates how an `if` conditional can control whether a step is executed:
|
||||
|
||||
```yaml
|
||||
jobs:
|
||||
conditional:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo "This step runs with str equals 'ABC' and num equals 123"
|
||||
if: env.str == 'ABC' && env.num == 123
|
||||
```
|
||||
|
||||
### Migrating phases to steps
|
||||
|
||||
Where Travis CI uses _phases_ to run _steps_, {% data variables.product.prodname_actions %} has _steps_ which execute _actions_. You can find prebuilt actions in the [{% data variables.product.prodname_marketplace %}](https://github.com/marketplace?type=actions), or you can create your own actions. For more information, see "[Building actions](/actions/building-actions)."
|
||||
|
||||
Below is an example of the syntax for each system:
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<th>
|
||||
Travis CI
|
||||
</th>
|
||||
<th>
|
||||
{% data variables.product.prodname_actions %}
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="d-table-cell v-align-top">
|
||||
{% raw %}
|
||||
```yaml
|
||||
language: python
|
||||
python:
|
||||
- "3.7"
|
||||
|
||||
script:
|
||||
- python script.py
|
||||
```
|
||||
{% endraw %}
|
||||
</td>
|
||||
<td class="d-table-cell v-align-top">
|
||||
{% raw %}
|
||||
```yaml
|
||||
jobs:
|
||||
run_python:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.7'
|
||||
architecture: 'x64'
|
||||
- run: python script.py
|
||||
```
|
||||
{% endraw %}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
### Caching dependencies
|
||||
|
||||
Travis CI and {% data variables.product.prodname_actions %} let you manually cache dependencies for later reuse. This example demonstrates the cache syntax for each system.
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<th>
|
||||
Travis CI
|
||||
</th>
|
||||
<th>
|
||||
GitHub Actions
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="d-table-cell v-align-top">
|
||||
{% raw %}
|
||||
```yaml
|
||||
language: node_js
|
||||
cache: npm
|
||||
```
|
||||
{% endraw %}
|
||||
</td>
|
||||
<td class="d-table-cell v-align-top">
|
||||
{% raw %}
|
||||
```yaml
|
||||
- name: Cache node modules
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.npm
|
||||
key: v1-npm-deps-${{ hashFiles('**/package-lock.json') }}
|
||||
restore-keys: v1-npm-deps-
|
||||
```
|
||||
{% endraw %}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
For more information, see "[Caching dependencies to speed up workflows](/actions/guides/caching-dependencies-to-speed-up-workflows)."
|
||||
|
||||
### Examples of common tasks
|
||||
|
||||
This section compares how {% data variables.product.prodname_actions %} and Travis CI perform common tasks.
|
||||
|
||||
#### Configuring environment variables
|
||||
|
||||
You can create custom environment variables in a {% data variables.product.prodname_actions %} job. For example:
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<th>
|
||||
Travis CI
|
||||
</th>
|
||||
<th>
|
||||
{% data variables.product.prodname_actions %} Workflow
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
```yaml
|
||||
env:
|
||||
- MAVEN_PATH="/usr/local/maven"
|
||||
```
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
```yaml
|
||||
jobs:
|
||||
maven-build:
|
||||
env:
|
||||
MAVEN_PATH: '/usr/local/maven'
|
||||
```
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
#### Building with Node.js
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<th>
|
||||
Travis CI
|
||||
</th>
|
||||
<th>
|
||||
{% data variables.product.prodname_actions %} Workflow
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{% raw %}
|
||||
```yaml
|
||||
install:
|
||||
- npm install
|
||||
script:
|
||||
- npm run build
|
||||
- npm test
|
||||
```
|
||||
{% endraw %}
|
||||
</td>
|
||||
<td>
|
||||
{% raw %}
|
||||
```yaml
|
||||
name: Node.js CI
|
||||
on: [push]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '12.x'
|
||||
- run: npm install
|
||||
- run: npm run build
|
||||
- run: npm test
|
||||
```
|
||||
{% endraw %}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
### Next steps
|
||||
|
||||
To continue learning about the main features of {% data variables.product.prodname_actions %}, see "[Learn {% data variables.product.prodname_actions %}](/actions/learn-github-actions)."
|
||||
@@ -20,6 +20,7 @@ You can block a user in your account settings or from the user's profile. {% dat
|
||||
When you block a user:
|
||||
- The user stops following you
|
||||
- The user stops watching and unpins your repositories
|
||||
- The user is not able to join any organizations you are an owner of
|
||||
- The user's stars and issue assignments are removed from your repositories
|
||||
- The user's forks of your repositories are deleted
|
||||
- You delete any forks of the user's repositories
|
||||
|
||||
@@ -5,6 +5,7 @@ product: '{% data reusables.gated-features.enterprise-accounts %}'
|
||||
redirect_from:
|
||||
- /articles/about-github-business-accounts/
|
||||
- /articles/about-enterprise-accounts
|
||||
- /github/setting-up-and-managing-your-enterprise-account/about-enterprise-accounts
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
enterprise-server: '*'
|
||||
|
||||
@@ -4,6 +4,7 @@ intro: You can create new organizations to manage within your enterprise account
|
||||
product: '{% data reusables.gated-features.enterprise-accounts %}'
|
||||
redirect_from:
|
||||
- /articles/adding-organizations-to-your-enterprise-account
|
||||
- /github/setting-up-and-managing-your-enterprise-account/adding-organizations-to-your-enterprise-account
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
---
|
||||
|
||||
@@ -4,6 +4,7 @@ intro: 'You can use Security Assertion Markup Language (SAML) single sign-on (SS
|
||||
product: '{% data reusables.gated-features.enterprise-accounts %}'
|
||||
redirect_from:
|
||||
- /github/setting-up-and-managing-your-enterprise/configuring-single-sign-on-and-scim-for-your-enterprise-account-using-okta
|
||||
- /github/setting-up-and-managing-your-enterprise-account/configuring-saml-single-sign-on-and-scim-for-your-enterprise-account-using-okta
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
---
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
title: Configuring the retention period for GitHub Actions artifacts and logs in your enterprise account
|
||||
intro: 'Enterprise owners can configure the retention period for {% data variables.product.prodname_actions %} artifacts and logs in an enterprise account.'
|
||||
product: '{% data reusables.gated-features.enterprise-accounts %}'
|
||||
redirect_from:
|
||||
- /github/setting-up-and-managing-your-enterprise-account/configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-enterprise-account
|
||||
miniTocMaxHeadingLevel: 4
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
|
||||
@@ -5,6 +5,7 @@ product: '{% data reusables.gated-features.enterprise-accounts %}'
|
||||
redirect_from:
|
||||
- /articles/configuring-webhooks-for-organization-events-in-your-business-account/
|
||||
- /articles/configuring-webhooks-for-organization-events-in-your-enterprise-account
|
||||
- /github/setting-up-and-managing-your-enterprise-account/configuring-webhooks-for-organization-events-in-your-enterprise-account
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
---
|
||||
|
||||
@@ -5,6 +5,7 @@ product: '{% data reusables.gated-features.enterprise-accounts %}'
|
||||
redirect_from:
|
||||
- /articles/enforcing-a-policy-on-dependency-insights/
|
||||
- /articles/enforcing-a-policy-on-dependency-insights-in-your-enterprise-account
|
||||
- /github/setting-up-and-managing-your-enterprise-account/enforcing-a-policy-on-dependency-insights-in-your-enterprise-account
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
---
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
title: Enforcing GitHub Actions policies in your enterprise account
|
||||
intro: 'Enterprise owners can disable, enable, and limit {% data variables.product.prodname_actions %} for an enterprise account.'
|
||||
product: '{% data reusables.gated-features.enterprise-accounts %}'
|
||||
redirect_from:
|
||||
- /github/setting-up-and-managing-your-enterprise-account/enforcing-github-actions-policies-in-your-enterprise-account
|
||||
miniTocMaxHeadingLevel: 4
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
|
||||
@@ -6,6 +6,7 @@ redirect_from:
|
||||
- /articles/enforcing-project-board-settings-for-organizations-in-your-business-account/
|
||||
- /articles/enforcing-project-board-policies-for-organizations-in-your-enterprise-account/
|
||||
- /articles/enforcing-project-board-policies-in-your-enterprise-account
|
||||
- /github/setting-up-and-managing-your-enterprise-account/enforcing-project-board-policies-in-your-enterprise-account
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
---
|
||||
|
||||
@@ -6,6 +6,7 @@ redirect_from:
|
||||
- /articles/enforcing-repository-management-settings-for-organizations-in-your-business-account/
|
||||
- /articles/enforcing-repository-management-policies-for-organizations-in-your-enterprise-account/
|
||||
- /articles/enforcing-repository-management-policies-in-your-enterprise-account
|
||||
- /github/setting-up-and-managing-your-enterprise-account/enforcing-repository-management-policies-in-your-enterprise-account
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
---
|
||||
|
||||
@@ -8,6 +8,7 @@ redirect_from:
|
||||
- /articles/enforcing-security-settings-for-organizations-in-your-enterprise-account/
|
||||
- /articles/enforcing-security-settings-in-your-enterprise-account
|
||||
- /github/articles/managing-allowed-ip-addresses-for-organizations-in-your-enterprise-account
|
||||
- /github/setting-up-and-managing-your-enterprise-account/enforcing-security-settings-in-your-enterprise-account
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
---
|
||||
|
||||
@@ -6,6 +6,7 @@ redirect_from:
|
||||
- /articles/enforcing-team-settings-for-organizations-in-your-business-account/
|
||||
- /articles/enforcing-team-policies-for-organizations-in-your-enterprise-account/
|
||||
- /articles/enforcing-team-policies-in-your-enterprise-account
|
||||
- /github/setting-up-and-managing-your-enterprise-account/enforcing-team-policies-in-your-enterprise-account
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
---
|
||||
|
||||
@@ -5,6 +5,7 @@ redirect_from:
|
||||
- /github/setting-up-and-managing-your-enterprise/managing-licenses-for-the-github-enterprise-and-visual-studio-bundle
|
||||
- /github/articles/about-the-github-and-visual-studio-bundle
|
||||
- /articles/about-the-github-and-visual-studio-bundle
|
||||
- /github/setting-up-and-managing-your-enterprise-account/managing-licenses-for-visual-studio-subscription-with-github-enterprise
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
---
|
||||
|
||||
@@ -4,7 +4,7 @@ product: '{% data reusables.gated-features.enterprise-accounts %}'
|
||||
mapTopic: true
|
||||
redirect_from:
|
||||
- /articles/managing-organizations-in-your-enterprise-account
|
||||
- /github/setting-up-and-managing-your-enterprise-account/managing-organizations-in-your-enterprise-account
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
---
|
||||
|
||||
|
||||
@@ -3,6 +3,8 @@ title: Managing unowned organizations in your enterprise account
|
||||
intro: You can become an owner of an organization in your enterprise account that currently has no owners.
|
||||
product: '{% data reusables.gated-features.enterprise-accounts %}'
|
||||
permissions: Enterprise owners can manage unowned organizations in an enterprise account.
|
||||
redirect_from:
|
||||
- /github/setting-up-and-managing-your-enterprise-account/managing-unowned-organizations-in-your-enterprise-account
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
---
|
||||
|
||||
@@ -4,6 +4,7 @@ product: '{% data reusables.gated-features.enterprise-accounts %}'
|
||||
mapTopic: true
|
||||
redirect_from:
|
||||
- /github/setting-up-and-managing-your-enterprise/managing-users-in-your-enterprise-account
|
||||
- /github/setting-up-and-managing-your-enterprise-account/managing-users-in-your-enterprise-account
|
||||
- /articles/managing-users-in-your-enterprise-account
|
||||
- /articles/managing-users-in-your-enterprise
|
||||
versions:
|
||||
@@ -11,4 +12,3 @@ versions:
|
||||
enterprise-server: '*'
|
||||
github-ae: '*'
|
||||
---
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ product: '{% data reusables.gated-features.enterprise-accounts %}'
|
||||
mapTopic: true
|
||||
redirect_from:
|
||||
- /articles/setting-policies-for-organizations-in-your-enterprise-account
|
||||
- /github/setting-up-and-managing-your-enterprise-account/setting-policies-for-organizations-in-your-enterprise-account
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
---
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ permissions: Enterprise owners can view and manage a member's SAML access to an
|
||||
product: '{% data reusables.gated-features.enterprise-accounts %}'
|
||||
redirect_from:
|
||||
- /github/setting-up-and-managing-your-enterprise/viewing-and-managing-a-users-saml-access-to-your-enterprise-account
|
||||
- /github/setting-up-and-managing-your-enterprise-account/viewing-and-managing-a-users-saml-access-to-your-enterprise-account
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
---
|
||||
|
||||
@@ -5,6 +5,7 @@ product: '{% data reusables.gated-features.enterprise-accounts %}'
|
||||
redirect_from:
|
||||
- /articles/viewing-the-audit-logs-for-organizations-in-your-business-account/
|
||||
- /articles/viewing-the-audit-logs-for-organizations-in-your-enterprise-account
|
||||
- /github/setting-up-and-managing-your-enterprise-account/viewing-the-audit-logs-for-organizations-in-your-enterprise-account
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
---
|
||||
|
||||
@@ -5,9 +5,7 @@ product: '{% data reusables.gated-features.github-insights %}'
|
||||
redirect_from:
|
||||
- /github/installing-and-configuring-github-insights/github-insights-and-data-protection-for-your-organization
|
||||
versions:
|
||||
free-pro-team: '*'
|
||||
enterprise-server: '*'
|
||||
github-ae: '*'
|
||||
---
|
||||
|
||||
For more information about the terms that govern {% data variables.product.prodname_insights %}, see your {% data variables.product.prodname_ghe_one %} subscription agreement.
|
||||
|
||||
@@ -194,7 +194,6 @@ In addition to the non-public user account information and account access logs m
|
||||
- Any security keys used for authentication or encryption
|
||||
|
||||
- <a name="in-exigent-circumstances"></a>
|
||||
|
||||
**Under exigent circumstances** —
|
||||
If we receive a request for information under certain exigent circumstances (where we believe the disclosure is necessary to prevent an emergency involving danger of death or serious physical injury to a person), we may disclose limited information that we determine necessary to enable law enforcement to address the emergency. For any information beyond that, we would require a subpoena, search warrant, or court order, as described above. For example, we will not disclose contents of private repositories without a search warrant. Before disclosing information, we confirm that the request came from a law enforcement agency, an authority sent an official notice summarizing the emergency, and how the information requested will assist in addressing the emergency.
|
||||
|
||||
|
||||
@@ -11,13 +11,12 @@ versions:
|
||||
|
||||
<div class="jumbotron libraries-jumbotron">
|
||||
<img src="/assets/images/gundamcat.png" class="gundamcat" alt="The Gundamcat" />
|
||||
<h1>Octokit comes in<br />
|
||||
many flavors</h1>
|
||||
<h1>Octokit comes in many flavors</h1>
|
||||
<p class="lead">Use the official Octokit library, or choose between any of the available third party libraries.</p>
|
||||
<div class="octokit-links">
|
||||
<div class="octokit-language"><span>Ruby</span> <a href="https://github.com/octokit/octokit.rb">octokit.rb</a></div>
|
||||
<div class="octokit-language"><span>.NET</span> <a href="https://github.com/octokit/octokit.net">octokit.net</a></div>
|
||||
<div class="octokit-language"><span>JavaScript</span> <a href="https://github.com/octokit/rest.js">octokit/rest.js</a></div>
|
||||
<div class="octokit-links"><br/>
|
||||
<div class="octokit-language"> <span>Ruby → </span><a href="https://github.com/octokit/octokit.rb">octokit.rb</a></div><br/>
|
||||
<div class="octokit-language"><span>.NET → </span> <a href="https://github.com/octokit/octokit.net">octokit.net</a></div><br/>
|
||||
<div class="octokit-language"><span>JavaScript → </span> <a href="https://github.com/octokit/rest.js">octokit/rest.js</a></div><br/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -25,141 +24,118 @@ versions:
|
||||
|
||||
### Clojure
|
||||
|
||||
* [Tentacles][tentacles]
|
||||
|
||||
[tentacles]: https://github.com/Raynes/tentacles
|
||||
Library name | Repository
|
||||
|---|---|
|
||||
**Tentacles**| [Raynes/tentacles](https://github.com/Raynes/tentacles)
|
||||
|
||||
### Dart
|
||||
|
||||
* [github.dart][github.dart]
|
||||
|
||||
[github.dart]: https://github.com/DirectMyFile/github.dart
|
||||
Library name | Repository
|
||||
|---|---|
|
||||
**github.dart** | [DirectMyFile/github.dart](https://github.com/DirectMyFile/github.dart)
|
||||
|
||||
### Emacs Lisp
|
||||
|
||||
* [gh.el][gh.el]
|
||||
|
||||
[gh.el]: https://github.com/sigma/gh.el
|
||||
Library name | Repository
|
||||
|---|---|
|
||||
**gh.el** | [sigma/gh.el](https://github.com/sigma/gh.el)
|
||||
|
||||
### Erlang
|
||||
|
||||
* [octo.erl][octo-erl]
|
||||
|
||||
[octo-erl]: https://github.com/sdepold/octo.erl
|
||||
Library name | Repository
|
||||
|---|---|
|
||||
**octo-erl** | [sdepold/octo.erl](https://github.com/sdepold/octo.erl)
|
||||
|
||||
### Go
|
||||
|
||||
* [go-github][]
|
||||
|
||||
[go-github]: https://github.com/google/go-github
|
||||
Library name | Repository
|
||||
|---|---|
|
||||
**go-github**| [google/go-github](https://github.com/google/go-github)
|
||||
|
||||
### Haskell
|
||||
|
||||
* [github][haskell-github]
|
||||
|
||||
[haskell-github]: https://github.com/fpco/GitHub
|
||||
Library name | Repository
|
||||
|---|---|
|
||||
**haskell-github** | [fpco/Github](https://github.com/fpco/GitHub)
|
||||
|
||||
### Java
|
||||
|
||||
* The [GitHub Java API (org.eclipse.egit.github.core)](https://github.com/eclipse/egit-github/tree/master/org.eclipse.egit.github.core) library
|
||||
is part of the [GitHub Mylyn Connector](https://github.com/eclipse/egit-github) and aims to support the entire
|
||||
GitHub v3 API. Builds are available in [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22org.eclipse.egit.github.core%22).
|
||||
* [GitHub API for Java (org.kohsuke.github)](http://github-api.kohsuke.org/) defines an object oriented representation of the GitHub API.
|
||||
* [JCabi GitHub API](http://github.jcabi.com) is based on Java7 JSON API (JSR-353), simplifies tests with a runtime GitHub stub, and
|
||||
covers the entire API.
|
||||
Library name | Repository | More information
|
||||
|---|---|---|
|
||||
**GitHub Java API**| [org.eclipse.egit.github.core](https://github.com/eclipse/egit-github/tree/master/org.eclipse.egit.github.core) | Is part of the [GitHub Mylyn Connector](https://github.com/eclipse/egit-github) and aims to support the entire GitHub v3 API. Builds are available in [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22org.eclipse.egit.github.core%22).
|
||||
**GitHub API for Java**| [org.kohsuke.github (From github-api)](http://github-api.kohsuke.org/)|defines an object oriented representation of the GitHub API.
|
||||
**JCabi GitHub API**|[github.jcabi.com (Personal Website)](http://github.jcabi.com)|is based on Java7 JSON API (JSR-353), simplifies tests with a runtime GitHub stub, and covers the entire API.
|
||||
|
||||
### JavaScript
|
||||
|
||||
* [NodeJS GitHub library][octonode]
|
||||
* [gh3 client-side API v3 wrapper][gh3]
|
||||
* [GitHub.js wrapper around the GitHub API][github]
|
||||
* [Promise-Based CoffeeScript library for the browser or NodeJS][github-client]
|
||||
|
||||
[octonode]: https://github.com/pksunkara/octonode
|
||||
[gh3]: https://github.com/k33g/gh3
|
||||
[github]: https://github.com/michael/github
|
||||
[github-client]: https://github.com/philschatz/github-client
|
||||
Library name | Repository |
|
||||
|---|---|
|
||||
**NodeJS GitHub library**| [pksunkara/octonode](https://github.com/pksunkara/octonode)
|
||||
**gh3 client-side API v3 wrapper**| [k33g/gh3](https://github.com/k33g/gh3)
|
||||
**Github.js wrapper around the GitHub API**|[michael/github](https://github.com/michael/github)
|
||||
**Promise-Based CoffeeScript library for the Browser or NodeJS**|[philschatz/github-client](https://github.com/philschatz/github-client)
|
||||
|
||||
### Julia
|
||||
|
||||
* [GitHub.jl][github.jl]
|
||||
|
||||
[github.jl]: https://github.com/WestleyArgentum/GitHub.jl
|
||||
Library name | Repository |
|
||||
|---|---|
|
||||
**Github.jl**|[WestleyArgentum/Github.jl](https://github.com/WestleyArgentum/GitHub.jl)
|
||||
|
||||
### OCaml
|
||||
|
||||
* [ocaml-github][ocaml-github]
|
||||
|
||||
[ocaml-github]: https://github.com/mirage/ocaml-github
|
||||
Library name | Repository |
|
||||
|---|---|
|
||||
**ocaml-github**|[mirage/ocaml-github](https://github.com/mirage/ocaml-github)
|
||||
|
||||
### Perl
|
||||
|
||||
* [Pithub][pithub-github] ([CPAN][pithub-cpan])
|
||||
* [Net::GitHub][net-github-github] ([CPAN][net-github-cpan])
|
||||
|
||||
[net-github-github]: https://github.com/fayland/perl-net-github
|
||||
[net-github-cpan]: https://metacpan.org/pod/Net::GitHub
|
||||
[pithub-github]: https://github.com/plu/Pithub
|
||||
[pithub-cpan]: http://metacpan.org/module/Pithub
|
||||
Library name | Repository | metacpan Website for the Library
|
||||
|---|---|---|
|
||||
**Pithub**|[plu/Pithub](https://github.com/plu/Pithub)|[Pithub CPAN](http://metacpan.org/module/Pithub)
|
||||
**Net::Github**|[fayland/perl-net-github](https://github.com/fayland/perl-net-github)|[Net:Github CPAN](https://metacpan.org/pod/Net::GitHub)
|
||||
|
||||
### PHP
|
||||
|
||||
* [GitHub PHP Client][github-php-client]
|
||||
* [PHP GitHub API][php-github-api]
|
||||
* [GitHub API][github-api]
|
||||
* [GitHub Joomla! Package][joomla]
|
||||
* [Github Nette Extension][kdyby-github]
|
||||
* [GitHub API Easy Access][milo-github-api]
|
||||
* [GitHub bridge for Laravel][github-laravel]
|
||||
* [PHP5.6|PHP7 Client & WebHook wrapper][flexyproject-githubapi]
|
||||
|
||||
[github-php-client]: https://github.com/tan-tan-kanarek/github-php-client
|
||||
[php-github-api]: https://github.com/KnpLabs/php-github-api
|
||||
[github-api]: https://github.com/yiiext/github-api
|
||||
[joomla]: https://github.com/joomla-framework/github-api
|
||||
[kdyby-github]: https://github.com/kdyby/github
|
||||
[milo-github-api]: https://github.com/milo/github-api
|
||||
[github-laravel]: https://github.com/GrahamCampbell/Laravel-GitHub
|
||||
[flexyproject-githubapi]: https://github.com/FlexyProject/GitHubAPI
|
||||
Library name | Repository
|
||||
|---|---|
|
||||
**GitHub PHP Client**|[tan-tan-kanarek/github-php-client](https://github.com/tan-tan-kanarek/github-php-client)
|
||||
**PHP GitHub API**|[KnpLabs/php-github-api](https://github.com/KnpLabs/php-github-api)
|
||||
**GitHub API**|[yiiext/github-api](https://github.com/yiiext/github-api)
|
||||
**GitHub Joomla! Package**|[joomla-framework/github-api](https://github.com/joomla-framework/github-api)
|
||||
**GitHub Nette Extension**|[kdyby/github](https://github.com/kdyby/github)
|
||||
**GitHub API Easy Access**|[milo/github-api](https://github.com/milo/github-api)
|
||||
**GitHub bridge for Laravel**|[GrahamCampbell/Laravel-Github](https://github.com/GrahamCampbell/Laravel-GitHub)
|
||||
**PHP7 Client & WebHook wrapper**|[FlexyProject/GithubAPI](https://github.com/FlexyProject/GitHubAPI)
|
||||
|
||||
### Python
|
||||
|
||||
* [PyGithub][jacquev6_pygithub]
|
||||
* [libsaas][libsaas]
|
||||
* [github3.py][github3py]
|
||||
* [sanction][sanction]
|
||||
* [agithub][agithub]
|
||||
* [octohub][octohub]
|
||||
* [Github-Flask][github-flask]
|
||||
* [torngithub][torngithub]
|
||||
|
||||
[jacquev6_pygithub]: https://github.com/PyGithub/PyGithub
|
||||
[libsaas]: https://github.com/ducksboard/libsaas
|
||||
[github3py]: https://github.com/sigmavirus24/github3.py
|
||||
[sanction]: https://github.com/demianbrecht/sanction
|
||||
[agithub]: https://github.com/jpaugh/agithub "Agnostic GitHub"
|
||||
[octohub]: https://github.com/turnkeylinux/octohub
|
||||
[github-flask]: http://github-flask.readthedocs.org
|
||||
[torngithub]: https://github.com/jkeylu/torngithub
|
||||
Library name | Repository
|
||||
|---|---|
|
||||
**PyGithub**|[PyGithub/PyGithub](https://github.com/PyGithub/PyGithub)
|
||||
**libsaas**|[duckboard/libsaas](https://github.com/ducksboard/libsaas)
|
||||
**github3.py**|[sigmavirus24/github3.py](https://github.com/sigmavirus24/github3.py)
|
||||
**sanction**|[demianbrecht/sanction](https://github.com/demianbrecht/sanction)
|
||||
**agithub**|[jpaugh/agithub](https://github.com/jpaugh/agithub)
|
||||
**octohub**|[turnkeylinux/octohub](https://github.com/turnkeylinux/octohub)
|
||||
**github-flask**|[github-flask (Oficial Website)](http://github-flask.readthedocs.org)
|
||||
**torngithub**|[jkeylu/torngithub](https://github.com/jkeylu/torngithub)
|
||||
|
||||
### Ruby
|
||||
|
||||
* [GitHub API Gem][ghapi]
|
||||
* [Ghee][ghee]
|
||||
|
||||
[ghapi]: https://github.com/peter-murach/github
|
||||
[ghee]: https://github.com/rauhryan/ghee
|
||||
Library name | Repository
|
||||
|---|---|
|
||||
**GitHub API Gem**|[peter-murach/github](https://github.com/peter-murach/github)
|
||||
**Ghee**|[rauhryan/ghee](https://github.com/rauhryan/ghee)
|
||||
|
||||
### Scala
|
||||
|
||||
* [Hubcat][hubcat]
|
||||
* [Github4s][github4s]
|
||||
|
||||
[hubcat]: https://github.com/softprops/hubcat
|
||||
[Github4s]: https://github.com/47deg/github4s
|
||||
Library name | Repository
|
||||
|---|---|
|
||||
**Hubcat**|[softprops/hubcat](https://github.com/softprops/hubcat)
|
||||
**Github4s**|[47deg/github4s](https://github.com/47deg/github4s)
|
||||
|
||||
### Shell
|
||||
|
||||
* [ok.sh][ok.sh]
|
||||
|
||||
[ok.sh]: https://github.com/whiteinge/ok.sh
|
||||
Library name | Repository
|
||||
|---|---|
|
||||
**ok.sh**|[whiteinge/ok.sh](https://github.com/whiteinge/ok.sh)
|
||||
|
||||
@@ -66,18 +66,6 @@ upcoming_changes:
|
||||
date: '2020-10-01T00:00:00+00:00'
|
||||
criticality: breaking
|
||||
owner: mikesea
|
||||
- location: RepositoryCollaboratorEdge.permission
|
||||
description: Type for `permission` will change from `RepositoryPermission!` to `String`.
|
||||
reason: This field may return additional values
|
||||
date: '2020-10-01T00:00:00+00:00'
|
||||
criticality: breaking
|
||||
owner: oneill38
|
||||
- location: RepositoryInvitation.permission
|
||||
description: Type for `permission` will change from `RepositoryPermission!` to `String`.
|
||||
reason: This field may return additional values
|
||||
date: '2020-10-01T00:00:00+00:00'
|
||||
criticality: breaking
|
||||
owner: oneill38
|
||||
- location: RepositoryInvitationOrderField.INVITEE_LOGIN
|
||||
description: "`INVITEE_LOGIN` will be removed."
|
||||
reason: "`INVITEE_LOGIN` is no longer a valid field value. Repository invitations
|
||||
@@ -91,12 +79,6 @@ upcoming_changes:
|
||||
date: '2020-10-01T00:00:00+00:00'
|
||||
criticality: breaking
|
||||
owner: nholden
|
||||
- location: TeamRepositoryEdge.permission
|
||||
description: Type for `permission` will change from `RepositoryPermission!` to `String`.
|
||||
reason: This field may return additional values
|
||||
date: '2020-10-01T00:00:00+00:00'
|
||||
criticality: breaking
|
||||
owner: oneill38
|
||||
- location: EnterpriseMemberEdge.isUnlicensed
|
||||
description: "`isUnlicensed` will be removed."
|
||||
reason: All members consume a license
|
||||
|
||||
@@ -1180,6 +1180,16 @@ type Bot implements Actor & Node & UniformResourceLocatable {
|
||||
A branch protection rule.
|
||||
"""
|
||||
type BranchProtectionRule implements Node {
|
||||
"""
|
||||
Can this branch be deleted.
|
||||
"""
|
||||
allowsDeletions: Boolean!
|
||||
|
||||
"""
|
||||
Are force pushes allowed on this branch.
|
||||
"""
|
||||
allowsForcePushes: Boolean!
|
||||
|
||||
"""
|
||||
A list of conflicts matching branches protection rule and other branch protection rules
|
||||
"""
|
||||
@@ -1316,6 +1326,11 @@ type BranchProtectionRule implements Node {
|
||||
"""
|
||||
requiresCommitSignatures: Boolean!
|
||||
|
||||
"""
|
||||
Are merge commits prohibited from being pushed to this branch.
|
||||
"""
|
||||
requiresLinearHistory: Boolean!
|
||||
|
||||
"""
|
||||
Are status checks required to update matching branches.
|
||||
"""
|
||||
@@ -27827,10 +27842,6 @@ type RepositoryCollaboratorEdge {
|
||||
|
||||
"""
|
||||
The permission the user has on the repository.
|
||||
|
||||
**Upcoming Change on 2020-10-01 UTC**
|
||||
**Description:** Type for `permission` will change from `RepositoryPermission!` to `String`.
|
||||
**Reason:** This field may return additional values
|
||||
"""
|
||||
permission: RepositoryPermission!
|
||||
|
||||
@@ -28117,10 +28128,6 @@ type RepositoryInvitation implements Node {
|
||||
|
||||
"""
|
||||
The permission granted on this repository by this invitation.
|
||||
|
||||
**Upcoming Change on 2020-10-01 UTC**
|
||||
**Description:** Type for `permission` will change from `RepositoryPermission!` to `String`.
|
||||
**Reason:** This field may return additional values
|
||||
"""
|
||||
permission: RepositoryPermission!
|
||||
|
||||
@@ -32583,10 +32590,6 @@ type TeamRepositoryEdge {
|
||||
|
||||
"""
|
||||
The permission level the team has on the repository
|
||||
|
||||
**Upcoming Change on 2020-10-01 UTC**
|
||||
**Description:** Type for `permission` will change from `RepositoryPermission!` to `String`.
|
||||
**Reason:** This field may return additional values
|
||||
"""
|
||||
permission: RepositoryPermission!
|
||||
}
|
||||
|
||||
@@ -73,18 +73,6 @@ upcoming_changes:
|
||||
date: '2020-10-01T00:00:00+00:00'
|
||||
criticality: breaking
|
||||
owner: mikesea
|
||||
- location: RepositoryCollaboratorEdge.permission
|
||||
description: Type for `permission` will change from `RepositoryPermission!` to `String`.
|
||||
reason: This field may return additional values
|
||||
date: '2020-10-01T00:00:00+00:00'
|
||||
criticality: breaking
|
||||
owner: oneill38
|
||||
- location: RepositoryInvitation.permission
|
||||
description: Type for `permission` will change from `RepositoryPermission!` to `String`.
|
||||
reason: This field may return additional values
|
||||
date: '2020-10-01T00:00:00+00:00'
|
||||
criticality: breaking
|
||||
owner: oneill38
|
||||
- location: RepositoryInvitationOrderField.INVITEE_LOGIN
|
||||
description: "`INVITEE_LOGIN` will be removed."
|
||||
reason: "`INVITEE_LOGIN` is no longer a valid field value. Repository invitations
|
||||
@@ -98,12 +86,6 @@ upcoming_changes:
|
||||
date: '2020-10-01T00:00:00+00:00'
|
||||
criticality: breaking
|
||||
owner: nholden
|
||||
- location: TeamRepositoryEdge.permission
|
||||
description: Type for `permission` will change from `RepositoryPermission!` to `String`.
|
||||
reason: This field may return additional values
|
||||
date: '2020-10-01T00:00:00+00:00'
|
||||
criticality: breaking
|
||||
owner: oneill38
|
||||
- location: EnterpriseMemberEdge.isUnlicensed
|
||||
description: "`isUnlicensed` will be removed."
|
||||
reason: All members consume a license
|
||||
|
||||
@@ -1200,6 +1200,16 @@ type Bot implements Actor & Node & UniformResourceLocatable {
|
||||
A branch protection rule.
|
||||
"""
|
||||
type BranchProtectionRule implements Node {
|
||||
"""
|
||||
Can this branch be deleted.
|
||||
"""
|
||||
allowsDeletions: Boolean!
|
||||
|
||||
"""
|
||||
Are force pushes allowed on this branch.
|
||||
"""
|
||||
allowsForcePushes: Boolean!
|
||||
|
||||
"""
|
||||
A list of conflicts matching branches protection rule and other branch protection rules
|
||||
"""
|
||||
@@ -1336,6 +1346,11 @@ type BranchProtectionRule implements Node {
|
||||
"""
|
||||
requiresCommitSignatures: Boolean!
|
||||
|
||||
"""
|
||||
Are merge commits prohibited from being pushed to this branch.
|
||||
"""
|
||||
requiresLinearHistory: Boolean!
|
||||
|
||||
"""
|
||||
Are status checks required to update matching branches.
|
||||
"""
|
||||
@@ -29748,10 +29763,6 @@ type RepositoryCollaboratorEdge {
|
||||
|
||||
"""
|
||||
The permission the user has on the repository.
|
||||
|
||||
**Upcoming Change on 2020-10-01 UTC**
|
||||
**Description:** Type for `permission` will change from `RepositoryPermission!` to `String`.
|
||||
**Reason:** This field may return additional values
|
||||
"""
|
||||
permission: RepositoryPermission!
|
||||
|
||||
@@ -30033,10 +30044,6 @@ type RepositoryInvitation implements Node {
|
||||
|
||||
"""
|
||||
The permission granted on this repository by this invitation.
|
||||
|
||||
**Upcoming Change on 2020-10-01 UTC**
|
||||
**Description:** Type for `permission` will change from `RepositoryPermission!` to `String`.
|
||||
**Reason:** This field may return additional values
|
||||
"""
|
||||
permission: RepositoryPermission!
|
||||
|
||||
@@ -34897,10 +34904,6 @@ type TeamRepositoryEdge {
|
||||
|
||||
"""
|
||||
The permission level the team has on the repository
|
||||
|
||||
**Upcoming Change on 2020-10-01 UTC**
|
||||
**Description:** Type for `permission` will change from `RepositoryPermission!` to `String`.
|
||||
**Reason:** This field may return additional values
|
||||
"""
|
||||
permission: RepositoryPermission!
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -6606,6 +6606,22 @@
|
||||
}
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"name": "allowsDeletions",
|
||||
"description": "<p>Can this branch be deleted.</p>",
|
||||
"type": "Boolean!",
|
||||
"id": "boolean",
|
||||
"kind": "scalars",
|
||||
"href": "/graphql/reference/scalars#boolean"
|
||||
},
|
||||
{
|
||||
"name": "allowsForcePushes",
|
||||
"description": "<p>Are force pushes allowed on this branch.</p>",
|
||||
"type": "Boolean!",
|
||||
"id": "boolean",
|
||||
"kind": "scalars",
|
||||
"href": "/graphql/reference/scalars#boolean"
|
||||
},
|
||||
{
|
||||
"name": "branchProtectionRuleConflicts",
|
||||
"description": "<p>A list of conflicts matching branches protection rule and other branch protection rules.</p>",
|
||||
@@ -6854,6 +6870,14 @@
|
||||
"kind": "scalars",
|
||||
"href": "/graphql/reference/scalars#boolean"
|
||||
},
|
||||
{
|
||||
"name": "requiresLinearHistory",
|
||||
"description": "<p>Are merge commits prohibited from being pushed to this branch.</p>",
|
||||
"type": "Boolean!",
|
||||
"id": "boolean",
|
||||
"kind": "scalars",
|
||||
"href": "/graphql/reference/scalars#boolean"
|
||||
},
|
||||
{
|
||||
"name": "requiresStatusChecks",
|
||||
"description": "<p>Are status checks required to update matching branches.</p>",
|
||||
@@ -44354,7 +44378,7 @@
|
||||
},
|
||||
{
|
||||
"name": "permission",
|
||||
"description": "<p>The permission the user has on the repository.</p>\n<p><strong>Upcoming Change on 2020-10-01 UTC</strong>\n<strong>Description:</strong> Type for <code>permission</code> will change from <code>RepositoryPermission!</code> to <code>String</code>.\n<strong>Reason:</strong> This field may return additional values.</p>",
|
||||
"description": "<p>The permission the user has on the repository.</p>",
|
||||
"type": "RepositoryPermission!",
|
||||
"id": "repositorypermission",
|
||||
"kind": "enums",
|
||||
@@ -44525,7 +44549,7 @@
|
||||
},
|
||||
{
|
||||
"name": "permission",
|
||||
"description": "<p>The permission granted on this repository by this invitation.</p>\n<p><strong>Upcoming Change on 2020-10-01 UTC</strong>\n<strong>Description:</strong> Type for <code>permission</code> will change from <code>RepositoryPermission!</code> to <code>String</code>.\n<strong>Reason:</strong> This field may return additional values.</p>",
|
||||
"description": "<p>The permission granted on this repository by this invitation.</p>",
|
||||
"type": "RepositoryPermission!",
|
||||
"id": "repositorypermission",
|
||||
"kind": "enums",
|
||||
@@ -51056,7 +51080,7 @@
|
||||
},
|
||||
{
|
||||
"name": "permission",
|
||||
"description": "<p>The permission level the team has on the repository</p>\n<p><strong>Upcoming Change on 2020-10-01 UTC</strong>\n<strong>Description:</strong> Type for <code>permission</code> will change from <code>RepositoryPermission!</code> to <code>String</code>.\n<strong>Reason:</strong> This field may return additional values.</p>",
|
||||
"description": "<p>The permission level the team has on the repository.</p>",
|
||||
"type": "RepositoryPermission!",
|
||||
"id": "repositorypermission",
|
||||
"kind": "enums",
|
||||
|
||||
@@ -5996,6 +5996,22 @@
|
||||
}
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"name": "allowsDeletions",
|
||||
"description": "<p>Can this branch be deleted.</p>",
|
||||
"type": "Boolean!",
|
||||
"id": "boolean",
|
||||
"kind": "scalars",
|
||||
"href": "/graphql/reference/scalars#boolean"
|
||||
},
|
||||
{
|
||||
"name": "allowsForcePushes",
|
||||
"description": "<p>Are force pushes allowed on this branch.</p>",
|
||||
"type": "Boolean!",
|
||||
"id": "boolean",
|
||||
"kind": "scalars",
|
||||
"href": "/graphql/reference/scalars#boolean"
|
||||
},
|
||||
{
|
||||
"name": "branchProtectionRuleConflicts",
|
||||
"description": "<p>A list of conflicts matching branches protection rule and other branch protection rules.</p>",
|
||||
@@ -6244,6 +6260,14 @@
|
||||
"kind": "scalars",
|
||||
"href": "/graphql/reference/scalars#boolean"
|
||||
},
|
||||
{
|
||||
"name": "requiresLinearHistory",
|
||||
"description": "<p>Are merge commits prohibited from being pushed to this branch.</p>",
|
||||
"type": "Boolean!",
|
||||
"id": "boolean",
|
||||
"kind": "scalars",
|
||||
"href": "/graphql/reference/scalars#boolean"
|
||||
},
|
||||
{
|
||||
"name": "requiresStatusChecks",
|
||||
"description": "<p>Are status checks required to update matching branches.</p>",
|
||||
@@ -41603,7 +41627,7 @@
|
||||
},
|
||||
{
|
||||
"name": "permission",
|
||||
"description": "<p>The permission the user has on the repository.</p>\n<p><strong>Upcoming Change on 2020-10-01 UTC</strong>\n<strong>Description:</strong> Type for <code>permission</code> will change from <code>RepositoryPermission!</code> to <code>String</code>.\n<strong>Reason:</strong> This field may return additional values.</p>",
|
||||
"description": "<p>The permission the user has on the repository.</p>",
|
||||
"type": "RepositoryPermission!",
|
||||
"id": "repositorypermission",
|
||||
"kind": "enums",
|
||||
@@ -41774,7 +41798,7 @@
|
||||
},
|
||||
{
|
||||
"name": "permission",
|
||||
"description": "<p>The permission granted on this repository by this invitation.</p>\n<p><strong>Upcoming Change on 2020-10-01 UTC</strong>\n<strong>Description:</strong> Type for <code>permission</code> will change from <code>RepositoryPermission!</code> to <code>String</code>.\n<strong>Reason:</strong> This field may return additional values.</p>",
|
||||
"description": "<p>The permission granted on this repository by this invitation.</p>",
|
||||
"type": "RepositoryPermission!",
|
||||
"id": "repositorypermission",
|
||||
"kind": "enums",
|
||||
@@ -47929,7 +47953,7 @@
|
||||
},
|
||||
{
|
||||
"name": "permission",
|
||||
"description": "<p>The permission level the team has on the repository</p>\n<p><strong>Upcoming Change on 2020-10-01 UTC</strong>\n<strong>Description:</strong> Type for <code>permission</code> will change from <code>RepositoryPermission!</code> to <code>String</code>.\n<strong>Reason:</strong> This field may return additional values.</p>",
|
||||
"description": "<p>The permission level the team has on the repository.</p>",
|
||||
"type": "RepositoryPermission!",
|
||||
"id": "repositorypermission",
|
||||
"kind": "enums",
|
||||
|
||||
@@ -97,22 +97,6 @@
|
||||
"criticality": "breaking",
|
||||
"owner": "mikesea"
|
||||
},
|
||||
{
|
||||
"location": "RepositoryCollaboratorEdge.permission",
|
||||
"description": "<p>Type for <code>permission</code> will change from <code>RepositoryPermission!</code> to <code>String</code>.</p>",
|
||||
"reason": "<p>This field may return additional values</p>",
|
||||
"date": "2020-10-01",
|
||||
"criticality": "breaking",
|
||||
"owner": "oneill38"
|
||||
},
|
||||
{
|
||||
"location": "RepositoryInvitation.permission",
|
||||
"description": "<p>Type for <code>permission</code> will change from <code>RepositoryPermission!</code> to <code>String</code>.</p>",
|
||||
"reason": "<p>This field may return additional values</p>",
|
||||
"date": "2020-10-01",
|
||||
"criticality": "breaking",
|
||||
"owner": "oneill38"
|
||||
},
|
||||
{
|
||||
"location": "RepositoryInvitationOrderField.INVITEE_LOGIN",
|
||||
"description": "<p><code>INVITEE_LOGIN</code> will be removed.</p>",
|
||||
@@ -128,14 +112,6 @@
|
||||
"date": "2020-10-01",
|
||||
"criticality": "breaking",
|
||||
"owner": "nholden"
|
||||
},
|
||||
{
|
||||
"location": "TeamRepositoryEdge.permission",
|
||||
"description": "<p>Type for <code>permission</code> will change from <code>RepositoryPermission!</code> to <code>String</code>.</p>",
|
||||
"reason": "<p>This field may return additional values</p>",
|
||||
"date": "2020-10-01",
|
||||
"criticality": "breaking",
|
||||
"owner": "oneill38"
|
||||
}
|
||||
],
|
||||
"2021-01-01": [
|
||||
@@ -1811,22 +1787,6 @@
|
||||
"criticality": "breaking",
|
||||
"owner": "mikesea"
|
||||
},
|
||||
{
|
||||
"location": "RepositoryCollaboratorEdge.permission",
|
||||
"description": "<p>Type for <code>permission</code> will change from <code>RepositoryPermission!</code> to <code>String</code>.</p>",
|
||||
"reason": "<p>This field may return additional values</p>",
|
||||
"date": "2020-10-01",
|
||||
"criticality": "breaking",
|
||||
"owner": "oneill38"
|
||||
},
|
||||
{
|
||||
"location": "RepositoryInvitation.permission",
|
||||
"description": "<p>Type for <code>permission</code> will change from <code>RepositoryPermission!</code> to <code>String</code>.</p>",
|
||||
"reason": "<p>This field may return additional values</p>",
|
||||
"date": "2020-10-01",
|
||||
"criticality": "breaking",
|
||||
"owner": "oneill38"
|
||||
},
|
||||
{
|
||||
"location": "RepositoryInvitationOrderField.INVITEE_LOGIN",
|
||||
"description": "<p><code>INVITEE_LOGIN</code> will be removed.</p>",
|
||||
@@ -1842,14 +1802,6 @@
|
||||
"date": "2020-10-01",
|
||||
"criticality": "breaking",
|
||||
"owner": "nholden"
|
||||
},
|
||||
{
|
||||
"location": "TeamRepositoryEdge.permission",
|
||||
"description": "<p>Type for <code>permission</code> will change from <code>RepositoryPermission!</code> to <code>String</code>.</p>",
|
||||
"reason": "<p>This field may return additional values</p>",
|
||||
"date": "2020-10-01",
|
||||
"criticality": "breaking",
|
||||
"owner": "oneill38"
|
||||
}
|
||||
],
|
||||
"2021-01-01": [
|
||||
|
||||
8
package-lock.json
generated
8
package-lock.json
generated
@@ -1156,9 +1156,9 @@
|
||||
}
|
||||
},
|
||||
"@github/rest-api-operations": {
|
||||
"version": "3.3.2",
|
||||
"resolved": "https://registry.npmjs.org/@github/rest-api-operations/-/rest-api-operations-3.3.2.tgz",
|
||||
"integrity": "sha512-0AYobx/iwl1RKrjOi/c/g+kB7u8WlgzBu9lpU1QnoXJJyi/NoBSxF4bAGJyPeG3hm+3izL3U7dpVOtq04X66rw=="
|
||||
"version": "3.6.1",
|
||||
"resolved": "https://registry.npmjs.org/@github/rest-api-operations/-/rest-api-operations-3.6.1.tgz",
|
||||
"integrity": "sha512-tMbNFpAIxwalH46AIZGLM+6s1bP4B65lIaRZcDOrqpHbsDDRhO4fGklxqk2CfPz8goRRBETppKqOnhSmEPnADQ=="
|
||||
},
|
||||
"@hapi/address": {
|
||||
"version": "2.1.4",
|
||||
@@ -7297,7 +7297,7 @@
|
||||
},
|
||||
"load-json-file": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "http://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz",
|
||||
"resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz",
|
||||
"integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"@github-docs/data-directory": "^1.2.0",
|
||||
"@github-docs/frontmatter": "^1.3.1",
|
||||
"@github-docs/render-content": "^5.2.0",
|
||||
"@github/rest-api-operations": "^3.3.2",
|
||||
"@github/rest-api-operations": "^3.6.1",
|
||||
"@octokit/rest": "^16.38.1",
|
||||
"@primer/css": "^15.1.0",
|
||||
"@primer/octicons": "^11.0.0",
|
||||
|
||||
Reference in New Issue
Block a user