1
0
mirror of synced 2025-12-21 10:57:10 -05:00

Merge branch 'main' into codespaces-insider

This commit is contained in:
PSJ
2021-11-08 12:04:16 +05:30
committed by GitHub
5633 changed files with 1845 additions and 355119 deletions

View File

@@ -13,6 +13,7 @@ module.exports = {
babelOptions: { configFile: './.babelrc' },
sourceType: 'module',
},
ignorePatterns: ['tmp/*'],
rules: {
'import/no-extraneous-dependencies': ['error', { packageDir: '.' }],
},

View File

@@ -25,7 +25,7 @@ Closes [issue link]
### Check off the following:
- [ ] I have reviewed my changes in staging (look for "Automatically generated comment" and click **Modified** to view your latest changes).
- [ ] For content changes, I have completed the [self-review checklist](https://github.com/github/docs/blob/main/CONTRIBUTING.md#self-review).
- [ ] For content changes, I have completed the [self-review checklist](https://github.com/github/docs/blob/main/contributing/self-review.md#self-review).
### Writer impact (This section is for GitHub staff members only):

View File

@@ -12,8 +12,7 @@ export default [
'actions/upload-artifact@27121b0bdffd731efa15d66772be8dc71245d074', // v2.2.4
'alex-page/github-project-automation-plus@bb266ff4dde9242060e2d5418e120a133586d488', // v0.8.1
'andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90', // v1.0.4
'crowdin/github-action@d7f217268068f1244883a993379d62d816f84f25', // v1.4.0
'crykn/copy_folder_to_another_repo_action@0282e8b9fef06de92ddcae9fe6cb44df6226646c',
'crowdin/github-action@d0622816ed4f4744db27d04374b2cef6867f7bed', // v1.4.1
'cschleiden/actions-linter@caffd707beda4fc6083926a3dff48444bc7c24aa', // uses github-actions-parser v0.23.0
'dawidd6/action-delete-branch@47743101a121ad657031e6704086271ca81b1911', // v3.0.2
'dawidd6/action-download-artifact@af92a8455a59214b7b932932f2662fdefbd78126', // v2.15.0

View File

@@ -27,8 +27,13 @@ jobs:
- name: Remove unwanted git hooks
run: rm .git/hooks/post-checkout
- name: Remove all translations
run: |
git rm -rf --quiet translations/*/content
git rm -rf --quiet translations/*/data
- name: Sync
uses: crowdin/github-action@d7f217268068f1244883a993379d62d816f84f25
uses: crowdin/github-action@d0622816ed4f4744db27d04374b2cef6867f7bed
with:
# This option enables the transfer of existing translations in this project to Crowdin.
# We explicitly set this to `false` since we only want to use the downloaded translations managed by Crowdin.

View File

@@ -2,7 +2,7 @@ name: Site policy sync
# **What it does**: Updates our site-policy repo when changes happen to site policy docs.
# **Why we have it**: We want keep site-policy repo up to date.
# **Who does it impact**: Site-policy team.
# **Who does it impact**: site-policy-admins and Developer Policy teams.
# Controls when the action will run.
on:
@@ -14,40 +14,67 @@ on:
- closed
paths:
- 'content/github/site-policy/**'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
copy-file:
sync:
name: Get the latest docs
if: >-
github.event.pull_request.merged == true &&
github.repository == 'github/docs-internal'
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
permissions:
contents: write
pull-requests: write
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97
# Sets commit message
- name: custom message
run: |
echo "MESSAGE=${{github.event.pull_request.title}}" >> $GITHUB_ENV
- name: checkout docs-internal
uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97
# Pushes to other repo
- name: Push folder to another repository
uses: crykn/copy_folder_to_another_repo_action@0282e8b9fef06de92ddcae9fe6cb44df6226646c
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_SITEPOLICY }}
- name: checkout public site-policy
uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97
with:
source_folder: 'content/github/site-policy'
destination_repo: 'github/site-policy'
destination_branch: 'main'
destination_branch_create: 'repo-sync'
destination_folder: 'Policies'
user_email: 'site-policy-bot@users.noreply.github.com'
user_name: 'site-policy-bot'
commit_msg: '${{ env.MESSAGE }}'
repository: github/site-policy
token: ${{ secrets.API_TOKEN_SITEPOLICY }}
fetch-depth: ''
path: public-repo
- name: Commits internal policies to copy of public repo with descriptive message from triggering PR title
run: |
cd public-repo
git config --local user.name 'site-policy-bot'
git config --local user.email 'site-policy-bot@github.com'
rm -rf Policies
cp -r ../content/github/site-policy Policies
git status
git checkout -b automated-sync-$GITHUB_RUN_ID
git add .
PR_TITLE=${{ github.event.pull_request.title }}
[[ ! -z $PR_TITLE ]] && DESCRIPTION="${PR_TITLE}" || DESCRIPTION="Update manually triggered by workflow"
echo "DESCRIPTION=$DESCRIPTION" >> $GITHUB_ENV
git commit -m "$(echo $DESCRIPTION)"
- name: If there are changes to push, create a pull request in the public repo using the gh command line tool, then immediately merge the PR and delete the branch
id: createAndMergePullRequest
env:
GITHUB_TOKEN: ${{ secrets.API_TOKEN_SITEPOLICY }}
run: |
cd public-repo
git config --local user.name 'site-policy-bot'
git config --local user.email 'site-policy-bot@github.com'
DIFF=$(git diff --name-status --summary HEAD^..HEAD)
NUM_FILES_CHANGED=$(git diff --name-only HEAD^..HEAD | wc -l)
[[ $NUM_FILES_CHANGED -ge 2 ]] && TITLE="Sync changes from GitHub Docs" || TITLE=$(echo $DIFF | sed -e 's/^A\s/Added /g;s/^D\s/Deleted /g;s/^C\s/Copied /g;s/^M\s/Modified /g;s/^R100\s/Renamed /g;')
if [[ ! -z $TITLE ]]
then
echo -e "This is an automated pull request to sync changes from GitHub Docs.\n\nDiff summary:\n\n${DIFF}" > msg
git push --set-upstream origin automated-sync-$GITHUB_RUN_ID
PR_URL=$(gh pr create --title "${TITLE}" --body-file msg --head automated-sync-$GITHUB_RUN_ID --base main --repo github/site-policy)
gh pr diff ${PR_URL}
gh pr merge ${PR_URL} --merge --delete-branch
else
echo "No updates to push to the public repo"
fi
- name: Delete remote updates branch if previous step failed
if: failure() && steps.createAndMergePullRequest.outcome == 'failure'
run: git push github/site-policy --delete automated-sync-$GITHUB_RUN_ID

View File

@@ -101,12 +101,13 @@ jobs:
- name: Delete heavy things we won't need deployed
run: |
# Non-WIP translations we don't support yet.
rm -fr translations/de* translations/ru* translations/ko* translations/ru*
# Not needed to run after having been built.
rm -fr .next/cache
# The dereferenced file is not used in runtime once the
# decorated file has been created from it.
rm -fr lib/rest/static/dereferenced
- name: Create an archive
run: |
tar -c --file=app.tar \

View File

@@ -23,7 +23,17 @@ jobs:
strategy:
fail-fast: false
matrix:
test-group: [content, graphql, meta, rendering, routing, unit, linting]
test-group:
[
content,
graphql,
meta,
rendering,
routing,
unit,
linting,
translations,
]
steps:
- name: Check out repo
uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97

View File

@@ -26,7 +26,17 @@ jobs:
fail-fast: false
matrix:
# The same array lives in test-windows.yml, so make any updates there too.
test-group: [content, graphql, meta, rendering, routing, unit, linting]
test-group:
[
content,
graphql,
meta,
rendering,
routing,
unit,
linting,
translations,
]
steps:
# Each of these ifs needs to be repeated at each step to make sure the required check still runs
# Even if if doesn't do anything

View File

@@ -8,21 +8,21 @@ Use the table of contents icon <img src="./assets/images/table-of-contents.png"
## Contributing
See [the contributing guide](CONTRIBUTING.md) for detailed instructions of how to get started with our project.
See [the contributing guide](CONTRIBUTING.md) for detailed instructions on how to get started with our project.
We accept different [types of contributions](CONTRIBUTING.md/#types-of-contributions-memo), including some that don't require you to write a single line of code.
We accept different [types of contributions](https://github.com/github/docs/blob/main/contributing/types-of-contributions.md), including some that don't require you to write a single line of code.
On the GitHub Docs site, you can click the make a contribution button to open a PR for quick fixes like typos, updates, or link fixes.
On the GitHub Docs site, you can click the make a contribution button to open a PR(Pull Request) for quick fixes like typos, updates, or link fixes.
<img src="./assets/images/contribution_cta.png" width="400">
For more complex contributions, you can open an issue using the most appropriate [issue template](https://github.com/github/docs/issues/new/choose) to describe the changes you'd like to see.
For more complex contributions, you can open an issue using the most appropriate [issue template](https://github.com/github/docs/issues/new/choose) to describe the changes you'd like to see. By this way you can also be a part of Open source contributor's community without even writing a single line of code.
If you're looking for a way to contribute, you can scan through our [existing issues](https://github.com/github/docs/issues) for something to work on. When ready, check out [Getting Started with Contributing](/CONTRIBUTING.md) for detailed instructions.
### Join us in discussions
We use GitHub Discussions to talk about all sorts of topics related to documentation and this site. For example: if you'd like help troubleshooting a PR, have a great new idea, or want to share something amazing you've learned in our docs, join us in [discussions](https://github.com/github/docs/discussions).
We use GitHub Discussions to talk about all sorts of topics related to documentation and this site. For example: if you'd like help troubleshooting a PR, have a great new idea, or want to share something amazing you've learned in our docs, join us in the [discussions](https://github.com/github/docs/discussions).
### And that's it!
@@ -33,6 +33,7 @@ That's how you can easily become a member of the GitHub Documentation community.
## READMEs
In addition to the README you're reading right now, this repo includes other READMEs that describe the purpose of each subdirectory in more detail:
YOu can go through among them for specified details regarding the topics listed below.
- [content/README.md](content/README.md)
- [content/graphql/README.md](content/graphql/README.md)
@@ -54,9 +55,9 @@ In addition to the README you're reading right now, this repo includes other REA
The GitHub product documentation in the assets, content, and data folders are licensed under a [CC-BY license](LICENSE).
All other code in this repository is licensed under a [MIT license](LICENSE-CODE).
All other code in this repository is licensed under the [MIT license](LICENSE-CODE).
When using the GitHub logos, be sure to follow the [GitHub logo guidelines](https://github.com/logos).
When you are using the GitHub logos, be sure to follow the [GitHub logo guidelines](https://github.com/logos).
## Thanks :purple_heart:

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -1,21 +1,24 @@
import Link from 'next/link'
import { useRouter } from 'next/router'
import { MarkGithubIcon } from '@primer/octicons-react'
import { useTranslation } from 'components/hooks/useTranslation'
export const SmallFooter = () => {
const router = useRouter()
const { t } = useTranslation('footer')
return (
<footer className="container-xl px-3 mt-6 mb-8 px-md-6 position-relative d-flex flex-row-reverse flex-xl-row flex-wrap flex-xl-nowrap flex-justify-center flex-xl-justify-between f6 color-fg-muted">
<ul className="list-style-none d-flex flex-wrap col-12 col-xl-5 flex-justify-center flex-xl-justify-between mb-2 mb-xl-0">
<li className="mr-3 mr-xl-0">&copy; {new Date().getFullYear()} GitHub, Inc.</li>
<li className="mr-3 mr-xl-0">
<a href="https://docs.github.com/en/github/site-policy/github-terms-of-service">
<Link href={`/${router.locale}/github/site-policy/github-terms-of-service`}>
{t('terms')}
</a>
</Link>
</li>
<li className="mr-3 mr-xl-0">
<a href="https://docs.github.com/en/github/site-policy/github-privacy-statement">
<Link href={`/${router.locale}/github/site-policy/github-privacy-statement`}>
{t('privacy')}
</a>
</Link>
</li>
<li className="mr-3 mr-xl-0">
<a href="https://github.com/security">{t('product.links.security')}</a>
@@ -24,7 +27,7 @@ export const SmallFooter = () => {
<a href="https://www.githubstatus.com/">{t('support.links.status')}</a>
</li>
<li>
<a href="/">{t('support.links.help')}</a>
<Link href={`/${router.locale}`}>{t('support.links.help')}</Link>
</li>
</ul>
@@ -45,7 +48,7 @@ export const SmallFooter = () => {
<a href="https://github.com/pricing">{t('product.links.pricing')}</a>
</li>
<li className="mr-3 mr-xl-0">
<a href="https://docs.github.com">{t('platform.links.developer_api')}</a>
<Link href={`/${router.locale}/developers`}>{t('platform.links.developer_api')}</Link>
</li>
<li className="mr-3 mr-xl-0">
<a href="https://services.github.com">{t('support.links.training')}</a>

View File

@@ -16,6 +16,26 @@ const SectionToLabelMap: Record<string, string> = {
backups: 'Backups',
}
const LabelColorMap = {
features: 'color-bg-success-emphasis',
bugs: 'color-bg-attention-emphasis',
known_issues: 'color-bg-accent-emphasis',
security_fixes: 'color-bg-sponsors-emphasis',
changes: 'color-bg-success-emphasis',
deprecations: 'color-bg-done-emphasis',
backups: 'color-bg-severe-emphasis',
}
const HeadingColorMap = {
features: 'color-fg-success',
bugs: 'color-fg-attention',
known_issues: 'color-fg-accent',
security_fixes: 'color-fg-sponsors',
changes: 'color-fg-success',
deprecations: 'color-fg-done',
backups: 'color-fg-severe',
}
type Props = {
patch: ReleaseNotePatch
withReleaseNoteLabel?: boolean
@@ -25,6 +45,10 @@ export function PatchNotes({ patch, withReleaseNoteLabel }: Props) {
<>
{Object.entries(patch.sections).map(([key, sectionItems], i, arr) => {
const isLast = i === arr.length - 1
const primaryLabelColor =
LabelColorMap[key as keyof typeof LabelColorMap] || LabelColorMap.features
const primaryHeadingColor =
HeadingColorMap[key as keyof typeof HeadingColorMap] || HeadingColorMap.features
return (
<div
key={key}
@@ -36,7 +60,12 @@ export function PatchNotes({ patch, withReleaseNoteLabel }: Props) {
>
{withReleaseNoteLabel && (
<div className="col-12 col-xl-3 mb-5">
<span className="px-3 py-2 text-small text-bold text-uppercase color-bg-emphasis color-fg-on-emphasis">
<span
className={cx(
'px-3 py-2 color-fg-on-emphasis text-small text-bold text-uppercase',
primaryLabelColor
)}
>
{SectionToLabelMap[key] || 'INVALID SECTION'}
</span>
</div>
@@ -52,7 +81,11 @@ export function PatchNotes({ patch, withReleaseNoteLabel }: Props) {
<Fragment key={slug}>
<h4
id={slug}
className={cx(styles.sectionHeading, 'text-uppercase text-bold f4')}
className={cx(
styles.sectionHeading,
primaryHeadingColor,
'text-uppercase text-bold f4'
)}
>
<Link href={`#${slug}`} className="color-fg-inherit">
{item.heading}

View File

@@ -23,6 +23,7 @@ shortTitle: Merge multiple user accounts
1. [Transfer any repositories](/articles/how-to-transfer-a-repository) from the account you want to delete to the account you want to keep. Issues, pull requests, and wikis are transferred as well. Verify the repositories exist on the account you want to keep.
2. [Update the remote URLs](/github/getting-started-with-github/managing-remote-repositories) in any local clones of the repositories that were moved.
3. [Delete the account](/articles/deleting-your-user-account) you no longer want to use.
4. To attribute past commits to the new account, add the email address you used to author the commits to the account you're keeping. For more information, see "[Why are my contributions not showing up on my profile?](/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/why-are-my-contributions-not-showing-up-on-my-profile#your-local-git-commit-email-isnt-connected-to-your-account)"
## Further reading

View File

@@ -60,7 +60,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: ["3.6", "3.7", "3.8", "3.9"]
steps:
- uses: actions/checkout@v2
@@ -119,7 +119,7 @@ jobs:
# You can use PyPy versions in python-version.
# For example, pypy2 and pypy3
matrix:
python-version: [2.7, 3.6, 3.7, 3.8, 3.9]
python-version: ["2.7", "3.6", "3.7", "3.8", "3.9"]
steps:
- uses: actions/checkout@v2
@@ -182,12 +182,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.6, 3.7, 3.8, 3.9, pypy2, pypy3]
python-version: ["3.6", "3.7", "3.8", "3.9", pypy2, pypy3]
exclude:
- os: macos-latest
python-version: 3.6
python-version: "3.6"
- os: windows-latest
python-version: 3.6
python-version: "3.6"
```
{% endraw %}
@@ -344,7 +344,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.7, 3.8, 3.9]
python: ["3.7", "3.8", "3.9"]
steps:
- uses: actions/checkout@v2
@@ -378,7 +378,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: ["3.6", "3.7", "3.8", "3.9"]
steps:
- uses: actions/checkout@v2

View File

@@ -57,7 +57,7 @@ Before you begin, you'll need to create a {% data variables.product.prodname_dot
## Creating a Dockerfile
In your new `hello-world-docker-action` directory, create a new `Dockerfile` file. For more information, see "[Dockerfile support for {% data variables.product.prodname_actions %}](/actions/creating-actions/dockerfile-support-for-github-actions)."
In your new `hello-world-docker-action` directory, create a new `Dockerfile` file. Make sure that your filename is capitalized correctly (use a capital `D` but not a capital `f`) if you're having issues. For more information, see "[Dockerfile support for {% data variables.product.prodname_actions %}](/actions/creating-actions/dockerfile-support-for-github-actions)."
**Dockerfile**
```Dockerfile{:copy}

View File

@@ -44,7 +44,7 @@ By default, the validation only includes the audience (`aud`) condition, so you
"Condition": {
"StringEquals": {
"token.actions.githubusercontent.com:aud": "https://github.com/octo-org",
"token.actions.githubusercontent.com:sub": "token.actions.githubusercontent.com:sub": "repo:octo-org/octo-repo:ref:refs/heads/octo-branch"
"token.actions.githubusercontent.com:sub": "repo:octo-org/octo-repo:ref:refs/heads/octo-branch"
```
## Updating your {% data variables.product.prodname_actions %} workflow

View File

@@ -33,8 +33,8 @@ This guide gives an overview of how to configure Azure to trust {% data variable
To configure the OIDC identity provider in Azure, you will need to perform the following configuration. For instructions on making these changes, refer to [the Azure documentation](https://docs.microsoft.com/en-us/azure/developer/github/connect-from-azure).
1. Create an Active Directory application and a service principal.
2. Add federated credentials for the Active Directory application.
1. Create an Azure Active Directory application and a service principal.
2. Add federated credentials for the Azure Active Directory application.
3. Create {% data variables.product.prodname_dotcom %} secrets for storing Azure configuration.
Additional guidance for configuring the identity provider:

View File

@@ -23,7 +23,7 @@ You can automatically increase or decrease the number of self-hosted runners in
The following repositories have detailed instructions for setting up these autoscalers:
- [actions-runner-controller/actions-runner-controller](https://github.com/actions-runner-controller/actions-runner-controller) - A Kubernetes controller for {% data variables.product.prodname_actions %} self-hosted runnners.
- [actions-runner-controller/actions-runner-controller](https://github.com/actions-runner-controller/actions-runner-controller) - A Kubernetes controller for {% data variables.product.prodname_actions %} self-hosted runners.
- [philips-labs/terraform-aws-github-runner](https://github.com/philips-labs/terraform-aws-github-runner) - A Terraform module for scalable {% data variables.product.prodname_actions %} runners on Amazon Web Services.
Each solution has certain specifics that may be important to consider:
@@ -77,4 +77,4 @@ To authenticate using a {% data variables.product.prodname_dotcom %} App, it mu
You can register and delete enterprise self-hosted runners using [the API](/rest/reference/enterprise-admin#github-actions). To authenticate to the API, your autoscaling implementation can use an access token.
Your access token will requite the `manage_runners:enterprise` scope.
Your access token will require the `manage_runners:enterprise` scope.

View File

@@ -41,6 +41,7 @@ Contexts are a way to access information about workflow runs, runner environment
| `strategy` | `object` | Enables access to the configured strategy parameters and information about the current job. Strategy parameters include `fail-fast`, `job-index`, `job-total`, and `max-parallel`. |
| `matrix` | `object` | Enables access to the matrix parameters you configured for the current job. For example, if you configure a matrix build with the `os` and `node` versions, the `matrix` context object includes the `os` and `node` versions of the current job. |
| `needs` | `object` | Enables access to the outputs of all jobs that are defined as a dependency of the current job. For more information, see [`needs` context](#needs-context). |
{% ifversion fpt or ghec or ghes > 3.3 or ghae-issue-4757 %}| `inputs` | `object` | Enables access to the inputs of reusable workflow. For more information, see [`inputs` context](#inputs-context). |{% endif %}
As part of an expression, you may access context information using one of two syntaxes.
- Index syntax: `github['sha']`
@@ -148,6 +149,19 @@ The `needs` context contains outputs from all jobs that are defined as a depende
| `needs.<job id>.outputs.<output name>` | `string` | The value of a specific output for a job that the current job depends on. |
| `needs.<job id>.result` | `string` | The result of a job that the current job depends on. Possible values are `success`, `failure`, `cancelled`, or `skipped`. |
{% ifversion fpt or ghec or ghes > 3.3 or ghae-issue-4757 %}
### `inputs` context
The `inputs` context contains information about the inputs of reusable workflow. The inputs are defined in [`workflow_call` event configuration](/actions/learn-github-actions/events-that-trigger-workflows#workflow-reuse-events). These inputs are passed from [`jobs.<job_id>.with`](/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idwith) in an external workflow.
For more information, see "[Reusing workflows](/actions/learn-github-actions/reusing-workflows)".
| Property name | Type | Description |
|---------------|------|-------------|
| `inputs` | `object` | This context is only available when it is [a reusable workflow](/actions/learn-github-actions/reusing-workflows). |
| `inputs.<name>` | `string` or `number` or `boolean` | Each input value passed from an external workflow. |
{% endif %}
#### Example printing context information to the log file
To inspect the information that is accessible in each context, you can use this workflow file example.

View File

@@ -139,7 +139,7 @@ After you enable LDAP sync, a synchronization job will run at the specified time
A synchronization job will also run at the specified time interval to perform the following operations on each team that has been mapped to an LDAP group:
- If a team's corresponding LDAP group has been removed, remove all members from the team.
- If LDAP member entries have been removed from the LDAP group, remove the corresponding users from the team. If the user loses access to any repositories as a result, delete any private forks the user has of those repositories.
- If LDAP member entries have been removed from the LDAP group, remove the corresponding users from the team. If the user is no longer a member of any team in the organization, remove the user from the organization. If the user loses access to any repositories as a result, delete any private forks the user has of those repositories.
- If LDAP member entries have been added to the LDAP group, add the corresponding users to the team. If the user regains access to any repositories as a result, restore any private forks of the repositories that were deleted because the user lost access in the past 90 days.
{% data reusables.enterprise_user_management.ldap-sync-nested-teams %}

View File

@@ -22,7 +22,7 @@ Geo DNS, such as [Amazon's Route 53 service](http://docs.aws.amazon.com/Route53/
## Limitations
Writing requests to the replica requires sending the data to the primary and all replicas. This means that the performance of all writes are limited by the slowest replica, although new geo-replicas can seed the majority of their data from existing co-located geo-replicas, rather than from the primary. Geo-replication will not add capacity to a {% data variables.product.prodname_ghe_server %} instance or solve performance issues related to insufficient CPU or memory resources. If the primary appliance is offline, active replicas will be unable to serve any read or write requests.
Writing requests to the replica requires sending the data to the primary and all replicas. This means that the performance of all writes is limited by the slowest replica, although new geo-replicas can seed the majority of their data from existing co-located geo-replicas, rather than from the primary. Geo-replication will not add capacity to a {% data variables.product.prodname_ghe_server %} instance or solve performance issues related to insufficient CPU or memory resources. If the primary appliance is offline, active replicas will be unable to serve any read or write requests.
{% data reusables.enterprise_installation.replica-limit %}

View File

@@ -58,7 +58,7 @@ You can delete unauthorized (or possibly compromised) SSH keys to ensure that an
{% endtip %}
4. Open Git Bash. If you're using Git Shell, which is included in {% data variables.product.prodname_desktop %}, open Git Shell and skip to step 6.
4. Open Git Bash.
5. {% data reusables.desktop.windows_git_bash_turn_on_ssh_agent %}

View File

@@ -49,7 +49,7 @@ Repository administrators can enforce required commit signing on a branch to blo
{% data reusables.identity-and-permissions.verification-status-check %}
{% ifversion fpt or ghec %}
{% data variables.product.product_name %} will automatically use GPG to sign commits you make using the {% data variables.product.product_name %} web interface, except for when you squash and merge a pull request that you are not the author of. Commits signed by {% data variables.product.product_name %} will have a verified status on {% data variables.product.product_name %}. You can verify the signature locally using the public key available at https://github.com/web-flow.gpg. The full fingerprint of the key is `5DE3 E050 9C47 EA3C F04A 42D3 4AEE 18F8 3AFD EB23`. You can optionally choose to have {% data variables.product.product_name %} sign commits you make in {% data variables.product.prodname_codespaces %}. For more information about enabling GPG verification for your codespaces, see "[Managing GPG verification for {% data variables.product.prodname_codespaces %}](/github/developing-online-with-codespaces/managing-gpg-verification-for-codespaces)."
{% data variables.product.product_name %} will automatically use GPG to sign commits you make using the {% data variables.product.product_name %} web interface. Commits signed by {% data variables.product.product_name %} will have a verified status on {% data variables.product.product_name %}. You can verify the signature locally using the public key available at https://github.com/web-flow.gpg. The full fingerprint of the key is `5DE3 E050 9C47 EA3C F04A 42D3 4AEE 18F8 3AFD EB23`. You can optionally choose to have {% data variables.product.product_name %} sign commits you make in {% data variables.product.prodname_codespaces %}. For more information about enabling GPG verification for your codespaces, see "[Managing GPG verification for {% data variables.product.prodname_codespaces %}](/github/developing-online-with-codespaces/managing-gpg-verification-for-codespaces)."
{% endif %}
## GPG commit signature verification

View File

@@ -22,7 +22,7 @@ The `-K` option is in Apple's standard version of `ssh-add`, which stores the pa
To add your SSH private key to the ssh-agent, you can specify the path to the Apple version of `ssh-add`:
```shell
$ /usr/bin/ssh-add -K ~/.ssh/id_rsa
$ /usr/bin/ssh-add -K ~/.ssh/id_ed25519
```
{% note %}

View File

@@ -107,7 +107,7 @@ The "Used by" section represents a single package from the repository. If you ha
If your dependency graph is empty, there may be a problem with the file containing your dependencies. Check the file to ensure that it's correctly formatted for the file type.
{% ifversion fpt or ghec %}
If the file is correctly formatted, then check its size. The dependency graph ignores individual manifest and lock files that are over 0.5 Mb, unless you are a {% data variables.product.prodname_enterprise %} user. It processes up to 20 manifest or lock files per repository by default, so you can split dependencies into smaller files in subdirectories of the repository.{% endif %}
If the file is correctly formatted, then check its size. The dependency graph ignores individual manifest and lock files that are over 1.5 Mb, unless you are a {% data variables.product.prodname_enterprise %} user. It processes up to 20 manifest or lock files per repository by default, so you can split dependencies into smaller files in subdirectories of the repository.{% endif %}
If a manifest or lock file is not processed, its dependencies are omitted from the dependency graph and they can't be checked for vulnerable dependencies.

View File

@@ -32,6 +32,8 @@ When you create a codespace, a number of steps happen to create and connect you
For more information on what happens when you create a codespace, see "[Deep Dive](/codespaces/getting-started/deep-dive)."
If you want to use Git hooks for your codespace, then you should set up hooks using the [`devcontainer.json` lifecycle scripts](https://code.visualstudio.com/docs/remote/devcontainerjson-reference#_lifecycle-scripts), such as `postCreateCommand`, during step 4. Since your codespace container is created after the repository is cloned, any [git template directory](https://git-scm.com/docs/git-init#_template_directory) configured in the container image will not apply to your codespace. Hooks must instead be installed after the codespace is created. For more information on using `postCreateCommand`, see the [`devcontainer.json` reference](https://code.visualstudio.com/docs/remote/devcontainerjson-reference#_devcontainerjson-properties) in the Visual Studio Code documentation.
{% data reusables.codespaces.use-visual-studio-features %}
{% data reusables.codespaces.you-can-see-all-your-codespaces %}

View File

@@ -27,6 +27,7 @@ Your codespace can be ephemeral if you need to test something or you can return
Once you've selected the option to create a new codespace, some steps happen in the background before the codespace is available to you.
![Open with Codespaces button](/assets/images/help/codespaces/new-codespace-button.png)
### Step 1: VM and storage are assigned to your codespace
When you create a codespace, a [shallow clone](https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/) of your repository is made on a Linux virtual machine that is both dedicated and private to you. Having a dedicated VM ensures that you have the entire set of compute resources from that machine available to you. If necessary, this also allows you to have full root access to your container.
@@ -35,13 +36,25 @@ When you create a codespace, a [shallow clone](https://github.blog/2020-12-21-ge
{% data variables.product.prodname_codespaces %} uses a container as the development environment. This container is created based on the configurations that you can define in a `devcontainer.json` file and/or Dockerfile in your repository. If you don't [configure a container](/codespaces/customizing-your-codespace/configuring-codespaces-for-your-project), {% data variables.product.prodname_codespaces %} uses a [default image](/codespaces/customizing-your-codespace/configuring-codespaces-for-your-project#using-the-default-configuration), which has many languages and runtimes available. For information on what the default image contains, see the [`vscode-dev-containers`](https://github.com/microsoft/vscode-dev-containers/tree/main/containers/codespaces-linux) repository.
{% note %}
**Note:** If you want to use Git hooks in your codespace and apply anything in the [git template directory](https://git-scm.com/docs/git-init#_template_directory) to your codespace, then you must set up hooks during step 4 after the container is created.
Since your repository is cloned onto the host VM before the container is created, anything in the [git template directory](https://git-scm.com/docs/git-init#_template_directory) will not apply in your codespace unless you set up hooks in your `devcontainer.json` configuration file using the `postCreateCommand` in step 4. For more information, see "[Step 4: Post-creation setup](#step-4-post-creation-setup)."
{% endnote %}
### Step 3: Connecting to the codespace
When your container has been created and any other initialization has run, you'll be connected to your codespace. You can connect to it through the web or via [Visual Studio Code](/codespaces/developing-in-codespaces/using-codespaces-in-visual-studio-code), or both, if needed.
### Step 4: Post-creation setup
Once you're connected to your codespace, automated setup that you specified in your `devcontainer.json` file, such as running the `postCreateCommand` and `postAttachCommand`, may continue. If you have a public dotfiles repository {% data variables.product.prodname_codespaces %}, you can enable it for use with new codespaces. When enabled, your dotfiles will be cloned to the container and look for an install file. For more information, see "[Personalizing {% data variables.product.prodname_codespaces %} for your account](/github/developing-online-with-codespaces/personalizing-codespaces-for-your-account#dotfiles)."
Once you are connected to your codespace, your automated setup may continue to build based on the configuration you specified in your `devcontainer.json` file. You may see `postCreateCommand` and `postAttachCommand` run.
If you want to use Git hooks in your codespace, set up hooks using the [`devcontainer.json` lifecycle scripts](https://code.visualstudio.com/docs/remote/devcontainerjson-reference#_lifecycle-scripts), such as `postCreateCommand`. For more information, see the [`devcontainer.json` reference](https://code.visualstudio.com/docs/remote/devcontainerjson-reference#_devcontainerjson-properties) in the Visual Studio Code documentation.
If you have a public dotfiles repository for {% data variables.product.prodname_codespaces %}, you can enable it for use with new codespaces. When enabled, your dotfiles will be cloned to the container and the install script will be invoked. For more information, see "[Personalizing {% data variables.product.prodname_codespaces %} for your account](/github/developing-online-with-codespaces/personalizing-codespaces-for-your-account#dotfiles)."
Finally, the entire history of the repository is copied down with a full clone.

View File

@@ -13,7 +13,7 @@ shortTitle: Exporting changes
## Exporting changes to a branch
While using {% data variables.product.prodname_codespaces %}, you may want to export your changes to a branch without launching a your codespace.
While using {% data variables.product.prodname_codespaces %}, you may want to export your changes to a branch without launching your codespace.
This can be useful when you have hit a [spending limit](/billing/managing-billing-for-github-codespaces/managing-spending-limits-for-codespaces) or have a general issue accessing your codespace.

View File

@@ -390,7 +390,7 @@ The pull request was merged. The `commit_id` attribute is the SHA1 of the `HEAD`
|Issue type | Issue events API | Timeline events API|
|:----------|:----------------:|:-----------------:|
| <ul><li>Pull requests</li></ul> | **X** | |
| <ul><li>Pull requests</li></ul> | **X** | **X** |
### Event object properties
@@ -447,7 +447,7 @@ The issue was pinned.
## ready_for_review
A pull request was created that is not in draft mode.
A draft pull request was marked as ready for review.
### Availability

View File

@@ -156,7 +156,7 @@ For more information on enforcing two-factor authentication and allowed IP addre
You can centrally manage access to your enterprise's resources, organization membership and team membership using your IdP and SAM single sign-on (SSO). Enterprise owners can enable SAML SSO across all organizations owned by an enterprise account. For more information, see "[About identity and access management for your enterprise](/enterprise-cloud@latest/admin/authentication/managing-identity-and-access-for-your-enterprise/about-identity-and-access-management-for-your-enterprise)."
#### 3. Managing team synchronization
You can enable and manage team sychronization between an identity provider (IdP) and {% data variables.product.prodname_dotcom %} to allow organizations owned by your enterprise account to manage team membership with IdP groups. For more information, see "[Managing team synchronization for organizations in your enterprise account](/enterprise-cloud@latest/admin/authentication/managing-identity-and-access-for-your-enterprise/managing-team-synchronization-for-organizations-in-your-enterprise)."
You can enable and manage team synchronization between an identity provider (IdP) and {% data variables.product.prodname_dotcom %} to allow organizations owned by your enterprise account to manage team membership with IdP groups. For more information, see "[Managing team synchronization for organizations in your enterprise account](/enterprise-cloud@latest/admin/authentication/managing-identity-and-access-for-your-enterprise/managing-team-synchronization-for-organizations-in-your-enterprise)."
#### 4. Enforcing policies for Advanced Security features in your enterprise account
{% data reusables.getting-started.enterprise-advanced-security %}

View File

@@ -30,4 +30,4 @@ Here, Git is telling you which commit is causing the conflict (`fa39187`). You'r
* You can run `git rebase --skip` to completely skip the commit. That means that none of the changes introduced by the problematic commit will be included. It is very rare that you would choose this option.
* You can fix the conflict.
To fix the conflict, you can follow [the standard procedures for resolving merge conflicts from the command line](/github/collaborating-with-pull-requests/addressing-merge-conflicts/resolving-a-merge-conflict-using-the-command-line. When you're finished, you'll need to call `git rebase --continue` in order for Git to continue processing the rest of the rebase.
To fix the conflict, you can follow [the standard procedures for resolving merge conflicts from the command line](/github/collaborating-with-pull-requests/addressing-merge-conflicts/resolving-a-merge-conflict-using-the-command-line). When you're finished, you'll need to call `git rebase --continue` in order for Git to continue processing the rest of the rebase.

View File

@@ -29,7 +29,7 @@ The ability to run commands directly from your keyboard, without navigating thro
## Opening the {% data variables.product.prodname_command_palette %}
Open the command palette using one of the following keyboard shortcuts:
- Windows and Linux: <kbd>Ctl</kbd><kbd>k</kbd> or <kbd>Ctl</kbd><kbd>alt</kbd><kbd>k</kbd>
- Windows and Linux: <kbd>Ctrl</kbd><kbd>k</kbd> or <kbd>Ctrl</kbd><kbd>alt</kbd><kbd>k</kbd>
- Mac: <kbd>⌘</kbd><kbd>k</kbd> or <kbd>⌘</kbd><kbd>option</kbd><kbd>k</kbd>
When you open the command palette, it shows your location at the top left and uses it as the scope for suggestions (for example, the `mashed-avocado` organization).
@@ -39,7 +39,7 @@ When you open the command palette, it shows your location at the top left and us
{% note %}
**Notes:**
- If you are editing Markdown text, open the command palette with <kbd>Ctl</kbd><kbd>alt</kbd><kbd>k</kbd> (Windows and Linux) or <kbd>⌘</kbd><kbd>option</kbd><kbd>k</kbd> (Mac).
- If you are editing Markdown text, open the command palette with <kbd>Ctrl</kbd><kbd>alt</kbd><kbd>k</kbd> (Windows and Linux) or <kbd>⌘</kbd><kbd>option</kbd><kbd>k</kbd> (Mac).
- If you are working on a project (beta), a project-specific command palette is displayed instead. For more information, see "[Customizing your project (beta) views](/issues/trying-out-the-new-projects-experience/customizing-your-project-views)."
{% endnote %}
@@ -60,7 +60,7 @@ You can use the command palette to navigate to any page that you have access to
4. Finish entering the path, or use the arrow keys to highlight the path you want from the list of suggestions.
5. Use <kbd>Enter</kbd> to jump to your chosen location. Alternatively, use <kbd>Ctl</kbd><kbd>Enter</kbd> (Windows and Linx) or <kbd>⌘</kbd><kbd>Enter</kbd> (Mac) to open the location in a new browser tab.
5. Use <kbd>Enter</kbd> to jump to your chosen location. Alternatively, use <kbd>Ctrl</kbd><kbd>Enter</kbd> (Windows and Linux) or <kbd>⌘</kbd><kbd>Enter</kbd> (Mac) to open the location in a new browser tab.
## Searching with the {% data variables.product.prodname_command_palette %}
@@ -87,7 +87,7 @@ You can use the command palette to search for anything on {% data variables.prod
{% endtip %}
5. Use the arrow keys to highlight the search result you want and use <kbd>Enter</kbd> to jump to your chosen location. Alternatively, use <kbd>Ctl</kbd><kbd>Enter</kbd> (Windows and Linx) or <kbd>⌘</kbd><kbd>Enter</kbd> (Mac) to open the location in a new browser tab.
5. Use the arrow keys to highlight the search result you want and use <kbd>Enter</kbd> to jump to your chosen location. Alternatively, use <kbd>Ctrl</kbd><kbd>Enter</kbd> (Windows and Linux) or <kbd>⌘</kbd><kbd>Enter</kbd> (Mac) to open the location in a new browser tab.
## Running commands from the {% data variables.product.prodname_command_palette %}

View File

@@ -16,36 +16,44 @@ topics:
shortTitle: SSH certificate authorities
---
An SSH certificate is a mechanism for one SSH key to sign another SSH key. If you use an SSH certificate authority (CA) to provide your organization members with signed SSH certificates, you can add the CA to your enterprise account or organization to allow organization members to use their certificates to access organization resources. For more information, see "[Managing your organization's SSH certificate authorities](/articles/managing-your-organizations-ssh-certificate-authorities)."
## About SSH certificate authorities
After you add an SSH CA to your organization or enterprise account, you can use the CA to sign client SSH certificates for organization members. Organization members can use the signed certificates to access your organization's repositories (and only your organization's repositories) with Git. You can require that members use SSH certificates to access organization resources. For more information, see "[Enforcing policies for security settings in your enterprise](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-security-settings-in-your-enterprise#managing-ssh-certificate-authorities-for-your-enterprise)."
An SSH certificate is a mechanism for one SSH key to sign another SSH key. If you use an SSH certificate authority (CA) to provide your organization members with signed SSH certificates, you can add the CA to your enterprise account or organization to allow organization members to use their certificates to access organization resources.
After you add an SSH CA to your organization or enterprise account, you can use the CA to sign client SSH certificates for organization members. Organization members can use the signed certificates to access your organization's repositories (and only your organization's repositories) with Git. Optionally, you can require that members use SSH certificates to access organization resources. For more information, see "[Managing your organization's SSH certificate authorities](/articles/managing-your-organizations-ssh-certificate-authorities)" and "[Enforcing policies for security settings in your enterprise](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-security-settings-in-your-enterprise#managing-ssh-certificate-authorities-for-your-enterprise)."
For example, you can build an internal system that issues a new certificate to your developers every morning. Each developer can use their daily certificate to work on your organization's repositories on {% data variables.product.product_name %}. At the end of the day, the certificate can automatically expire, protecting your repositories if the certificate is later compromised.
{% ifversion fpt or ghec %}
Organization members can use their signed certificates for authentication even if you've enforced SAML single sign-on. Unless you make SSH certificates a requirement, organization members can continue to use other means of authentication to access your organization's resources with Git, including their username and password, personal access tokens, and their own SSH keys.
{% endif %}
Members will not be able to use their certificates to access forks of your repositories that are owned by their user accounts.
To prevent authentication errors, organization members should use a special URL that includes the organization ID to clone repositories using signed certificates. Anyone with read access to the repository can find this URL on the repository page. For more information, see "[Cloning a repository](/articles/cloning-a-repository)."
## Issuing certificates
When you issue each certificate, you must include an extension that specifies which {% data variables.product.product_name %} user the certificate is for. For example, you can use OpenSSH's `ssh-keygen` command, replacing _KEY-IDENTITY_ with your key identity and _USERNAME_ with a {% data variables.product.product_name %} username. The certificate you generate will be authorized to act on behalf of that user for any of your organization's resources. Make sure you validate the user's identity before you issue the certificate.
```shell
$ ssh-keygen -s ./ca-key -I <em>KEY-IDENTITY</em> -O extension:login@{% data variables.product.product_url %}=<em>USERNAME</em> ./user-key.pub
$ ssh-keygen -s ./ca-key -V '+1d' -I <em>KEY-IDENTITY</em> -O extension:login@{% data variables.product.product_url %}=<em>USERNAME</em> ./user-key.pub
```
{% warning %}
**Warning**: After a certificate has been signed and issued, the certificate cannot be revoked. Make sure to use the -`V` flag to configure a lifetime for the certificate, or the certificate can be used indefinitely.
{% endwarning %}
To issue a certificate for someone who uses SSH to access multiple {% data variables.product.company_short %} products, you can include two login extensions to specify the username for each product. For example, the following command would issue a certificate for _USERNAME-1_ for the user's account for {% data variables.product.prodname_ghe_cloud %}, and _USERNAME-2_ for the user's account on {% data variables.product.prodname_ghe_managed %} or {% data variables.product.prodname_ghe_server %} at _HOSTNAME_.
```shell
$ ssh-keygen -s ./ca-key -I <em>KEY-IDENTITY</em> -O extension:login@github.com=<em>USERNAME-1</em> extension:login@<em>HOSTNAME</em>=<em>USERNAME-2</em> ./user-key.pub
$ ssh-keygen -s ./ca-key -V '+1d' -I <em>KEY-IDENTITY</em> -O extension:login@github.com=<em>USERNAME-1</em> extension:login@<em>HOSTNAME</em>=<em>USERNAME-2</em> ./user-key.pub
```
You can restrict the IP addresses from which an organization member can access your organization's resources by using a `source-address` extension. The extension accepts a specific IP address or a range of IP addresses using CIDR notation. You can specify multiple addresses or ranges by separating the values with commas. For more information, see "[Classless Inter-Domain Routing](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation)" on Wikipedia.
```shell
$ ssh-keygen -s ./ca-key -I <em>KEY-IDENTITY</em> -O extension:login@{% data variables.product.product_url %}=<em>USERNAME</em> -O source-address=<em>COMMA-SEPARATED-LIST-OF-IP-ADDRESSES-OR-RANGES</em> ./user-key.pub
$ ssh-keygen -s ./ca-key -V '+1d' -I <em>KEY-IDENTITY</em> -O extension:login@{% data variables.product.product_url %}=<em>USERNAME</em> -O source-address=<em>COMMA-SEPARATED-LIST-OF-IP-ADDRESSES-OR-RANGES</em> ./user-key.pub
```
{% ifversion fpt or ghec %}
Organization members can use their signed certificates for authentication even if you've enforced SAML single sign-on. Unless you make SSH certificates a requirement, organization members can continue to use other means of authentication to access your organization's resources with Git, including their username and password, personal access tokens, and their own SSH keys.
{% endif %}
To prevent authentication errors, organization members should use a special URL that includes the organization ID to clone repositories using signed certificates. Anyone with read access to the repository can find this URL on the repository page. For more information, see "[Cloning a repository](/articles/cloning-a-repository)."

View File

@@ -103,7 +103,7 @@ Some of the features listed below are limited to organizations using {% data var
| Disable team discussions for an organization (see "[Disabling team discussions for your organization](/articles/disabling-team-discussions-for-your-organization)" for details) | **X** | | | |
| Manage viewing of organization dependency insights (see "[Changing the visibility of your organization's dependency insights](/articles/changing-the-visibility-of-your-organizations-dependency-insights)" for details) | **X** | | | |
| Set a team profile picture in **all teams** (see "[Setting your team's profile picture](/articles/setting-your-team-s-profile-picture)" for details) | **X** | | | |
| Sponsor accounts and manage the organization's sponsorships (see "[Sponsoring open-source contributors](/sponsors/sponsoring-open-source-contributors)" for details) | **X** | **X** | | **X** |
| Sponsor accounts and manage the organization's sponsorships (see "[Sponsoring open-source contributors](/sponsors/sponsoring-open-source-contributors)" for details) | **X** | | **X** | **X** |
| Manage email updates from sponsored accounts (see "[Managing updates from accounts your organization's sponsors](/organizations/managing-organization-settings/managing-updates-from-accounts-your-organization-sponsors)" for details) | **X** | | | |
| Attribute your sponsorships to another organization (see "[Attributing sponsorships to your organization](/sponsors/sponsoring-open-source-contributors/attributing-sponsorships-to-your-organization)" for details ) | **X** | | | |
| Manage the publication of {% data variables.product.prodname_pages %} sites from repositories in the organization (see "[Managing the publication of {% data variables.product.prodname_pages %} sites for your organization](/organizations/managing-organization-settings/managing-the-publication-of-github-pages-sites-for-your-organization)" for details) | **X** | | | |

View File

@@ -20,14 +20,14 @@ shortTitle: Delete & restore a package
On {% data variables.product.prodname_dotcom %} if you have the required access, you can delete:
- an entire private package
- an entire public package, if there's not more than 25 downloads of any version of the package
- an entire public package, if there's not more than 5000 downloads of any version of the package
- a specific version of a private package
- a specific version of a public package, if the package version doesn't have more than 25 downloads
- a specific version of a public package, if the package version doesn't have more than 5000 downloads
{% note %}
**Note:**
- You cannot delete a public package if any version of the package has more than 25 downloads. In this scenario, contact [GitHub support](https://support.github.com/contact?tags=docs-packages) for further assistance.
- You cannot delete a public package if any version of the package has more than 5000 downloads. In this scenario, contact [GitHub support](https://support.github.com/contact?tags=docs-packages) for further assistance.
- When deleting public packages, be aware that you may break projects that depend on your package.
{% endnote %}

View File

@@ -55,7 +55,7 @@ For a list of supported custom domains, see "[About custom domains and {% data v
## HTTPS errors
{% data variables.product.prodname_pages %} sites using custom domains that are correctly configured with _CNAME_, `ALIAS`, `ANAME`, or `A` DNS records can be accessed over HTTPS. For more information, see "[Securing your {% data variables.product.prodname_pages %} site with HTTPS](/articles/securing-your-github-pages-site-with-https)."
{% data variables.product.prodname_pages %} sites using custom domains that are correctly configured with `CNAME`, `ALIAS`, `ANAME`, or `A` DNS records can be accessed over HTTPS. For more information, see "[Securing your {% data variables.product.prodname_pages %} site with HTTPS](/articles/securing-your-github-pages-site-with-https)."
It can take up to an hour for your site to become available over HTTPS after you configure your custom domain. After you update existing DNS settings, you may need to remove and re-add your custom domain to your site's repository to trigger the process of enabling HTTPS. For more information, see "[Managing a custom domain for your {% data variables.product.prodname_pages %} site](/articles/managing-a-custom-domain-for-your-github-pages-site)."

View File

@@ -30,11 +30,20 @@ You can review changes in a pull request one file at a time. While reviewing the
{% data reusables.repositories.sidebar-pr %}
{% data reusables.repositories.choose-pr-review %}
{% data reusables.repositories.changed-files %}
{% ifversion fpt or ghec or ghes > 3.2 or ghae-next %}
You can change the format of the diff view in this tab by clicking {% octicon "gear" aria-label="The Settings gear" %} and choosing the unified or split view. The choice you make will apply when you view the diff for other pull requests.
![Diff view settings](/assets/images/help/pull_requests/diff-view-settings.png)
You can also choose to hide whitespace differences. The choice you make only applies to this pull request and will be remembered the next time you visit this page.
{% endif %}
{% data reusables.repositories.start-line-comment %}
{% data reusables.repositories.type-line-comment %}
{% data reusables.repositories.suggest-changes %}
5. When you're done, click **Start a review**. If you have already started a review, you can click **Add review comment**.
![Start a review button](/assets/images/help/pull_requests/start-a-review-button.png)
1. When you're done, click **Start a review**. If you have already started a review, you can click **Add review comment**.
![Start a review button](/assets/images/help/pull_requests/start-a-review-button.png)
Before you submit your review, your line comments are _pending_ and only visible to you. You can edit pending comments anytime before you submit your review. To cancel a pending review, including all of its pending comments, scroll down to the end of the timeline on the Conversation tab, then click **Cancel review**.
@@ -76,7 +85,8 @@ After you finish reviewing a file, you can mark the file as viewed, and the file
{% data reusables.repositories.changed-files %}
2. On the right of the header of the file you've finished reviewing, select **Viewed**.
![Viewed checkbox](/assets/images/help/pull_requests/viewed-checkbox.png)
![Viewed checkbox](/assets/images/help/pull_requests/viewed-checkbox.png)
## Submitting your review
@@ -86,7 +96,9 @@ After you've finished reviewing all the files you want in the pull request, subm
{% data reusables.repositories.review-changes %}
{% data reusables.repositories.review-summary-comment %}
4. Select the type of review you'd like to leave:
![Radio buttons with review options](/assets/images/help/pull_requests/pull-request-review-statuses.png)
![Radio buttons with review options](/assets/images/help/pull_requests/pull-request-review-statuses.png)
- Select **Comment** to leave general feedback without explicitly approving the changes or requesting additional changes.
- Select **Approve** to submit your feedback and approve merging the changes proposed in the pull request.
- Select **Request changes** to submit feedback that must be addressed before the pull request can be merged.

View File

@@ -51,7 +51,7 @@ When you create a branch rule, the branch you specify doesn't have to exist yet
{% data reusables.repositories.repository-branches %}
{% data reusables.repositories.add-branch-protection-rules %}
1. Optionally, enable required pull request reviews.
- Under "Protect matching branches", select **Require pull request reviews before merging**.
- Under "Protect matching branches", select **Require a pull request before merging**.
![Pull request review restriction checkbox](/assets/images/help/repository/PR-reviews-required.png)
- Click the **Required approving reviews** drop-down menu, then select the number of approving reviews you'd like to require on the branch.
![Drop-down menu to select number of required review approvals](/assets/images/help/repository/number-of-required-review-approvals.png)

View File

@@ -70,11 +70,21 @@ When you add a `CITATION.cff` file to the default branch of your repository, it
If you would prefer the {% data variables.product.prodname_dotcom %} citation information to link to another resource such as a research article, then you can use the `preferred-citation` override in CFF with the following types.
Resource | Type
--------- | -----
Research article | `article`
Conference paper | `conference-paper`
Book | `book`
| Resource | CFF type | BibTeX type | APA annotation |
|----------|----------|-------------|----------------|
| Journal article/paper | `article` | `@article` | |
| Book | `book` | `@book` | |
| Booklet (bound but not published) | `pamphlet` | `@booklet` | |
| Conference article/paper | `conference-paper` | `@inproceedings` | [Conference paper] |
| Conference proceedings | `conference`, `proceedings` | `@proceedings` | |
| Data set | `data`, `database` | `@misc` | [Data set] |
| Magazine article | `magazine-article` | `@article` | |
| Manual | `manual` | `@manual` | |
| Misc/generic/other | `generic`, any other CFF type | `@misc` | |
| Newspaper article | `newspaper-article` | `@article` | |
| Software | `software`, `software-code`, `software-container`, `software-executable`, `software-virtual-machine` | `@software` | [Computer software] |
| Report/technical report | `report` | `@techreport` | |
| Unpublished | `unpublished` | `@unpublished` | |
Extended CITATION.cff file describing the software, but linking to a research article as the preferred citation:
@@ -141,7 +151,7 @@ Lisa, M., & Bot, H. (2021). My awesome research software. Journal Title, 1(1), 1
## Citing a dataset
If your repository contains a dataset, you can set `type: dataset` in your `CITATION.cff` file to produce a data citation string output in the {% data variables.product.prodname_dotcom %} citation prompt.
If your repository contains a dataset, you can set `type: dataset` at the top level of your `CITATION.cff` file to produce a data citation string output in the {% data variables.product.prodname_dotcom %} citation prompt.
## Other citation files

View File

@@ -42,7 +42,7 @@ For code owners to receive review requests, the CODEOWNERS file must be on the b
{% ifversion fpt or ghae or ghes > 3.2 or ghec %}
## CODEOWNERS file size
CODEOWNERS files must be under 3 MB in size. A CODEOWNERS file over this limit will not be loaded, which means that code owner information not to be shown and the appropriate code owners will not be requested to review changes in a pull request.
CODEOWNERS files must be under 3 MB in size. A CODEOWNERS file over this limit will not be loaded, which means that code owner information is not shown and the appropriate code owners will not be requested to review changes in a pull request.
To reduce the size of your CODEOWNERS file, consider using wildcard patterns to consolidate multiple entries into a single entry.
{% endif %}

View File

@@ -138,7 +138,7 @@ $ curl --request POST \
{% endif %}
[curl]: http://curl.haxx.se/
[oauth-auth]: /rest#authentication
[oauth-auth]: /rest/overview/resources-in-the-rest-api#authentication
[personal-access-tokens]: /articles/creating-a-personal-access-token-for-the-command-line
[saml-sso]: /articles/about-identity-and-access-management-with-saml-single-sign-on
[saml-sso-tokens]: https://github.com/settings/tokens

View File

@@ -62,7 +62,7 @@ Request, grouped together with a state and optional body comment.
## Review comments
Pull request review comments are comments on a portion of the unified diff made during a pull request review. Commit comments and issue comments are different from pull request review comments. You apply commit comments directly to a commit and you apply issue comments without referencing a portion of the unified diff. For more information, see "[Create a commit comment](/rest/reference/git#create-a-commit)" and "[Create an issue comment](/rest/reference/issues#create-an-issue-comment)."
Pull request review comments are comments on a portion of the unified diff made during a pull request review. Commit comments and issue comments are different from pull request review comments. You apply commit comments directly to a commit and you apply issue comments without referencing a portion of the unified diff. For more information, see "[Create a commit comment](/rest/reference/repos#create-a-commit-comment)" and "[Create an issue comment](/rest/reference/issues#create-an-issue-comment)."
### Custom media types for pull request review comments

View File

@@ -204,6 +204,12 @@ To link to the same article in a different version, use this format:
To link to a specific version, you must include the version in the path (e.g., `/enterprise-cloud@latest/admin/overview/about-enterprise-accounts`).
### Links to learning paths
Use this format to link to a learning path.
> For more information, follow the "[LEARNING PATH TITLE]()" learning path.
### Links to external resources
When linking to an external site, choose the most useful resource for the context of the link - you can link to a whole site if it's a general reference or to a specific page if that would be more helpful.

View File

@@ -8,7 +8,7 @@ This site is powered by Node.js! :sparkles: :turtle: :rocket: :sparkles:
It runs on macOS, Windows, and Linux environments.
You'll need Node.js version 16 to run the site. To install Node.js, [download the "LTS" installer from nodejs.org](https://nodejs.org). If you're using [`nodenv`](https://github.com/nodenv/nodenv), read the [`nodenv` docs](#nodenv) for instructions on switching Node.js versions.
You'll need Node.js version 16 to run the site. To install Node.js, [download the "LTS" installer from nodejs.org](https://nodejs.org). If you're using [`nodenv`](https://github.com/nodenv/nodenv), read the [`nodenv` docs](https://github.com/nodenv/nodenv#readme) for instructions on switching Node.js versions.
You'll want to [install Git LFS](https://docs.github.com/en/github/managing-large-files/versioning-large-files/installing-git-large-file-storage).
@@ -24,7 +24,7 @@ npm start
You should now have a running server! Visit [localhost:4000](http://localhost:4000) in your browser. It will automatically restart as you make changes to site content.
When you're ready to stop your local server, type <kbd>CTRL</kbd><kbd>c</kbd> in your terminal window.
When you're ready to stop your local server, type <kbd>Ctrl</kbd>+<kbd>C</kbd> in your terminal window.
Note that `npm ci` and `npm run build` are steps that should typically only need to be run once each time you pull the latest for a branch.
- `npm ci` does a clean install of dependencies, without updating the `package-lock.json` file
@@ -42,7 +42,7 @@ This repo has configuration for debugging with VS Code's built-in Node Debugger.
1. After running the build steps, start the app by running `npm run debug`.
1. In VS Code, click on the Debugging icon in the Activity Bar to bring up the Debug view.
1. In the Debug View, select the **'Node: Nodemon'** configuration, then press F5 or click the green play button. You should see all of your running node processes.
1. In the Debug View, select the **'Node: Nodemon'** configuration, then press <kbd>F5</kbd> or click the green play button. You should see all of your running node processes.
1. Select the node process that's started with the `--inspect` flag.
1. Debugger has now been attached. Enjoy!
@@ -58,11 +58,11 @@ At the `/dev-toc` path, you'll see a list of available versions. Click a version
By default the local server won't run with all supported languages enabled. If you need to run the server with a particular language, you can temporarily edit the `start` script in `package.json` and update the `ENABLED_LANGUAGES` variable. For example, to enable Japanese and Portuguese, you can set it to `ENABLED_LANGUAGES='en,ja,pt'` and then you need to restart the server for the change to take effect.
The supported language codes are defined in [lib/lanuages.js](../lib/languages.js).
The supported language codes are defined in [lib/languages.js](../lib/languages.js).
## Site structure
This site was originally a Ruby on Rails web application. Some time later it was converted into a static site powered by [Jekyll](https://jekyllrb.com/). A few years after that it was migrated to [Nanoc](https://nanoc.ws/), another Ruby static site generator.
This site was originally a Ruby on Rails web application. Some time later it was converted into a static site powered by [Jekyll](https://jekyllrb.com/). A few years after that it was migrated to [Nanoc](https://nanoc.app/), another Ruby static site generator.
Today it's a dynamic Node.js webserver powered by Express, using [middleware](../middleware/README.md) to support proper HTTP redirects, language header detection, and dynamic content generation to support the various flavors of GitHub's product documentation, like GitHub.com and GitHub Enterprise Server.

View File

@@ -1,15 +1,15 @@
# Localization Prep Checklist
Use the following checklist to help make your files more translation-friendly. For additional information, refer to the [style guide](content-style-guide.md).
Use the following checklist to help make your files more translation-friendly. For additional information, refer to the [style guide](content-style-guide.md).It gives more detail about how to translate by being abide to localization rules.
- [ ] Use examples that are generic and can be understood by most people.
- [ ] Avoid controversial examples or culturally specific to a group.
- [ ] Write in active voice.
- [ ] Write simple, short and easy to understand sentences.
- [ ] Avoid using too many pronouns that can make text unclear.
- [ ] Avoid slang and jokes.
- [ ] Avoid using slang and jokes that might be related to any person,place or gender.
- [ ] Avoid negative sentences.
- [ ] Use industry standard acronyms whenever possible and explain custom acronyms.
- [ ] Use industry standard acronyms wherever possible and explain custom acronyms.
- [ ] Use indicative mood.
- [ ] Eliminate redundant and wordy expressions.
- [ ] Avoid the excessive use of stacked modifiers (noun strings). The translator can misunderstand which one is the noun being modified.
@@ -18,6 +18,7 @@ Use the following checklist to help make your files more translation-friendly. F
- [ ] Avoid using ambiguous modal auxiliary verbs.
- [ ] Avoid gender-specific words.
- [ ] Avoid prepositional phrases.
- [ ] Avoid using passive voice to refer the relavant topic.
- [ ] Avoid vague nouns and pronouns (vague sentence subject).
- [ ] Keep inline links to a minimum. If they are necessary, preface them with a phrase such as "For more information, see "Link title". Alternatively, add relevant links to a "Further reading" section at the end of the topic.

View File

@@ -5,8 +5,10 @@ files:
- '/content/README.md'
- '/content/early-access'
- '/content/github/site-policy-deprecated'
excluded_target_languages: ['de', 'ko', 'ru']
- source: /data/**/*.yml
translation: /translations/%locale%/%original_path%/%original_file_name%
excluded_target_languages: ['de', 'ko', 'ru']
- source: /data/**/*.md
translation: /translations/%locale%/%original_path%/%original_file_name%
ignore:
@@ -17,6 +19,7 @@ files:
- '/data/early-access'
- '/data/graphql'
- '/data/products.yml'
excluded_target_languages: ['de', 'ko', 'ru']
# These end up as env vars used by the GitHub Actions workflow
project_id_env: CROWDIN_PROJECT_ID

View File

@@ -12,6 +12,7 @@ sections:
changes:
- 'Browsing and job performance optimizations for repositories with many refs.'
known_issues:
- After saving a new release on a repository, the `/releases` page shows a 500 error. A fix for this issue is expected to ship in 3.2.3.
- On a freshly set up {% data variables.product.prodname_ghe_server %} without any users, an attacker could create the first admin user.
- Custom firewall rules are removed during the upgrade process.
- Git LFS tracked files [uploaded through the web interface](https://github.com/blog/2105-upload-files-to-your-repositories) are incorrectly added directly to the repository.

View File

@@ -1,7 +1,7 @@
When you select the **Rebase and merge** option on a pull request on {% data variables.product.product_location %}, all commits from the topic branch (or head branch) are added onto the base branch individually without a merge commit. Pull requests with rebased commits are merged using the [fast-forward option](https://git-scm.com/docs/git-merge#_fast_forward_merge).
When you select the **Rebase and merge** option on a pull request on {% data variables.product.product_location %}, all commits from the topic branch (or head branch) are added onto the base branch individually without a merge commit. In that way, the rebase and merge behavior resembles a [fast-forward merge](https://git-scm.com/docs/git-merge#_fast_forward_merge) by maintaining a linear project history. However, rebasing achieves this by re-writing the commit history on the base branch with new commits.
The rebase and merge behavior on {% data variables.product.product_name %} deviates slightly from `git rebase`. Rebase and merge on {% data variables.product.prodname_dotcom %} will always update the committer information and create new commit SHAs, whereas `git rebase` outside of {% data variables.product.prodname_dotcom %} does not change the committer information when the rebase happens on top of an ancestor commit. For more information about `git rebase`, see [git-rebase](https://git-scm.com/docs/git-rebase) in the Git documentation.
To rebase and merge pull requests, you must have [write permissions](/articles/repository-permission-levels-for-an-organization/) in the repository, and the repository must [allow rebase merging](/articles/configuring-commit-rebasing-for-pull-requests/).
The rebase and merge behavior on {% data variables.product.product_name %} deviates slightly from `git rebase`. Rebase and merge on {% data variables.product.prodname_dotcom %} will always update the committer information and create new commit SHAs, whereas `git rebase` outside of {% data variables.product.prodname_dotcom %} does not change the committer information when the rebase happens on top of an ancestor commit. For more information about `git rebase`, see [the official Git documentation](https://git-scm.com/docs/git-rebase).
For a visual representation of `git rebase`, see [The "Git Branching - Rebasing" chapter from the _Pro Git_ book](https://git-scm.com/book/en/Git-Branching-Rebasing).

View File

@@ -1,2 +1,2 @@
1. In your user settings sidebar, click **Blocked users**.
1. In your user settings sidebar, click **Blocked users** under **Moderation settings**.
![Blocked users tab](/assets/images/help/settings/settings-sidebar-blocked-users.png)

View File

@@ -4,10 +4,22 @@ import fs from 'fs/promises'
import Page from './page.js'
const __dirname = path.dirname(fileURLToPath(import.meta.url))
// Module level cache
const _basePaths = new Map()
// Return a full directory based on __dirname from a specific language directory.
// This function is memoized with a simple global cache object.
function getBasePath(directory) {
if (!_basePaths.has(directory)) {
_basePaths.set(directory, path.posix.join(__dirname, '..', directory, 'content'))
console.log(_basePaths.get(directory))
}
return _basePaths.get(directory)
}
export default async function createTree(originalPath, langObj) {
// This basePath definition is needed both here and in lib/page-data.js because this
// function runs recursively, and the value for originalPath changes on recursive runs.
const basePath = path.posix.join(__dirname, '..', langObj.dir, 'content')
const basePath = getBasePath(langObj.dir)
// On recursive runs, this is processing page.children items in `/<link>` format.
// If the path exists as is, assume this is a directory with a child index.md.

View File

@@ -3,6 +3,8 @@ import fetch from 'node-fetch'
import statsd from '../lib/statsd.js'
import FailBot from '../lib/failbot.js'
const TIME_OUT_TEXT = 'ms has passed since batch creation'
export default class Hydro {
constructor({ secret, endpoint } = {}) {
this.secret = secret || process.env.HYDRO_SECRET
@@ -67,6 +69,9 @@ export default class Hydro {
const failures = await res.text()
// If Hydro just took too long, ignore it
if (failures.includes(TIME_OUT_TEXT)) throw new Error(`Hydro timed out (${failures})`)
FailBot.report(err, {
hydroStatus: res.status,
hydroText: res.statusText,

87
lib/liquid-tags/tokens.js Normal file
View File

@@ -0,0 +1,87 @@
import walk from 'walk-sync'
import { Tokenizer } from 'liquidjs'
import { readFileSync } from 'fs'
import gitDiff from 'git-diff'
import _ from 'lodash'
function getGitDiff(a, b) {
return gitDiff(a, b, { flags: '--ignore-all-space' })
}
function getMissingLines(diff) {
return diff
.split('\n')
.filter((line) => line.startsWith('-'))
.map((line) => line.replace('-', ''))
}
function getExceedingLines(diff) {
return diff
.split('\n')
.filter((line) => line.startsWith('+'))
.map((line) => line.replace('+', ''))
}
export function languageFiles(language, folder = 'content') {
const englishFiles = walk(folder, { directories: false })
const languageFiles = walk(`${language.dir}/${folder}`, { directories: false })
return _.intersection(englishFiles, languageFiles).map((file) => `${folder}/${file}`)
}
export function compareLiquidTags(file, language) {
const translation = `${language.dir}/${file}`
const sourceTokens = getTokensFromFile(file).rejectType('html')
const otherFileTokens = getTokensFromFile(translation).rejectType('html')
const diff = sourceTokens.diff(otherFileTokens)
return {
file,
translation,
diff,
}
}
function getTokens(contents) {
const tokenizer = new Tokenizer(contents)
return new Tokens(...tokenizer.readTopLevelTokens())
}
export function getTokensFromFile(filePath) {
const contents = readFileSync(filePath, 'utf8')
try {
return new Tokens(...getTokens(contents))
} catch (e) {
const error = new Error(`Error parsing ${filePath}: ${e.message}`)
error.filePath = filePath
throw error
}
}
export class Tokens extends Array {
rejectType(tagType) {
return this.filter(
(token) => token.constructor.name.toUpperCase() !== `${tagType}Token`.toUpperCase()
)
}
onlyText() {
return this.map((token) => token.getText())
}
diff(otherTokens) {
const a = this.onlyText()
const b = otherTokens.onlyText()
const diff = getGitDiff(a.join('\n'), b.join('\n'))
if (!diff) {
return { count: 0, missing: [], exceeding: [], output: '' }
}
const missing = getMissingLines(diff)
const exceeding = getExceedingLines(diff)
const count = exceeding.length + missing.length
return { count, missing, exceeding, output: diff }
}
}

File diff suppressed because one or more lines are too long

View File

@@ -67003,13 +67003,13 @@
"x-codeSamples": [
{
"lang": "Shell",
"source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/scim/v2/enterprises/ENTERPRISE/Groups/SCIM_GROUP_ID \\\n -d '{\"schemas\":[\"schemas\"],\"Operations\":[{\"op\":\"op\",\"path\":\"path\",\"value\":\"value\"}]}'",
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/scim/v2/enterprises/ENTERPRISE/Groups/SCIM_GROUP_ID \\\n -d '{\"schemas\":[\"schemas\"],\"Operations\":[{\"op\":\"op\",\"path\":\"path\",\"value\":\"value\"}]}'</code></pre>"
"source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/scim/v2/enterprises/ENTERPRISE/Groups/SCIM_GROUP_ID \\\n -d '{\"schemas\":[\"schemas\"],\"Operations\":[{\"op\":\"op\",\"path\":\"path\",\"value\":\"any\"}]}'",
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/scim/v2/enterprises/ENTERPRISE/Groups/SCIM_GROUP_ID \\\n -d '{\"schemas\":[\"schemas\"],\"Operations\":[{\"op\":\"op\",\"path\":\"path\",\"value\":\"any\"}]}'</code></pre>"
},
{
"lang": "JavaScript",
"source": "await octokit.request('PATCH /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}', {\n enterprise: 'enterprise',\n scim_group_id: 'scim_group_id',\n schemas: [\n 'schemas'\n ],\n Operations: [\n {\n op: 'op',\n path: 'path',\n value: 'value'\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\">'PATCH /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}'</span>, {\n <span class=\"hljs-attr\">enterprise</span>: <span class=\"hljs-string\">'enterprise'</span>,\n <span class=\"hljs-attr\">scim_group_id</span>: <span class=\"hljs-string\">'scim_group_id'</span>,\n <span class=\"hljs-attr\">schemas</span>: [\n <span class=\"hljs-string\">'schemas'</span>\n ],\n <span class=\"hljs-title hljs-class\">Operations</span>: [\n {\n <span class=\"hljs-attr\">op</span>: <span class=\"hljs-string\">'op'</span>,\n <span class=\"hljs-attr\">path</span>: <span class=\"hljs-string\">'path'</span>,\n <span class=\"hljs-attr\">value</span>: <span class=\"hljs-string\">'value'</span>\n }\n ]\n})\n</code></pre>"
"source": "await octokit.request('PATCH /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}', {\n enterprise: 'enterprise',\n scim_group_id: 'scim_group_id',\n schemas: [\n 'schemas'\n ],\n Operations: [\n {\n op: 'op',\n path: 'path',\n value: 'any'\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\">'PATCH /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}'</span>, {\n <span class=\"hljs-attr\">enterprise</span>: <span class=\"hljs-string\">'enterprise'</span>,\n <span class=\"hljs-attr\">scim_group_id</span>: <span class=\"hljs-string\">'scim_group_id'</span>,\n <span class=\"hljs-attr\">schemas</span>: [\n <span class=\"hljs-string\">'schemas'</span>\n ],\n <span class=\"hljs-title hljs-class\">Operations</span>: [\n {\n <span class=\"hljs-attr\">op</span>: <span class=\"hljs-string\">'op'</span>,\n <span class=\"hljs-attr\">path</span>: <span class=\"hljs-string\">'path'</span>,\n <span class=\"hljs-attr\">value</span>: <span class=\"hljs-string\">'any'</span>\n }\n ]\n})\n</code></pre>"
}
],
"summary": "Update an attribute for a SCIM enterprise group",
@@ -67073,21 +67073,11 @@
"childParamsGroups": []
},
"value": {
"oneOf": [
{
"type": "string"
},
{
"type": "object"
},
{
"type": "array"
}
],
"description": "<p>Can be any value - string, number, array or object.</p>",
"name": "value",
"in": "body",
"type": "string or object or array",
"description": "",
"rawDescription": "Can be any value - string, number, array or object.",
"type": "",
"childParamsGroups": []
}
},
@@ -67130,21 +67120,11 @@
"childParamsGroups": []
},
{
"oneOf": [
{
"type": "string"
},
{
"type": "object"
},
{
"type": "array"
}
],
"description": "<p>Can be any value - string, number, array or object.</p>",
"name": "value",
"in": "body",
"type": "string or object or array",
"description": "",
"rawDescription": "Can be any value - string, number, array or object.",
"type": "",
"childParamsGroups": []
}
]
@@ -67243,21 +67223,11 @@
"childParamsGroups": []
},
"value": {
"oneOf": [
{
"type": "string"
},
{
"type": "object"
},
{
"type": "array"
}
],
"description": "<p>Can be any value - string, number, array or object.</p>",
"name": "value",
"in": "body",
"type": "string or object or array",
"description": "",
"rawDescription": "Can be any value - string, number, array or object.",
"type": "",
"childParamsGroups": []
}
},
@@ -67300,21 +67270,11 @@
"childParamsGroups": []
},
{
"oneOf": [
{
"type": "string"
},
{
"type": "object"
},
{
"type": "array"
}
],
"description": "<p>Can be any value - string, number, array or object.</p>",
"name": "value",
"in": "body",
"type": "string or object or array",
"description": "",
"rawDescription": "Can be any value - string, number, array or object.",
"type": "",
"childParamsGroups": []
}
]

View File

@@ -21932,10 +21932,16 @@
"type": "string"
},
"config": {
"type": "array"
"type": "array",
"items": {
"type": "object"
}
},
"config_was": {
"type": "array"
"type": "array",
"items": {
"type": "object"
}
},
"content_type": {
"type": "string"
@@ -21955,10 +21961,16 @@
"type": "string"
},
"events": {
"type": "array"
"type": "array",
"items": {
"type": "object"
}
},
"events_were": {
"type": "array"
"type": "array",
"items": {
"type": "object"
}
},
"explanation": {
"type": "string"
@@ -62121,10 +62133,16 @@
"type": "string"
},
"config": {
"type": "array"
"type": "array",
"items": {
"type": "object"
}
},
"config_was": {
"type": "array"
"type": "array",
"items": {
"type": "object"
}
},
"content_type": {
"type": "string"
@@ -62144,10 +62162,16 @@
"type": "string"
},
"events": {
"type": "array"
"type": "array",
"items": {
"type": "object"
}
},
"events_were": {
"type": "array"
"type": "array",
"items": {
"type": "object"
}
},
"explanation": {
"type": "string"
@@ -87721,7 +87745,10 @@
"title": "Container Metadata",
"properties": {
"tags": {
"type": "array"
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
@@ -87733,7 +87760,10 @@
"title": "Docker Metadata",
"properties": {
"tag": {
"type": "array"
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
@@ -88008,7 +88038,10 @@
"title": "Container Metadata",
"properties": {
"tags": {
"type": "array"
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
@@ -88020,7 +88053,10 @@
"title": "Docker Metadata",
"properties": {
"tag": {
"type": "array"
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
@@ -164020,6 +164056,7 @@
"nullable": true
},
"pull_requests": {
"type": "array",
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -164981,6 +165018,7 @@
"nullable": true
},
"pull_requests": {
"type": "array",
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -166196,6 +166234,7 @@
"nullable": true
},
"pull_requests": {
"type": "array",
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -177121,6 +177160,7 @@
"nullable": true
},
"pull_requests": {
"type": "array",
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -180428,7 +180468,7 @@
},
"delete": {
"summary": "Delete a code scanning analysis from a repository",
"description": "Deletes a specified code scanning analysis from a repository. For\nprivate repositories, you must use an access token with the `repo` scope. For public repositories,\nyou must use an access token with `public_repo` and `repo:security_events` scopes.\nGitHub Apps must have the `security_events` write permission to use this endpoint.\n\nYou can delete one analysis at a time.\nTo delete a series of analyses, start with the most recent analysis and work backwards.\nConceptually, the process is similar to the undo function in a text editor.\n\nWhen you list the analyses for a repository,\none or more will be identified as deletable in the response:\n\n```\n\"deletable\": true\n```\n\nAn analysis is deletable when it's the most recent in a set of analyses.\nTypically, a repository will have multiple sets of analyses\nfor each enabled code scanning tool,\nwhere a set is determined by a unique combination of analysis values:\n\n* `ref`\n* `tool`\n* `analysis_key`\n* `environment`\n\nIf you attempt to delete an analysis that is not the most recent in a set,\nyou'll get a 400 response with the message:\n\n```\nAnalysis specified is not deletable.\n```\n\nThe response from a successful `DELETE` operation provides you with\ntwo alternative URLs for deleting the next analysis in the set\n(see the example default response below).\nUse the `next_analysis_url` URL if you want to avoid accidentally deleting the final analysis\nin the set. This is a useful option if you want to preserve at least one analysis\nfor the specified tool in your repository.\nUse the `confirm_delete_url` URL if you are content to remove all analyses for a tool.\nWhen you delete the last analysis in a set the value of `next_analysis_url` and `confirm_delete_url`\nin the 200 response is `null`.\n\nAs an example of the deletion process,\nlet's imagine that you added a workflow that configured a particular code scanning tool\nto analyze the code in a repository. This tool has added 15 analyses:\n10 on the default branch, and another 5 on a topic branch.\nYou therefore have two separate sets of analyses for this tool.\nYou've now decided that you want to remove all of the analyses for the tool.\nTo do this you must make 15 separate deletion requests.\nTo start, you must find the deletable analysis for one of the sets,\nstep through deleting the analyses in that set,\nand then repeat the process for the second set.\nThe procedure therefore consists of a nested loop:\n\n**Outer loop**:\n* List the analyses for the repository, filtered by tool.\n* Parse this list to find a deletable analysis. If found:\n\n **Inner loop**:\n * Delete the identified analysis.\n * Parse the response for the value of `confirm_delete_url` and, if found, use this in the next iteration.\n\nThe above process assumes that you want to remove all trace of the tool's analyses from the GitHub user interface, for the specified repository, and it therefore uses the `confirm_delete_url` value. Alternatively, you could use the `next_analysis_url` value, which would leave the last analysis in each set undeleted to avoid removing a tool's analysis entirely.",
"description": "Deletes a specified code scanning analysis from a repository. For\nprivate repositories, you must use an access token with the `repo` scope. For public repositories,\nyou must use an access token with `public_repo` and `repo:security_events` scopes.\nGitHub Apps must have the `security_events` write permission to use this endpoint.\n\nYou can delete one analysis at a time.\nTo delete a series of analyses, start with the most recent analysis and work backwards.\nConceptually, the process is similar to the undo function in a text editor.\n\nWhen you list the analyses for a repository,\none or more will be identified as deletable in the response:\n\n```\n\"deletable\": true\n```\n\nAn analysis is deletable when it's the most recent in a set of analyses.\nTypically, a repository will have multiple sets of analyses\nfor each enabled code scanning tool,\nwhere a set is determined by a unique combination of analysis values:\n\n* `ref`\n* `tool`\n* `analysis_key`\n* `environment`\n\nIf you attempt to delete an analysis that is not the most recent in a set,\nyou'll get a 400 response with the message:\n\n```\nAnalysis specified is not deletable.\n```\n\nThe response from a successful `DELETE` operation provides you with\ntwo alternative URLs for deleting the next analysis in the set:\n`next_analysis_url` and `confirm_delete_url`.\nUse the `next_analysis_url` URL if you want to avoid accidentally deleting the final analysis\nin a set. This is a useful option if you want to preserve at least one analysis\nfor the specified tool in your repository.\nUse the `confirm_delete_url` URL if you are content to remove all analyses for a tool.\nWhen you delete the last analysis in a set, the value of `next_analysis_url` and `confirm_delete_url`\nin the 200 response is `null`.\n\nAs an example of the deletion process,\nlet's imagine that you added a workflow that configured a particular code scanning tool\nto analyze the code in a repository. This tool has added 15 analyses:\n10 on the default branch, and another 5 on a topic branch.\nYou therefore have two separate sets of analyses for this tool.\nYou've now decided that you want to remove all of the analyses for the tool.\nTo do this you must make 15 separate deletion requests.\nTo start, you must find an analysis that's identified as deletable.\nEach set of analyses always has one that's identified as deletable.\nHaving found the deletable analysis for one of the two sets,\ndelete this analysis and then continue deleting the next analysis in the set until they're all deleted.\nThen repeat the process for the second set.\nThe procedure therefore consists of a nested loop:\n\n**Outer loop**:\n* List the analyses for the repository, filtered by tool.\n* Parse this list to find a deletable analysis. If found:\n\n **Inner loop**:\n * Delete the identified analysis.\n * Parse the response for the value of `confirm_delete_url` and, if found, use this in the next iteration.\n\nThe above process assumes that you want to remove all trace of the tool's analyses from the GitHub user interface, for the specified repository, and it therefore uses the `confirm_delete_url` value. Alternatively, you could use the `next_analysis_url` value, which would leave the last analysis in each set undeleted to avoid removing a tool's analysis entirely.",
"operationId": "code-scanning/delete-analysis",
"tags": [
"code-scanning"
@@ -183029,7 +183069,8 @@
"storage_in_bytes",
"memory_in_bytes",
"cpus"
]
],
"nullable": true
},
"created_at": {
"type": "string",
@@ -183116,7 +183157,7 @@
"example": "WestUs2",
"type": "string"
},
"auto_stop_delay_minutes": {
"idle_timeout_minutes": {
"description": "The number of minutes of inactivity after which this codespace will be automatically stopped.",
"type": "integer",
"example": 60,
@@ -183170,7 +183211,7 @@
"url",
"git_status",
"location",
"auto_stop_delay_minutes",
"idle_timeout_minutes",
"web_url",
"machines_url",
"start_url",
@@ -183315,7 +183356,7 @@
"ref": "main"
},
"location": "WestUs2",
"auto_stop_delay_minutes": 60,
"idle_timeout_minutes": 60,
"web_url": "https://monalisa-octocat-hello-world-g4wpq6h95q.github.dev",
"machines_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/machines",
"start_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/start",
@@ -185303,7 +185344,8 @@
"storage_in_bytes",
"memory_in_bytes",
"cpus"
]
],
"nullable": true
},
"created_at": {
"type": "string",
@@ -185390,7 +185432,7 @@
"example": "WestUs2",
"type": "string"
},
"auto_stop_delay_minutes": {
"idle_timeout_minutes": {
"description": "The number of minutes of inactivity after which this codespace will be automatically stopped.",
"type": "integer",
"example": 60,
@@ -185444,7 +185486,7 @@
"url",
"git_status",
"location",
"auto_stop_delay_minutes",
"idle_timeout_minutes",
"web_url",
"machines_url",
"start_url",
@@ -185589,7 +185631,7 @@
"ref": "main"
},
"location": "WestUs2",
"auto_stop_delay_minutes": 60,
"idle_timeout_minutes": 60,
"web_url": "https://monalisa-octocat-hello-world-g4wpq6h95q.github.dev",
"machines_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/machines",
"start_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/start",
@@ -198643,6 +198685,7 @@
"nullable": true
},
"pull_requests": {
"type": "array",
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -294324,6 +294367,9 @@
},
"domains": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of the domain set and its alternate name (if it is configured)",
"example": [
"example.com",
@@ -294602,6 +294648,9 @@
},
"domains": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of the domain set and its alternate name (if it is configured)",
"example": [
"example.com",
@@ -316721,7 +316770,8 @@
"storage_in_bytes",
"memory_in_bytes",
"cpus"
]
],
"nullable": true
},
"created_at": {
"type": "string",
@@ -316808,7 +316858,7 @@
"example": "WestUs2",
"type": "string"
},
"auto_stop_delay_minutes": {
"idle_timeout_minutes": {
"description": "The number of minutes of inactivity after which this codespace will be automatically stopped.",
"type": "integer",
"example": 60,
@@ -316862,7 +316912,7 @@
"url",
"git_status",
"location",
"auto_stop_delay_minutes",
"idle_timeout_minutes",
"web_url",
"machines_url",
"start_url",
@@ -317007,7 +317057,7 @@
"ref": "main"
},
"location": "WestUs2",
"auto_stop_delay_minutes": 60,
"idle_timeout_minutes": 60,
"web_url": "https://monalisa-octocat-hello-world-g4wpq6h95q.github.dev",
"machines_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/machines",
"start_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/start",
@@ -318995,7 +319045,8 @@
"storage_in_bytes",
"memory_in_bytes",
"cpus"
]
],
"nullable": true
},
"created_at": {
"type": "string",
@@ -319082,7 +319133,7 @@
"example": "WestUs2",
"type": "string"
},
"auto_stop_delay_minutes": {
"idle_timeout_minutes": {
"description": "The number of minutes of inactivity after which this codespace will be automatically stopped.",
"type": "integer",
"example": 60,
@@ -319136,7 +319187,7 @@
"url",
"git_status",
"location",
"auto_stop_delay_minutes",
"idle_timeout_minutes",
"web_url",
"machines_url",
"start_url",
@@ -319281,7 +319332,7 @@
"ref": "main"
},
"location": "WestUs2",
"auto_stop_delay_minutes": 60,
"idle_timeout_minutes": 60,
"web_url": "https://monalisa-octocat-hello-world-g4wpq6h95q.github.dev",
"machines_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/machines",
"start_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/start",
@@ -352714,17 +352765,7 @@
"type": "string"
},
"value": {
"oneOf": [
{
"type": "string"
},
{
"type": "object"
},
{
"type": "array"
}
]
"description": "Can be any value - string, number, array or object."
}
},
"required": [
@@ -381215,6 +381256,14 @@
"type": "integer",
"default": 1
}
},
{
"name": "repository_id",
"description": "ID of the Repository to filter on",
"in": "query",
"schema": {
"type": "integer"
}
}
],
"responses": {
@@ -383203,7 +383252,8 @@
"storage_in_bytes",
"memory_in_bytes",
"cpus"
]
],
"nullable": true
},
"created_at": {
"type": "string",
@@ -383290,7 +383340,7 @@
"example": "WestUs2",
"type": "string"
},
"auto_stop_delay_minutes": {
"idle_timeout_minutes": {
"description": "The number of minutes of inactivity after which this codespace will be automatically stopped.",
"type": "integer",
"example": 60,
@@ -383344,7 +383394,7 @@
"url",
"git_status",
"location",
"auto_stop_delay_minutes",
"idle_timeout_minutes",
"web_url",
"machines_url",
"start_url",
@@ -383495,7 +383545,7 @@
"ref": "main"
},
"location": "WestUs2",
"auto_stop_delay_minutes": 60,
"idle_timeout_minutes": 60,
"web_url": "https://monalisa-octocat-hello-world-g4wpq6h95q.github.dev",
"machines_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/machines",
"start_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/start",
@@ -383638,7 +383688,7 @@
"ref": "main"
},
"location": "WestUs2",
"auto_stop_delay_minutes": 60,
"idle_timeout_minutes": 60,
"web_url": "https://monalisa-octocat-hello-world-3f89ada1j3.github.dev",
"machines_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/machines",
"start_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/start",
@@ -383781,7 +383831,7 @@
"ref": "main"
},
"location": "WestUs2",
"auto_stop_delay_minutes": 60,
"idle_timeout_minutes": 60,
"web_url": "https://monalisa-octocat-hello-world-f8adfad99a.github.dev",
"machines_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/machines",
"start_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/start",
@@ -385981,7 +386031,8 @@
"storage_in_bytes",
"memory_in_bytes",
"cpus"
]
],
"nullable": true
},
"created_at": {
"type": "string",
@@ -386068,7 +386119,7 @@
"example": "WestUs2",
"type": "string"
},
"auto_stop_delay_minutes": {
"idle_timeout_minutes": {
"description": "The number of minutes of inactivity after which this codespace will be automatically stopped.",
"type": "integer",
"example": 60,
@@ -386122,7 +386173,7 @@
"url",
"git_status",
"location",
"auto_stop_delay_minutes",
"idle_timeout_minutes",
"web_url",
"machines_url",
"start_url",
@@ -386267,7 +386318,7 @@
"ref": "main"
},
"location": "WestUs2",
"auto_stop_delay_minutes": 60,
"idle_timeout_minutes": 60,
"web_url": "https://monalisa-octocat-hello-world-g4wpq6h95q.github.dev",
"machines_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/machines",
"start_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/start",
@@ -388255,7 +388306,8 @@
"storage_in_bytes",
"memory_in_bytes",
"cpus"
]
],
"nullable": true
},
"created_at": {
"type": "string",
@@ -388342,7 +388394,7 @@
"example": "WestUs2",
"type": "string"
},
"auto_stop_delay_minutes": {
"idle_timeout_minutes": {
"description": "The number of minutes of inactivity after which this codespace will be automatically stopped.",
"type": "integer",
"example": 60,
@@ -388396,7 +388448,7 @@
"url",
"git_status",
"location",
"auto_stop_delay_minutes",
"idle_timeout_minutes",
"web_url",
"machines_url",
"start_url",
@@ -388541,7 +388593,7 @@
"ref": "main"
},
"location": "WestUs2",
"auto_stop_delay_minutes": 60,
"idle_timeout_minutes": 60,
"web_url": "https://monalisa-octocat-hello-world-g4wpq6h95q.github.dev",
"machines_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/machines",
"start_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/start",
@@ -393906,7 +393958,8 @@
"storage_in_bytes",
"memory_in_bytes",
"cpus"
]
],
"nullable": true
},
"created_at": {
"type": "string",
@@ -393993,7 +394046,7 @@
"example": "WestUs2",
"type": "string"
},
"auto_stop_delay_minutes": {
"idle_timeout_minutes": {
"description": "The number of minutes of inactivity after which this codespace will be automatically stopped.",
"type": "integer",
"example": 60,
@@ -394047,7 +394100,7 @@
"url",
"git_status",
"location",
"auto_stop_delay_minutes",
"idle_timeout_minutes",
"web_url",
"machines_url",
"start_url",
@@ -394192,7 +394245,7 @@
"ref": "main"
},
"location": "WestUs2",
"auto_stop_delay_minutes": 60,
"idle_timeout_minutes": 60,
"web_url": "https://monalisa-octocat-hello-world-g4wpq6h95q.github.dev",
"machines_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/machines",
"start_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/start",
@@ -396337,7 +396390,8 @@
"storage_in_bytes",
"memory_in_bytes",
"cpus"
]
],
"nullable": true
},
"created_at": {
"type": "string",
@@ -396424,7 +396478,7 @@
"example": "WestUs2",
"type": "string"
},
"auto_stop_delay_minutes": {
"idle_timeout_minutes": {
"description": "The number of minutes of inactivity after which this codespace will be automatically stopped.",
"type": "integer",
"example": 60,
@@ -396478,7 +396532,7 @@
"url",
"git_status",
"location",
"auto_stop_delay_minutes",
"idle_timeout_minutes",
"web_url",
"machines_url",
"start_url",
@@ -396623,7 +396677,7 @@
"ref": "main"
},
"location": "WestUs2",
"auto_stop_delay_minutes": 60,
"idle_timeout_minutes": 60,
"web_url": "https://monalisa-octocat-hello-world-g4wpq6h95q.github.dev",
"machines_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/machines",
"start_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/start",
@@ -399102,7 +399156,8 @@
"storage_in_bytes",
"memory_in_bytes",
"cpus"
]
],
"nullable": true
},
"created_at": {
"type": "string",
@@ -399189,7 +399244,7 @@
"example": "WestUs2",
"type": "string"
},
"auto_stop_delay_minutes": {
"idle_timeout_minutes": {
"description": "The number of minutes of inactivity after which this codespace will be automatically stopped.",
"type": "integer",
"example": 60,
@@ -399243,7 +399298,7 @@
"url",
"git_status",
"location",
"auto_stop_delay_minutes",
"idle_timeout_minutes",
"web_url",
"machines_url",
"start_url",
@@ -399388,7 +399443,7 @@
"ref": "main"
},
"location": "WestUs2",
"auto_stop_delay_minutes": 60,
"idle_timeout_minutes": 60,
"web_url": "https://monalisa-octocat-hello-world-g4wpq6h95q.github.dev",
"machines_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/machines",
"start_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/start",
@@ -401628,7 +401683,8 @@
"storage_in_bytes",
"memory_in_bytes",
"cpus"
]
],
"nullable": true
},
"created_at": {
"type": "string",
@@ -401715,7 +401771,7 @@
"example": "WestUs2",
"type": "string"
},
"auto_stop_delay_minutes": {
"idle_timeout_minutes": {
"description": "The number of minutes of inactivity after which this codespace will be automatically stopped.",
"type": "integer",
"example": 60,
@@ -401769,7 +401825,7 @@
"url",
"git_status",
"location",
"auto_stop_delay_minutes",
"idle_timeout_minutes",
"web_url",
"machines_url",
"start_url",
@@ -401914,7 +401970,7 @@
"ref": "main"
},
"location": "WestUs2",
"auto_stop_delay_minutes": 60,
"idle_timeout_minutes": 60,
"web_url": "https://monalisa-octocat-hello-world-g4wpq6h95q.github.dev",
"machines_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/machines",
"start_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/start",
@@ -425098,7 +425154,10 @@
"title": "Container Metadata",
"properties": {
"tags": {
"type": "array"
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
@@ -425110,7 +425169,10 @@
"title": "Docker Metadata",
"properties": {
"tag": {
"type": "array"
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
@@ -425387,7 +425449,10 @@
"title": "Container Metadata",
"properties": {
"tags": {
"type": "array"
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
@@ -425399,7 +425464,10 @@
"title": "Docker Metadata",
"properties": {
"tag": {
"type": "array"
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
@@ -454265,7 +454333,10 @@
"title": "Container Metadata",
"properties": {
"tags": {
"type": "array"
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
@@ -454277,7 +454348,10 @@
"title": "Docker Metadata",
"properties": {
"tag": {
"type": "array"
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
@@ -454569,7 +454643,10 @@
"title": "Container Metadata",
"properties": {
"tags": {
"type": "array"
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
@@ -454581,7 +454658,10 @@
"title": "Docker Metadata",
"properties": {
"tag": {
"type": "array"
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [

View File

@@ -140959,6 +140959,7 @@
"nullable": true
},
"pull_requests": {
"type": "array",
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -141920,6 +141921,7 @@
"nullable": true
},
"pull_requests": {
"type": "array",
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -143135,6 +143137,7 @@
"nullable": true
},
"pull_requests": {
"type": "array",
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -153856,6 +153859,7 @@
"nullable": true
},
"pull_requests": {
"type": "array",
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -169344,6 +169348,7 @@
"nullable": true
},
"pull_requests": {
"type": "array",
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -259710,6 +259715,9 @@
},
"domains": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of the domain set and its alternate name (if it is configured)",
"example": [
"example.com",
@@ -259988,6 +259996,9 @@
},
"domains": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of the domain set and its alternate name (if it is configured)",
"example": [
"example.com",

View File

@@ -66259,10 +66259,16 @@
"type": "string"
},
"config": {
"type": "array"
"type": "array",
"items": {
"type": "object"
}
},
"config_was": {
"type": "array"
"type": "array",
"items": {
"type": "object"
}
},
"content_type": {
"type": "string"
@@ -66282,10 +66288,16 @@
"type": "string"
},
"events": {
"type": "array"
"type": "array",
"items": {
"type": "object"
}
},
"events_were": {
"type": "array"
"type": "array",
"items": {
"type": "object"
}
},
"explanation": {
"type": "string"
@@ -142875,6 +142887,7 @@
"nullable": true
},
"pull_requests": {
"type": "array",
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -143836,6 +143849,7 @@
"nullable": true
},
"pull_requests": {
"type": "array",
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -145051,6 +145065,7 @@
"nullable": true
},
"pull_requests": {
"type": "array",
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -155772,6 +155787,7 @@
"nullable": true
},
"pull_requests": {
"type": "array",
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -172337,6 +172353,7 @@
"nullable": true
},
"pull_requests": {
"type": "array",
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -262703,6 +262720,9 @@
},
"domains": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of the domain set and its alternate name (if it is configured)",
"example": [
"example.com",
@@ -262981,6 +263001,9 @@
},
"domains": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of the domain set and its alternate name (if it is configured)",
"example": [
"example.com",

View File

@@ -67299,10 +67299,16 @@
"type": "string"
},
"config": {
"type": "array"
"type": "array",
"items": {
"type": "object"
}
},
"config_was": {
"type": "array"
"type": "array",
"items": {
"type": "object"
}
},
"content_type": {
"type": "string"
@@ -67322,10 +67328,16 @@
"type": "string"
},
"events": {
"type": "array"
"type": "array",
"items": {
"type": "object"
}
},
"events_were": {
"type": "array"
"type": "array",
"items": {
"type": "object"
}
},
"explanation": {
"type": "string"
@@ -146492,6 +146504,7 @@
"nullable": true
},
"pull_requests": {
"type": "array",
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -147453,6 +147466,7 @@
"nullable": true
},
"pull_requests": {
"type": "array",
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -148668,6 +148682,7 @@
"nullable": true
},
"pull_requests": {
"type": "array",
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -159437,6 +159452,7 @@
"nullable": true
},
"pull_requests": {
"type": "array",
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -176053,6 +176069,7 @@
"nullable": true
},
"pull_requests": {
"type": "array",
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -269452,6 +269469,9 @@
},
"domains": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of the domain set and its alternate name (if it is configured)",
"example": [
"example.com",
@@ -269730,6 +269750,9 @@
},
"domains": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of the domain set and its alternate name (if it is configured)",
"example": [
"example.com",

View File

@@ -115991,6 +115991,7 @@
"nullable": true
},
"pull_requests": {
"type": "array",
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -116952,6 +116953,7 @@
"nullable": true
},
"pull_requests": {
"type": "array",
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -118167,6 +118169,7 @@
"nullable": true
},
"pull_requests": {
"type": "array",
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -129076,6 +129079,7 @@
"nullable": true
},
"pull_requests": {
"type": "array",
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -145397,6 +145401,7 @@
"nullable": true
},
"pull_requests": {
"type": "array",
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -236774,6 +236779,9 @@
},
"domains": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of the domain set and its alternate name (if it is configured)",
"example": [
"example.com",
@@ -237052,6 +237060,9 @@
},
"domains": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of the domain set and its alternate name (if it is configured)",
"example": [
"example.com",
@@ -286695,17 +286706,7 @@
"type": "string"
},
"value": {
"oneOf": [
{
"type": "string"
},
{
"type": "object"
},
{
"type": "array"
}
]
"description": "Can be any value - string, number, array or object."
}
},
"required": [

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:71da4ef54c673c2cd0f5f931c6c28286c2290b589d88b5e7819fb93111cb7564
size 567770
oid sha256:6bddf211469afc6e3cca8069e43eed04b825addabcfb679532f45a73c9239c98
size 540665

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d908082ee678be06e6181de8bffcd18a5ea11a409fd45f8a28ad71f95f5c7f57
size 985436
oid sha256:5b69b266d57cd871beff872bc50a75e5e2c671929b8c427c930484aa4bb30f7f
size 930010

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f19284b4f0b1ab8f0295e085d5620d2119f2715aefc5ec3512c05cc47df1750c
size 470328
oid sha256:573608e6de7e1137cffc03f486b6815d84885719ebd9e69fa6821f9d90dc13d3
size 471535

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b7f80156669468b2798aff8170a71f91e5e61eed21c0ec09a6dbf4368ee3244b
size 1843428
oid sha256:5002966044a5b2a89e8ca7fa33336b3bf9faf5ccd7bcee2be613edb3257864e5
size 1844273

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1745d6e4f2b03e15151cf9c99cdb5b68666c036445c3c43f3941ea71a75253c7
size 500278
oid sha256:4bcd6562efda8fe3d207162521c6aaddc4609fcf032e84ec874b020affc7db71
size 472923

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f6888b6b56bdae66bc671aa88aca9b01fda0d331b1bbb3e004adebb2f9b92997
size 2100731
oid sha256:2af95762f5385e259c2fe572a4207f2341cfb05790b89146d0c4ea4f955f6ca4
size 1942040

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9e7722f3f544837f3ca7b1dd7f81100fd9b670c91a18785266460abbf54f83ec
size 592078
oid sha256:deddf329a55f4708fd8e3b21b0f4f7fca2a269b5f85f0513f31919cdb9a126d6
size 561350

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7ecbf60ed2211c0a5ccd3586ec3dc7344fbb3232c907cbcdfc891338f25804f8
size 3228487
oid sha256:b2a065b28ddb33d92e510f9ff36015a21875d877237c38b9065888493ec2cd8a
size 2993085

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9017eaa99e7209f708d663bb21210d39e5f9bd580d1a61f893aa055e7fe5559a
size 497949
oid sha256:78a3a1236a707215b9d2309458885cdd0daf4f878ed13cc5db622e627f633d50
size 470460

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6b3fa3a9ef1282417f6ef5270cc27ec55eab9002a81327b948f4ae16c754bd47
size 2124878
oid sha256:78aa8ad26123dc04fe577bbc4f9b0c3a571cdd4c834226d8cfcf1a8a1cec7052
size 1962047

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:42af39db59783e81c37ad550998d138a768e18b29e60e4b2afeb154dceafbaec
size 581715
oid sha256:19eaaa86ce3597a43d7604ef18a916bdc381fa74f11c66b41c75364fe937517c
size 554129

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e063af1c4ee2e288ba8adbae609fb685e771e0f99ba540927a17807cc0e18796
size 1014727
oid sha256:dcbad23a8e90978e8b59bf5609f3cebdf3edbeed756a8d78e7a3b0cf41ebfded
size 958753

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d064caec65a168dc511fb49e6b0dc8ee8f20c896ec0b4e16d682d0ec1492ec39
size 480442
oid sha256:75bc83f8b79dfe027cdec69e923f7455ea2b9e5007b4d8629ca25d73e7deb541
size 481398

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7e51feef053f26aadee377132689145f3046b662415e34136794a6b7e6cd63dc
size 1888210
oid sha256:7bc09277b042cf6ef187bf7a2801f008078983afe7b0e7ab7ee2b84b0c542df8
size 1888580

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:12882ba8f4587a53b06252816c99b561131c13964a0bfb6aed9b5e07b2aa4df7
size 510943
oid sha256:6562f93a59582a33c65a5178e84cd709f29c00f2bb899fe972456938854110f1
size 483273

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:34bbcc855dab5cb3ccdbc806ad374c27ebb4fb63b1007a758d171d2b66238988
size 2148745
oid sha256:41292e4b5dc1429253f65a7625d865735468654c859b0d548e40ff6e1c3e3e75
size 1988956

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c0dd8c40e27ac29c52da559d664be37957aedb9209b27c3b89cd7a99b68186bd
size 605869
oid sha256:29f22678752aa2a0b50872b92e53c7958dc5238bb0ab08ea070fa979c6d86a77
size 574416

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b5f9b559ce37f23a79877eb525705f419d705817cdf68f26dca202239c80e5d8
size 3310406
oid sha256:1c36214b58289c5188e70439d52b6f4dbc317a57cac6cdbce2a0ecb138a25e94
size 3069909

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2a569e4ea27decfdff4340948d3d21b6a3e854fc6b451226c010d0245e8e8071
size 508980
oid sha256:9a943a89673adb12089c87c9223be2c42d15d10ccd1daf538dd4806b4a2d2496
size 481115

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:577e24e7cbe7e6197ec3a1713a3b7ea18039393fd4e584563d9df5ffecc27ec8
size 2173626
oid sha256:b50cbaedfc1f9f57542051c0ed558c1d32b66ad40c0cce7f1f47f3edd6a987a8
size 2008968

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a9fcdfb8ccc2be2f046bb2dce83fd771c583094a9dbae1ca52a1819b6df78f02
size 594025
oid sha256:28556481dc6aabceea2009ca3b58b99b137d314370836930c2b8d450c5e18cff
size 565198

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6e7cf6376174807d193788e368e8ac8b6bb59573dbfccc98df401a9b98098d87
size 1036627
oid sha256:b97a522e8c33375df18abbd2755b90ec28db9e29b6e5eef53b9d2d4ebea39498
size 977810

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5adc36fa51c81cb822e31dc5990d09382b5ab12fb9c75603765f931b8ddb0e27
size 490117
oid sha256:d89f31e606d8807a3a198ebd822cbcda2d933fc43533f8269cd6f876d86de438
size 489474

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:53f2a15eff3b2814f4fe8db1dbb104b4486d7190357deb85dd697d42af896090
size 1921658
oid sha256:95291e6080a205761987db5a4813fc74a67f306c09a2d14724a63df495f612aa
size 1921926

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d798c2566c8c611faed73ef3a13f0c86e13e2872e494d2af86369a29859d1e4a
size 520420
oid sha256:784451fc740a68796e89a7df482ba12c20d72a782aa1a507cfa495d004766539
size 491085

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:42479cf43a8f262a5794695ecf1e07491d5e6a5261a7692729616dbb5080ef03
size 2186737
oid sha256:4fd40fedc9a7466d17c353370a6e85a92927db8c1f1bcf525f42e48a7a006f01
size 2020342

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f9e30b36eb25a359a63e56e04a50b3e79d6bdad633109c7462a95679c99bb65b
size 616875
oid sha256:4e30010ea2b0e3e359b6092783f969c171ce9750ee290ce6318361f5235a0afe
size 584314

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2030ad37f96203bec8182a8bdb620f07776c498de8dec6f341da24d162e67d79
size 3378181
oid sha256:551400cec5c61766ad6cdb42b82abb14cf5de1f4f5657cac395c56ef52bc1d63
size 3124764

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f6407a548e63cfe2eb5bc8197b93245dfd5dbc286d5700c8bd870c0bfad327e3
size 518671
oid sha256:15e772618d8b8164e795f1416edf7050828944ddd71df856de3b9a9f12b053ba
size 489422

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:17a75f157e1acc2b19fef8a3796255998de3533757fc853195b2e2f2763376be
size 2213639
oid sha256:eacd671372995ca3ee92593a4be6e2f3612862c17a95f1b32da38829196436b5
size 2041480

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7528c4d84a1127f4a6c3fd4f6c9053d62cbcb8ed152447ba60b2ad31f9730539
size 819460
oid sha256:17a0fb34818898f7eec9cd4c50306415bd504e0bcae0ffe2bf715d9f2f079694
size 770769

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4462f5a96e7a01ce48e827ab1ea2eab3f0deb0cf09ddfd1f20fd643106c87890
size 1329852
oid sha256:7ae8254a45f2e52f1c555034b278de8aedfa3b17357fd482303a807756cf37d9
size 1210185

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d39a308378df851e8c3f004582cb150395c400d105ca46f63f350ec2e619fcff
size 654361
oid sha256:0546a2ba69e6b079c70fe693d0a9b390863e94219d51a41e2693319bdd1995bf
size 654711

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ce5f71e526ab22ff0873ea1d0af421f69f714a92bfbede72c13f3530a60a02f6
size 2451215
oid sha256:b13e786c428664375632a76f55cb0f12ea53cd704e2a1178f1f9c91248fe332b
size 2452334

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bc4779e18a81595e4e31fbf4f8d15438bc26ae040779946a91aabd192cc6d38a
size 711495
oid sha256:20243ef503f31e95fe1493361255070887221d60d6ff4445a78e106bb63f3305
size 662781

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c68be5de711a077d729ddd1a3cabefb65073ce80ecc1dc26b64d57c948b5db09
size 2906922
oid sha256:3d6503dbd2686e7f972ee4ee2bb96ffa13d914e9bfc04b230a9e0d87c8b3e45b
size 2630021

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1afe7cc0e3c535b1492cf1a7aa4dc59cebdea3bf2881b70ea2d0858b8cb88a1d
size 842251
oid sha256:4cab73fbcdf9d1e5db1486e6c6be812a254b4bd55ebb512e2c70c3ba002e989d
size 789207

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9ed80a55b054d962820573ced89c56431cd520fa7b98d584adeedaae39814e20
size 4496072
oid sha256:591c13d085ee682764e8fa5ae35593928383bd83b5498cf033e7be6129ed0798
size 4086872

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e9726598fdecc7dd5f0293cb90916de31564cd96302f47be207e486b209e4935
size 712067
oid sha256:2e719b98d16e2592a5ee0774314dfdc27378b3fbed3a2fd1907ea2451e01245a
size 663847

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ca9306742bcee4ac9a1439bca24fa1fa134390201c39c53e2d7e1d22bbeb407a
size 2948665
oid sha256:6e008ca688eecf4fa9dc40e8b854fb43f983c663a2bfdc4b0b37e4a73673fffd
size 2668274

Some files were not shown because too many files have changed in this diff Show More