Merge branch 'main' into repo-sync
2
.github/CODEOWNERS
vendored
@@ -16,9 +16,11 @@ package-lock.json @github/docs-engineering
|
||||
package.json @github/docs-engineering
|
||||
|
||||
# Localization
|
||||
/.github/workflows/create-translation-batch-pr.yml @github/docs-localization
|
||||
/.github/workflows/crowdin.yml @github/docs-localization
|
||||
/crowdin*.yml @github/docs-engineering @github/docs-localization
|
||||
/translations/ @github/docs-engineering @github/docs-localization @github-actions
|
||||
/translations/log/ @github/docs-localization
|
||||
|
||||
# Site Policy
|
||||
/content/github/site-policy/ @github/site-policy-admins
|
||||
|
||||
63
.github/actions-scripts/compress-large-files.js
vendored
Executable file
@@ -0,0 +1,63 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
import path from 'path'
|
||||
import fs from 'fs'
|
||||
import zlib from 'zlib'
|
||||
import walk from 'walk-sync'
|
||||
|
||||
const DRY_RUN = Boolean(JSON.parse(process.env.DRY_RUN || 'false'))
|
||||
// Roughly 100KiB means about 25 files at the moment.
|
||||
// Set this too low and the overheads will be more than the disk and
|
||||
// network I/O that this intends to serve.
|
||||
const MIN_GZIP_SIZE = Number(process.env.MIN_GZIP_SIZE || 1024 * 100)
|
||||
|
||||
const BROTLI_OPTIONS = {
|
||||
params: {
|
||||
[zlib.constants.BROTLI_PARAM_MODE]: zlib.constants.BROTLI_MODE_TEXT,
|
||||
[zlib.constants.BROTLI_PARAM_QUALITY]: 6,
|
||||
},
|
||||
}
|
||||
main()
|
||||
|
||||
async function main() {
|
||||
compressFromPattern('lib/**/static/**/*.json')
|
||||
}
|
||||
|
||||
async function compressFromPattern(pattern) {
|
||||
const glob = pattern.includes('*') ? pattern.split(path.sep).slice(1).join(path.sep) : undefined
|
||||
const walkOptions = {
|
||||
globs: glob ? [glob] : undefined,
|
||||
directories: false,
|
||||
includeBasePath: true,
|
||||
}
|
||||
const root = path.resolve(pattern.includes('*') ? pattern.split(path.sep)[0] : pattern)
|
||||
const filePaths = walk(root, walkOptions).filter((filePath) => {
|
||||
return fs.statSync(filePath).size > MIN_GZIP_SIZE
|
||||
})
|
||||
|
||||
if (!DRY_RUN) {
|
||||
console.time(`Compress ${filePaths.length} files`)
|
||||
const compressed = await Promise.all(filePaths.map(compressFile))
|
||||
console.timeEnd(`Compress ${filePaths.length} files`)
|
||||
|
||||
console.time(`Delete ${compressed.length} files`)
|
||||
compressed.forEach((filePath) => fs.unlinkSync(filePath))
|
||||
console.timeEnd(`Delete ${compressed.length} files`)
|
||||
}
|
||||
}
|
||||
|
||||
function compressFile(filePath) {
|
||||
return new Promise((resolve, reject) => {
|
||||
const contentStream = fs.createReadStream(filePath)
|
||||
const newFilePath = `${filePath}.br`
|
||||
const writeStream = fs.createWriteStream(newFilePath)
|
||||
const compressor = zlib.createBrotliCompress(BROTLI_OPTIONS)
|
||||
contentStream
|
||||
.pipe(compressor)
|
||||
.pipe(writeStream)
|
||||
.on('finish', (err) => {
|
||||
if (err) return reject(err)
|
||||
resolve(filePath)
|
||||
})
|
||||
})
|
||||
}
|
||||
@@ -12,13 +12,13 @@ If you aren't comfortable going through the steps alone, sync up with a docs eng
|
||||
- [ ] Increment the `next` variable above the `supported` array (e.g., new release number + `.1`).
|
||||
- [ ] Increment the `nextNext` variable above the `supported` array (e.g., new release number + `.2`).
|
||||
- [ ] Update the GHES dates file:
|
||||
- [ ] Make sure you have a `.env` file at the root directory of your local checkout, and that it contains a PAT in the format of `GITHUB_TOKEN=<token>`.
|
||||
- [ ] Make sure you have a `.env` file at the root directory of your local checkout, and that it contains a PAT in the format of `GITHUB_TOKEN=<token>` with `repo` scope. Ensure the PAT is SSO-enabled for the `github` org.
|
||||
- [ ] Run the script to update the dates file:
|
||||
|
||||
```
|
||||
script/update-enterprise-dates.js
|
||||
```
|
||||
- [ ] Create REST files based on previous version:
|
||||
- [ ] Create REST files based on previous version. For example `script/enterprise-server-releases/create-rest-files.js --oldVersion enterprise-server@3.2 --newVersion enterprise-server@3.3`:
|
||||
|
||||
```
|
||||
script/enterprise-server-releases/create-rest-files.js --oldVersion <PLAN@RELEASE> --newVersion <PLAN@RELEASE>
|
||||
@@ -33,7 +33,7 @@ If you aren't comfortable going through the steps alone, sync up with a docs eng
|
||||
```
|
||||
script/enterprise-server-releases/create-webhook-files.js --oldVersion <PLAN@RELEASE> --newVersion <PLAN@RELEASE>
|
||||
```
|
||||
- [ ] Create a placeholder release notes file called `data/release-notes/<PRODUCT>/<RELEASE NUMBER>/PLACEHOLDER.yml`. For example `data/release-notes/3-1/PLACEHOLDER.yml`. Add the following placeholder content to the file:
|
||||
- [ ] Create a placeholder release notes file called `data/release-notes/<PRODUCT>/<RELEASE NUMBER>/PLACEHOLDER.yml`. For example `data/release-notes/enterprise-server/3-1/PLACEHOLDER.yml`. Add the following placeholder content to the file:
|
||||
|
||||
```
|
||||
date: '2021-05-04'
|
||||
@@ -55,6 +55,8 @@ If you aren't comfortable going through the steps alone, sync up with a docs eng
|
||||
script/enterprise-server-releases/release-banner.js --action create --version <PLAN@RELEASE>
|
||||
```
|
||||
|
||||
- [ ] Create a PR with the above changes. This PR is used to track all docs changes and smoke tests associated with the release. For example https://github.com/github/docs-internal/pull/22286.
|
||||
|
||||
### When the `docs-internal` release branch is open
|
||||
|
||||
- [ ] Add a label to the PR in this format:
|
||||
@@ -102,7 +104,7 @@ This file should be automatically updated, but you can also run `script/update-e
|
||||
Usually, we should smoke test any new GHES admin guides, any large features landing in this GHES version for the first time, and the REST and GraphQL API references.
|
||||
- [ ] Alert the Neon Squad (formally docs-ecosystem team) 1-2 days before the release to deploy to `github/github`. A PR should already be open in `github/github`, to change `published` to `true` in `app/api/description/config/releases/ghes-<NEXT RELEASE NUMBER>.yaml`. They will need to:
|
||||
- [ ] Get the required approval from `@github/ecosystem-api-reviewers` then deploy the PR to dotcom. This process generally takes 30-90 minutes.
|
||||
- [ ] Once the PR merges, make sure that the auto-generated PR titled "Update OpenAPI Descriptions" in doc-internal contains both the derefrenced and decorated JSON files for the new GHES release. If everything looks good, merge the "Update OpenAPI Description" PR into the GHES release megabranch.
|
||||
- [ ] Once the PR merges, make sure that the auto-generated PR titled "Update OpenAPI Descriptions" in doc-internal contains both the derefrenced and decorated JSON files for the new GHES release. If everything looks good, merge the "Update OpenAPI Description" PR into the GHES release megabranch. **Note:** Be careful about resolving the conflicts correctly—you may wish to delete the existing OpenAPI files for the release version from the megabranch, so there are no conflicts to resolve and to ensure that the incoming artifacts are the correct ones.
|
||||
- [ ] Add a blocking review to the auto-generated "Update OpenAPI Descriptions" PR in the public REST API description. (Remove this blocking review once the GHES release ships.)
|
||||
- [ ] [Freeze the repos](https://github.com/github/docs-content/blob/main/docs-content-docs/docs-content-workflows/freezing.md) at least 1-2 days before the release, and post an announcement in Slack so everybody knows.
|
||||
|
||||
@@ -113,8 +115,9 @@ This file should be automatically updated, but you can also run `script/update-e
|
||||
|
||||
Use admin permissions to ship the release branch with this failure. Make sure that the merge's commit title does not include anything like `[DO NOT MERGE]`, and remove all the branch's commit details from the merge's commit message except for the co-author list.
|
||||
- [ ] Do any required smoke tests listed in the opening post in the megabranch PR.
|
||||
- [ ] Push the search index LFS objects for the public `github/docs` repo. The LFS objects were already being pushed for the internal repo after the `sync-english-index-for-<PLAN@RELEASE>` was added to the megabranch. To push the LFS objects, run the [search sync workflow](https://github.com/github/docs-internal/actions/workflows/sync-search-indices.yml) with the following inputs:
|
||||
- [ ] Once smoke tests have passed, you can [unfreeze the repos](https://github.com/github/docs-content/blob/main/docs-content-docs/docs-content-workflows/freezing.md) and post an announcement in Slack.
|
||||
- [ ] After unfreezing, push the search index LFS objects for the public `github/docs` repo. The LFS objects were already being pushed for the internal repo after the `sync-english-index-for-<PLAN@RELEASE>` was added to the megabranch. To push the LFS objects, run the [search sync workflow](https://github.com/github/docs-internal/actions/workflows/sync-search-indices.yml) with the following inputs:
|
||||
version: `enterprise-server@<RELEASE>`
|
||||
language: `en`
|
||||
- [ ] Once smoke tests have passed, you can [unfreeze the repos](https://github.com/github/docs-content/blob/main/docs-content-docs/docs-content-workflows/freezing.md) and post an announcement in Slack.
|
||||
- [ ] After the release, in the `docs-content` repo, add the now live version number to the "Specific GHES version(s)" section in the following files: [`.github/ISSUE_TEMPLATE/release-tier-1-or-2-tracking.yml`](https://github.com/github/docs-content/blob/main/.github/ISSUE_TEMPLATE/release-tier-1-or-2-tracking.yml) and [`.github/ISSUE_TEMPLATE/release-tier-3-or-tier-4.yml`](https://github.com/github/docs-content/blob/main/.github/ISSUE_TEMPLATE/release-tier-3-or-tier-4.yml). When the PR is approved, merge it in.
|
||||
- [ ] After unfreezing, if there were significant or highlighted GraphQL changes in the release, consider manually running the [GraphQL update workflow](https://github.com/github/docs-internal/actions/workflows/update-graphql-files.yml) to update our GraphQL schemas. By default this workflow only runs once every 24 hours.
|
||||
- [ ] After the release, in the `docs-content` repo, add the now live version number to the "Specific GHES version(s)" section in the following files: [`.github/ISSUE_TEMPLATE/release-tier-1-or-2-tracking.yml`](https://github.com/github/docs-content/blob/main/.github/ISSUE_TEMPLATE/release-tier-1-or-2-tracking.yml) and [`.github/ISSUE_TEMPLATE/release-tier-3-or-tier-4.yml`](https://github.com/github/docs-content/blob/main/.github/ISSUE_TEMPLATE/release-tier-3-or-tier-4.yml). When the PR is approved, merge it in.
|
||||
|
||||
16
.github/workflows/browser-test.yml
vendored
@@ -10,6 +10,17 @@ on:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
paths:
|
||||
- '**.js'
|
||||
- '**.mjs'
|
||||
- '**.ts'
|
||||
- '**.tsx'
|
||||
- jest.config.js
|
||||
- package.json
|
||||
# In case something like eslint or tsc or prettier upgrades
|
||||
- package-lock.json
|
||||
# Ultimately, for debugging this workflow itself
|
||||
- .github/workflows/browser-test.yml
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -31,6 +42,11 @@ jobs:
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
env:
|
||||
# This makes it so the puppeteer npm package doesn't bother
|
||||
# to download a copy of chromium because it can use
|
||||
# `$PUPPETEER_EXECUTABLE_PATH` from the ubuntu Action container.
|
||||
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
|
||||
run: npm ci --include=optional
|
||||
|
||||
- name: Run browser-test
|
||||
|
||||
@@ -25,14 +25,22 @@ jobs:
|
||||
max-parallel: 1
|
||||
matrix:
|
||||
include:
|
||||
- language: pt-BR
|
||||
language_code: pt
|
||||
- language: zh-CN
|
||||
language_code: cn
|
||||
- language: ja-JP
|
||||
language_code: ja
|
||||
- language: es-ES
|
||||
language_code: es
|
||||
- language: pt
|
||||
crowdin_language: pt-BR
|
||||
language_dir: translations/pt-BR
|
||||
|
||||
- language: es
|
||||
crowdin_language: es-ES
|
||||
language_dir: translations/es-ES
|
||||
|
||||
- language: cn
|
||||
crowdin_language: zh-CN
|
||||
language_dir: translations/zh-CN
|
||||
|
||||
- language_dir: translations/ja-JP
|
||||
crowdin_language: ja
|
||||
language: ja
|
||||
|
||||
steps:
|
||||
- name: Set branch name
|
||||
id: set-branch
|
||||
@@ -72,11 +80,11 @@ jobs:
|
||||
|
||||
- name: Remove all language translations
|
||||
run: |
|
||||
git rm -rf --quiet translations/${{ matrix.language }}/content
|
||||
git rm -rf --quiet translations/${{ matrix.language }}/data
|
||||
git rm -rf --quiet ${{ matrix.language_dir }}/content
|
||||
git rm -rf --quiet ${{ matrix.language_dir }}/data
|
||||
|
||||
- name: Download crowdin translations
|
||||
run: crowdin download --no-progress --no-colors --verbose --debug '--branch=main' '--config=crowdin.yml' --language=${{ matrix.language }}
|
||||
run: crowdin download --no-progress --no-colors --verbose --debug '--branch=main' '--config=crowdin.yml' --language=${{ matrix.crowdin_language }}
|
||||
env:
|
||||
# This is a numeric id, not to be confused with Crowdin API v1 "project identifier" string
|
||||
# See "API v2" on https://crowdin.com/project/<your-project>/settings#api
|
||||
@@ -89,7 +97,7 @@ jobs:
|
||||
|
||||
- name: Commit crowdin sync
|
||||
run: |
|
||||
git add translations/${{ matrix.language }}
|
||||
git add ${{ matrix.language_dir }}
|
||||
git commit -m "Add crowdin translations" || echo "Nothing to commit"
|
||||
|
||||
- name: 'Setup node'
|
||||
@@ -103,44 +111,44 @@ jobs:
|
||||
- name: Homogenize frontmatter
|
||||
run: |
|
||||
node script/i18n/homogenize-frontmatter.js
|
||||
git add translations/${{ matrix.language }} && git commit -m "Run script/i18n/homogenize-frontmatter.js" || echo "Nothing to commit"
|
||||
git add ${{ matrix.language_dir }} && git commit -m "Run script/i18n/homogenize-frontmatter.js" || echo "Nothing to commit"
|
||||
|
||||
# step 7 in docs-engineering/crowdin.md
|
||||
- name: Fix translation errors
|
||||
run: |
|
||||
node script/i18n/fix-translation-errors.js
|
||||
git add translations/${{ matrix.language }} && git commit -m "Run script/i18n/fix-translation-errors.js" || echo "Nothing to commit"
|
||||
git add ${{ matrix.language_dir }} && git commit -m "Run script/i18n/fix-translation-errors.js" || echo "Nothing to commit"
|
||||
|
||||
# step 8a in docs-engineering/crowdin.md
|
||||
- name: Check parsing
|
||||
run: |
|
||||
node script/i18n/lint-translation-files.js --check parsing | tee -a /tmp/batch.log | cat
|
||||
git add translations/${{ matrix.language }} && git commit -m "Run script/i18n/lint-translation-files.js --check parsing" || echo "Nothing to commit"
|
||||
git add ${{ matrix.language_dir }} && git commit -m "Run script/i18n/lint-translation-files.js --check parsing" || echo "Nothing to commit"
|
||||
|
||||
# step 8b in docs-engineering/crowdin.md
|
||||
- name: Check rendering
|
||||
run: |
|
||||
node script/i18n/lint-translation-files.js --check rendering | tee -a /tmp/batch.log | cat
|
||||
git add translations/${{ matrix.language }} && git commit -m "Run script/i18n/lint-translation-files.js --check rendering" || echo "Nothing to commit"
|
||||
git add ${{ matrix.language_dir }} && git commit -m "Run script/i18n/lint-translation-files.js --check rendering" || echo "Nothing to commit"
|
||||
|
||||
- name: Reset files with broken liquid tags
|
||||
run: |
|
||||
node script/i18n/reset-files-with-broken-liquid-tags.js --language=${{ matrix.language_code }} | tee -a /tmp/batch.log | cat
|
||||
git add translations/${{ matrix.language }} && git commit -m "run script/i18n/reset-files-with-broken-liquid-tags.js --language=${{ matrix.language_code }}" || echo "Nothing to commit"
|
||||
node script/i18n/reset-files-with-broken-liquid-tags.js --language=${{ matrix.language }} | tee -a /tmp/batch.log | cat
|
||||
git add ${{ matrix.language_dir }} && git commit -m "run script/i18n/reset-files-with-broken-liquid-tags.js --language=${{ matrix.language }}" || echo "Nothing to commit"
|
||||
|
||||
# step 5 in docs-engineering/crowdin.md using script from docs-internal#22709
|
||||
- name: Reset known broken files
|
||||
run: |
|
||||
node script/i18n/reset-known-broken-translation-files.js | tee -a /tmp/batch.log | cat
|
||||
git add translations/${{ matrix.language }} && git commit -m "run script/i18n/reset-known-broken-translation-files.js" || echo "Nothing to commit"
|
||||
git add ${{ matrix.language_dir }} && git commit -m "run script/i18n/reset-known-broken-translation-files.js" || echo "Nothing to commit"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.DOCUBOT_REPO_PAT }}
|
||||
|
||||
- name: Check in CSV report
|
||||
run: |
|
||||
mkdir -p translations/log
|
||||
csvFile=translations/log/${{ matrix.language_code }}-resets.csv
|
||||
script/i18n/report-reset-files.js --report-type=csv --language=${{ matrix.language_code }} --log-file=/tmp/batch.log > $csvFile
|
||||
csvFile=translations/log/${{ matrix.language }}-resets.csv
|
||||
script/i18n/report-reset-files.js --report-type=csv --language=${{ matrix.language }} --log-file=/tmp/batch.log > $csvFile
|
||||
git add -f $csvFile && git commit -m "Check in ${{ matrix.language }} CSV report" || echo "Nothing to commit"
|
||||
|
||||
- name: Create Pull Request
|
||||
@@ -149,7 +157,7 @@ jobs:
|
||||
# We'll try to create the pull request based on the changes we pushed up in the branch.
|
||||
# If there are actually no differences between the branch and `main`, we'll delete it.
|
||||
run: |
|
||||
script/i18n/report-reset-files.js --report-type=pull-request-body --language=${{ matrix.language_code }} --log-file=/tmp/batch.log > /tmp/pr-body.txt
|
||||
script/i18n/report-reset-files.js --report-type=pull-request-body --language=${{ matrix.language }} --log-file=/tmp/batch.log > /tmp/pr-body.txt
|
||||
git push origin ${{ steps.set-branch.outputs.BRANCH_NAME }}
|
||||
gh pr create --title "New translation batch for ${{ matrix.language }}" \
|
||||
--base=main \
|
||||
|
||||
@@ -40,7 +40,7 @@ jobs:
|
||||
)
|
||||
const logins = teamMembers.data.map(member => member.login)
|
||||
// ignore PRs opened by docs bot accounts
|
||||
logins.push('Octomerger', 'octoglot')
|
||||
logins.push('Octomerger', 'octoglot', 'docubot')
|
||||
if (logins.some(login => login === updatedIssueInformation.data.user.login)) {
|
||||
console.log(`This issue or pull request was authored by a member of the github/docs team.`)
|
||||
return 'true'
|
||||
|
||||
3
.github/workflows/site-policy-sync.yml
vendored
@@ -37,6 +37,8 @@ jobs:
|
||||
path: public-repo
|
||||
|
||||
- name: Commits internal policies to copy of public repo with descriptive message from triggering PR title
|
||||
env:
|
||||
PR_TITLE: ${{ github.event.pull_request.title }}
|
||||
run: |
|
||||
cd public-repo
|
||||
git config --local user.name 'site-policy-bot'
|
||||
@@ -46,7 +48,6 @@ jobs:
|
||||
git status
|
||||
git checkout -b automated-sync-$GITHUB_RUN_ID
|
||||
git add .
|
||||
PR_TITLE=${{ github.event.pull_request.title }}
|
||||
echo PR_TITLE: $PR_TITLE
|
||||
[[ ! -z $PR_TITLE ]] && DESCRIPTION="${PR_TITLE}" || DESCRIPTION="Update manually triggered by workflow"
|
||||
echo "DESCRIPTION=$DESCRIPTION" >> $GITHUB_ENV
|
||||
|
||||
41
.github/workflows/staging-build-pr.yml
vendored
@@ -30,15 +30,6 @@ concurrency:
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
debug:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Dump full context for debugging
|
||||
run: |
|
||||
cat << EOF
|
||||
${{ toJSON(github) }}
|
||||
EOF
|
||||
|
||||
build-pr:
|
||||
if: ${{ github.repository == 'github/docs-internal' || github.repository == 'github/docs' }}
|
||||
runs-on: ${{ fromJSON('["ubuntu-latest", "self-hosted"]')[github.repository == 'github/docs-internal'] }}
|
||||
@@ -117,11 +108,43 @@ jobs:
|
||||
run: npm set-script heroku-postbuild "echo 'Application was pre-built!'"
|
||||
|
||||
- name: Delete heavy things we won't need deployed
|
||||
if: ${{ github.repository == 'github/docs-internal' }}
|
||||
run: |
|
||||
|
||||
# The dereferenced file is not used in runtime once the
|
||||
# decorated file has been created from it.
|
||||
rm -fr lib/rest/static/dereferenced
|
||||
|
||||
# Translations are never tested in Staging builds
|
||||
# but let's keep the empty directory.
|
||||
rm -fr translations
|
||||
mkdir translations
|
||||
|
||||
# Delete all the big search indexes that are NOT English (`*-en-*`)
|
||||
pushd lib/search/indexes
|
||||
ls | grep -v '\-en\-' | xargs rm
|
||||
popd
|
||||
|
||||
# Note! Some day it would be nice to be able to delete
|
||||
# all the heavy assets because they bloat the tarball.
|
||||
# But it's not obvious how to test it then. For now, we'll have
|
||||
# to accept that every staging build has a copy of the images.
|
||||
|
||||
# The assumption here is that a staging build will not
|
||||
# need these legacy redirects. Only the redirects from
|
||||
# front-matter will be at play.
|
||||
# These static redirects json files are notoriously large
|
||||
# and they make the tarball unnecessarily large.
|
||||
echo '[]' > lib/redirects/static/archived-frontmatter-fallbacks.json
|
||||
echo '{}' > lib/redirects/static/developer.json
|
||||
echo '{}' > lib/redirects/static/archived-redirects-from-213-to-217.json
|
||||
|
||||
# This will turn every `lib/**/static/*.json` into
|
||||
# an equivalent `lib/**/static/*.json.br` file.
|
||||
# Once the server starts, it'll know to fall back to reading
|
||||
# the `.br` equivalent if the `.json` file isn't present.
|
||||
node .github/actions-scripts/compress-large-files.js
|
||||
|
||||
- name: Create an archive
|
||||
# Only bother if this is actually a pull request
|
||||
if: ${{ github.event.pull_request.number }}
|
||||
|
||||
37
.github/workflows/yml-lint.yml
vendored
@@ -1,37 +0,0 @@
|
||||
name: Lint Yaml
|
||||
|
||||
# **What it does**: This lints our yaml files in the docs repository.
|
||||
# **Why we have it**: We want some level of consistent formatting for YAML files.
|
||||
# **Who does it impact**: Docs engineering, docs content.
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '**/*.yml'
|
||||
- '**/*.yaml'
|
||||
pull_request:
|
||||
paths:
|
||||
- '**/*.yml'
|
||||
- '**/*.yaml'
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repo
|
||||
uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97
|
||||
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c
|
||||
with:
|
||||
node-version: 16.13.x
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Run linter
|
||||
run: npx prettier -c "**/*.{yml,yaml}"
|
||||
BIN
assets/images/help/codespaces/install-custom-dotfiles.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 16 KiB |
BIN
assets/images/help/codespaces/select-dotfiles-repo.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 35 KiB |
|
After Width: | Height: | Size: 71 KiB |
BIN
assets/images/help/repository/allow-disable-forking-fpt.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
assets/images/help/support/request-callback.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
@@ -1,14 +1,12 @@
|
||||
/* TODO remove mark styling if https://github.com/primer/css/pull/1756 ships */
|
||||
.resultsContainer mark {
|
||||
font-weight: bolder;
|
||||
background: none;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.searchResultContent mark {
|
||||
color: var(--color-fg-default);
|
||||
background-color: var(--color-attention-subtle);
|
||||
font-weight: bolder;
|
||||
}
|
||||
/* end TODO */
|
||||
|
||||
.searchResultContent {
|
||||
max-height: 4rem;
|
||||
|
||||
@@ -69,7 +69,7 @@ export const ArticlePage = () => {
|
||||
className={item.platform}
|
||||
sx={{ listStyle: 'none', padding: '2px' }}
|
||||
>
|
||||
<div className={cx('lh-condensed')}>
|
||||
<div className={cx('lh-condensed d-block width-full')}>
|
||||
<div dangerouslySetInnerHTML={{ __html: item.contents }} />
|
||||
{item.items && item.items.length > 0 ? (
|
||||
<ul className="ml-3">{item.items.map(renderTocItem)}</ul>
|
||||
|
||||
32
components/homepage/HomePageHero.tsx
Normal file
@@ -0,0 +1,32 @@
|
||||
import { Search } from 'components/Search'
|
||||
import { OctocatHeader } from 'components/landing/OctocatHeader'
|
||||
import { useTranslation } from 'components/hooks/useTranslation'
|
||||
|
||||
export const HomePageHero = () => {
|
||||
const { t } = useTranslation(['search'])
|
||||
|
||||
return (
|
||||
<section id="landing" className="color-bg-subtle p-6">
|
||||
{/* eslint-disable-next-line jsx-a11y/no-autofocus */}
|
||||
<Search iconSize={24} variant="expanded">
|
||||
{({ SearchInput, SearchResults }) => {
|
||||
return (
|
||||
<div className="container-xl">
|
||||
<div className="gutter gutter-xl-spacious d-lg-flex flex-row-reverse flex-items-center">
|
||||
<div className="col-lg-7">
|
||||
<OctocatHeader />
|
||||
</div>
|
||||
<div className="col-lg-5">
|
||||
<h1 className="text-semibold">{t('search:need_help')}</h1>
|
||||
{SearchInput}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>{SearchResults}</div>
|
||||
</div>
|
||||
)
|
||||
}}
|
||||
</Search>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
86
components/homepage/ProductSelectionCard.tsx
Normal file
@@ -0,0 +1,86 @@
|
||||
import { ProductT, ProductGroupT, useMainContext } from 'components/context/MainContext'
|
||||
|
||||
import React from 'react'
|
||||
import { useRouter } from 'next/router'
|
||||
import { useVersion } from 'components/hooks/useVersion'
|
||||
import { Link } from 'components/Link'
|
||||
import * as Octicons from '@primer/octicons-react'
|
||||
|
||||
type ProductSelectionCardProps = {
|
||||
name: string
|
||||
group: ProductGroupT
|
||||
}
|
||||
|
||||
export const ProductSelectionCard = ({ name, group }: ProductSelectionCardProps) => {
|
||||
const router = useRouter()
|
||||
const { currentVersion } = useVersion()
|
||||
const { isFPT } = useMainContext()
|
||||
|
||||
function href(product: ProductT) {
|
||||
return `${!product.external ? `/${router.locale}` : ''}${
|
||||
product.versions?.includes(currentVersion) && !isFPT
|
||||
? `/${currentVersion}/${product.id}`
|
||||
: product.href
|
||||
}`
|
||||
}
|
||||
|
||||
const groupIcon = {
|
||||
height: '22px',
|
||||
}
|
||||
|
||||
function showProduct(product: ProductT) {
|
||||
return isFPT || product.versions?.includes(currentVersion) || product.external
|
||||
}
|
||||
|
||||
function icon(group: ProductGroupT) {
|
||||
if (group.icon) {
|
||||
return (
|
||||
<div className="pr-3">
|
||||
<img src={group.icon} alt={group.name} style={groupIcon}></img>
|
||||
</div>
|
||||
)
|
||||
} else if (group.octicon) {
|
||||
const octicon: React.FunctionComponent = (
|
||||
Octicons as { [name: string]: React.FunctionComponent }
|
||||
)[group.octicon] as React.FunctionComponent
|
||||
|
||||
return (
|
||||
<div className="mr-2">
|
||||
{React.createElement(octicon, groupIcon as React.Attributes, null)}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="d-flex flex-column col-12 col-sm-6 col-lg-4 pb-4">
|
||||
<div className="flex-auto ws-normal">
|
||||
<div className="d-flex flex-items-center">
|
||||
{icon(group)}
|
||||
|
||||
<div>
|
||||
<h3>{name}</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="pt-2 mb-4 text-normal">
|
||||
<ul className="list-style-none">
|
||||
{group.children.map((product) => {
|
||||
if (!showProduct(product)) {
|
||||
return null
|
||||
}
|
||||
|
||||
return (
|
||||
<li key={product.name} className="pt-2">
|
||||
<Link href={href(product)} target={product.external ? '_blank' : undefined}>
|
||||
{product.name}
|
||||
</Link>
|
||||
</li>
|
||||
)
|
||||
})}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
20
components/homepage/ProductSelections.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import { useMainContext } from 'components/context/MainContext'
|
||||
|
||||
import React from 'react'
|
||||
import { ProductSelectionCard } from './ProductSelectionCard'
|
||||
|
||||
export const ProductSelections = () => {
|
||||
const { productGroups } = useMainContext()
|
||||
|
||||
return (
|
||||
<section className="container-xl pb-lg-4 mt-6 px-3 px-md-6" data-testid="product">
|
||||
<div className="">
|
||||
<div className="d-flex flex-wrap gutter gutter-xl-spacious">
|
||||
{productGroups.map((group) => {
|
||||
return <ProductSelectionCard key={group.name} name={group.name} group={group} />
|
||||
})}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
import cx from 'classnames'
|
||||
import dayjs from 'dayjs'
|
||||
import { ActionList } from '@primer/components'
|
||||
|
||||
import { Link } from 'components/Link'
|
||||
import { ArrowRightIcon } from '@primer/octicons-react'
|
||||
@@ -27,45 +28,59 @@ export const ArticleList = ({ title, viewAllHref, articles }: ArticleListPropsT)
|
||||
</div>
|
||||
)}
|
||||
|
||||
<ul className="list-style-none" data-testid="article-list">
|
||||
{articles.map((link) => {
|
||||
return (
|
||||
<li key={link.href} className={cx('border-top')}>
|
||||
<BumpLink
|
||||
as={Link}
|
||||
href={link.href}
|
||||
className="py-3"
|
||||
title={
|
||||
<h4 data-testid="link-with-intro-title">
|
||||
<span
|
||||
dangerouslySetInnerHTML={
|
||||
link.fullTitle ? { __html: link.fullTitle } : { __html: link.title }
|
||||
}
|
||||
/>
|
||||
</h4>
|
||||
}
|
||||
<ActionList
|
||||
{...{ as: 'ul' }}
|
||||
data-testid="article-list"
|
||||
items={articles.map((link) => {
|
||||
return {
|
||||
renderItem: () => (
|
||||
<ActionList.Item
|
||||
as="li"
|
||||
key={link.href}
|
||||
className={cx('border-top')}
|
||||
sx={{
|
||||
borderRadius: 0,
|
||||
':hover': {
|
||||
borderRadius: 0,
|
||||
},
|
||||
}}
|
||||
>
|
||||
{!link.hideIntro && link.intro && (
|
||||
<TruncateLines as="p" maxLines={2} className="color-fg-muted mb-0 mt-1">
|
||||
<span
|
||||
data-testid="link-with-intro-intro"
|
||||
dangerouslySetInnerHTML={{ __html: link.intro }}
|
||||
/>
|
||||
</TruncateLines>
|
||||
)}
|
||||
{link.date && (
|
||||
<time
|
||||
className="tooltipped tooltipped-n color-fg-muted text-mono mt-1"
|
||||
aria-label={dayjs(link.date).format('LLL')}
|
||||
>
|
||||
{dayjs(link.date).format('MMMM DD')}
|
||||
</time>
|
||||
)}
|
||||
</BumpLink>
|
||||
</li>
|
||||
)
|
||||
<BumpLink
|
||||
as={Link}
|
||||
href={link.href}
|
||||
className="py-3"
|
||||
title={
|
||||
<h4 data-testid="link-with-intro-title">
|
||||
<span
|
||||
dangerouslySetInnerHTML={
|
||||
link.fullTitle ? { __html: link.fullTitle } : { __html: link.title }
|
||||
}
|
||||
/>
|
||||
</h4>
|
||||
}
|
||||
>
|
||||
{!link.hideIntro && link.intro && (
|
||||
<TruncateLines as="p" maxLines={2} className="color-fg-muted mb-0 mt-1">
|
||||
<span
|
||||
data-testid="link-with-intro-intro"
|
||||
dangerouslySetInnerHTML={{ __html: link.intro }}
|
||||
/>
|
||||
</TruncateLines>
|
||||
)}
|
||||
{link.date && (
|
||||
<time
|
||||
className="tooltipped tooltipped-n color-fg-muted text-mono mt-1"
|
||||
aria-label={dayjs(link.date).format('LLL')}
|
||||
>
|
||||
{dayjs(link.date).format('MMMM DD')}
|
||||
</time>
|
||||
)}
|
||||
</BumpLink>
|
||||
</ActionList.Item>
|
||||
),
|
||||
}
|
||||
})}
|
||||
</ul>
|
||||
></ActionList>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -2,11 +2,12 @@ import cx from 'classnames'
|
||||
import { useState } from 'react'
|
||||
|
||||
import { ChevronDownIcon } from '@primer/octicons-react'
|
||||
import { ActionList } from '@primer/components'
|
||||
|
||||
import { ProductTreeNode, useMainContext } from 'components/context/MainContext'
|
||||
import { Link } from 'components/Link'
|
||||
|
||||
const maxArticles = 10
|
||||
const maxArticles = 5
|
||||
|
||||
export const ProductArticlesList = () => {
|
||||
const { currentProductTree } = useMainContext()
|
||||
@@ -39,27 +40,35 @@ const ProductTreeNodeList = ({ treeNode }: { treeNode: ProductTreeNode }) => {
|
||||
</Link>
|
||||
</h4>
|
||||
|
||||
<ul className="list-style-none">
|
||||
{treeNode.childPages.map((childNode, index) => {
|
||||
if (treeNode.childPages[0].page.documentType === 'mapTopic' && childNode.page.hidden) {
|
||||
return null
|
||||
<ActionList
|
||||
{...{ as: 'ul' }}
|
||||
items={treeNode.childPages.map((childNode, index) => {
|
||||
return {
|
||||
renderItem: () => (
|
||||
<ActionList.Item
|
||||
as="li"
|
||||
key={childNode.href + index}
|
||||
className={cx('pl-0', !isShowingMore && index >= maxArticles ? 'd-none' : null)}
|
||||
sx={{
|
||||
borderRadius: 0,
|
||||
':hover': {
|
||||
borderRadius: 0,
|
||||
},
|
||||
}}
|
||||
>
|
||||
<Link className="d-block width-full" href={childNode.href}>
|
||||
{childNode.page.title}
|
||||
{childNode.page.documentType === 'mapTopic' ? (
|
||||
<small className="color-fg-muted d-inline-block">
|
||||
• {childNode.childPages.length} articles
|
||||
</small>
|
||||
) : null}
|
||||
</Link>
|
||||
</ActionList.Item>
|
||||
),
|
||||
}
|
||||
|
||||
return (
|
||||
<li
|
||||
key={childNode.href + index}
|
||||
className={cx('mb-3', !isShowingMore && index >= maxArticles ? 'd-none' : null)}
|
||||
>
|
||||
<Link href={childNode.href}>{childNode.page.title}</Link>
|
||||
{childNode.page.documentType === 'mapTopic' ? (
|
||||
<small className="color-fg-muted d-inline-block">
|
||||
• {childNode.childPages.length} articles
|
||||
</small>
|
||||
) : null}
|
||||
</li>
|
||||
)
|
||||
})}
|
||||
</ul>
|
||||
></ActionList>
|
||||
{!isShowingMore && treeNode.childPages.length > maxArticles && (
|
||||
<button onClick={() => setIsShowingMore(true)} className="btn-link Link--secondary">
|
||||
Show {treeNode.childPages.length - maxArticles} more{' '}
|
||||
|
||||
@@ -66,7 +66,7 @@ export function GHESReleaseNotePatch({
|
||||
)}
|
||||
</div>
|
||||
|
||||
<p className="color-fg-muted mt-1">{dayjs(patch.date).format('MMMM, DD, YYYY')}</p>
|
||||
<p className="color-fg-muted mt-1">{dayjs(patch.date).format('MMMM DD, YYYY')}</p>
|
||||
|
||||
{patch.version !== latestPatch && currentVersion.currentRelease === latestRelease && (
|
||||
<p className="color-fg-muted mt-1">
|
||||
|
||||
@@ -34,7 +34,6 @@ See the [contributing docs](/CONTRIBUTING.md) for general information about work
|
||||
- [Escaping single quotes](#escaping-single-quotes)
|
||||
- [Autogenerated mini TOCs](#autogenerated-mini-tocs)
|
||||
- [Versioning](#versioning)
|
||||
- [Free-pro-team vs. GitHub.com versioning](#free-pro-team-vs-githubcom-versioning)
|
||||
- [Filenames](#filenames)
|
||||
- [Whitespace control](#whitespace-control)
|
||||
- [Links and image paths](#links-and-image-paths)
|
||||
@@ -319,11 +318,7 @@ A content file can have **two** types of versioning:
|
||||
* Liquid statements in content (**optional**)
|
||||
* Conditionally render content depending on the current version being viewed. See [contributing/liquid-helpers](../contributing/liquid-helpers.md) for more info. Note Liquid conditionals can also appear in `data` and `include` files.
|
||||
|
||||
### Free-pro-team vs. GitHub.com versioning
|
||||
|
||||
As of early 2021, the `free-pro-team@latest` version is **only** supported in content files (in both frontmatter and Liquid versioning) and throughout the docs site backend. It is **not** user facing. A helper function called `lib/remove-fpt-from-path.js` removes the version from URLs. Users now select `GitHub.com` in the Article Versions dropdown instead of `Free, Pro, Team`.
|
||||
|
||||
The convenience function allows us to continue supporting a consistent versioning structure under-the-hood while not displaying plan information to users that may be potentially confusing.
|
||||
**Note**: As of early 2021, the `free-pro-team@latest` version is not included URLs. A helper function called `lib/remove-fpt-from-path.js` removes the version from URLs.
|
||||
|
||||
## Filenames
|
||||
|
||||
|
||||
@@ -23,48 +23,55 @@ topics:
|
||||
|
||||
## Overview
|
||||
|
||||
{% data reusables.actions.about-actions %} {% data variables.product.prodname_actions %} are event-driven, meaning that you can run a series of commands after a specified event has occurred. For example, every time someone creates a pull request for a repository, you can automatically run a command that executes a software testing script.
|
||||
{% data reusables.actions.about-actions %} You can create workflows that build and test every pull request to your repository, or deploy merged pull requests to production.
|
||||
|
||||
This diagram demonstrates how you can use {% data variables.product.prodname_actions %} to automatically run your software testing scripts. An event automatically triggers the _workflow_, which contains a _job_. The job then uses _steps_ to control the order in which _actions_ are run. These actions are the commands that automate your software testing.
|
||||
{% data variables.product.prodname_actions %} goes beyond just DevOps and lets you run workflows when other events happen in your repository. For example, you can run a workflow to automatically add the appropriate labels whenever someone creates a new issue in your repository.
|
||||
|
||||

|
||||
{% data variables.product.prodname_dotcom %} provides Linux, Windows, and macOS virtual machines to run your workflows, or you can host your own self-hosted runners in your own data center or cloud infrastructure.
|
||||
|
||||
## The components of {% data variables.product.prodname_actions %}
|
||||
|
||||
Below is a list of the multiple {% data variables.product.prodname_actions %} components that work together to run jobs. You can see how these components interact with each other.
|
||||
You can configure a {% data variables.product.prodname_actions %} _workflow_ to be triggered when an _event_ occurs in your repository, such as a pull request being opened or an issue being created. Your workflow contains one or more _jobs_ which can run in sequential order or in parallel. Each job will run inside its own virtual machine _runner_, or inside a container, and has one or more _steps_ that either run a script that you define or run an _action_, which is a reusable extension that can simplify in your workflow.
|
||||
|
||||

|
||||

|
||||
|
||||
### Workflows
|
||||
|
||||
The workflow is an automated procedure that you add to your repository. Workflows are made up of one or more jobs and can be scheduled or triggered by an event. The workflow can be used to build, test, package, release, or deploy a project on {% data variables.product.prodname_dotcom %}. {% ifversion fpt or ghes > 3.3 or ghae-issue-4757 or ghec %}You can reference a workflow within another workflow, see "[Reusing workflows](/actions/learn-github-actions/reusing-workflows)."{% endif %}
|
||||
A workflow is a configurable automated process that will run one or more jobs. Workflows are defined by a YAML file checked in to your repository and will run when triggered by an event in your repository, or they can be triggered manually, or at a defined schedule.
|
||||
|
||||
Your repository can have multiple workflows in a repository, each of which can perform a different set of steps. For example, you can have one workflow to build and test pull requests, another workflow to deploy your application every time a release is created, and still another workflow that adds a label every time someone opens a new issue.
|
||||
|
||||
{% ifversion fpt or ghes > 3.3 or ghae-issue-4757 or ghec %}You can reference a workflow within another workflow, see "[Reusing workflows](/actions/learn-github-actions/reusing-workflows)."{% endif %}
|
||||
|
||||
### Events
|
||||
|
||||
An event is a specific activity that triggers a workflow. For example, activity can originate from {% data variables.product.prodname_dotcom %} when someone pushes a commit to a repository or when an issue or pull request is created. You can also use the [repository dispatch webhook](/rest/reference/repos#create-a-repository-dispatch-event) to trigger a workflow when an external event occurs. For a complete list of events that can be used to trigger workflows, see [Events that trigger workflows](/actions/reference/events-that-trigger-workflows).
|
||||
An event is a specific activity in a repository that triggers a workflow run. For example, activity can originate from {% data variables.product.prodname_dotcom %} when someone creates a pull request, opens an issue, or pushes a commit to a repository. You can also trigger a workflow run on a schedule, by [posting to a REST API](/rest/reference/repos#create-a-repository-dispatch-event), or manually.
|
||||
|
||||
For a complete list of events that can be used to trigger workflows, see [Events that trigger workflows](/actions/reference/events-that-trigger-workflows).
|
||||
|
||||
### Jobs
|
||||
|
||||
A job is a set of steps that execute on the same runner. By default, a workflow with multiple jobs will run those jobs in parallel. You can also configure a workflow to run jobs sequentially. For example, a workflow can have two sequential jobs that build and test code, where the test job is dependent on the status of the build job. If the build job fails, the test job will not run.
|
||||
A job is a set of _steps_ in a workflow that execute on the same runner. Each step is either a shell script that will be executed, or an _action_ that will be run. Steps are executed in order and are dependent on each other. Since each step is executed on the same runner, you can share data from one step to another. For example, you can have a step that builds your application followed by a step that tests the application that was built.
|
||||
|
||||
### Steps
|
||||
|
||||
A step is an individual task that can run commands in a job. A step can be either an _action_ or a shell command. Each step in a job executes on the same runner, allowing the actions in that job to share data with each other.
|
||||
You can configure a job's dependencies with other jobs; by default, jobs have no dependencies and run in parallel with each other. When a job takes a dependency on another job, it will wait for the dependent job to complete before it can run. For example, you may have multiple build jobs for different architectures that have no dependencies, and a packaging job that is dependent on those jobs. The build jobs will run in parallel, and when they have all completed successfully, the packaging job will run.
|
||||
|
||||
### Actions
|
||||
|
||||
_Actions_ are standalone commands that are combined into _steps_ to create a _job_. Actions are the smallest portable building block of a workflow. You can create your own actions, or use actions created by the {% data variables.product.prodname_dotcom %} community. To use an action in a workflow, you must include it as a step.
|
||||
An _action_ is a custom application for the {% data variables.product.prodname_actions %} platform that performs a complex but frequently repeated task. Use an action to help reduce the amount of repetitive code that you write in your workflow files. An action can pull your git repository from {% data variables.product.prodname_dotcom %}, set up the correct toolchain for your build environment, or set up the authentication to your cloud provider.
|
||||
|
||||
You can write your own actions, or you can find actions to use in your workflows in the {% data variables.product.prodname_marketplace %}.
|
||||
|
||||
### Runners
|
||||
|
||||
{% ifversion ghae %}A runner is a server that has the [{% data variables.product.prodname_actions %} runner application](https://github.com/actions/runner) installed. For {% data variables.product.prodname_ghe_managed %}, you can use the security hardened {% data variables.actions.hosted_runner %}s which are bundled with your instance in the cloud. A runner listens for available jobs, runs one job at a time, and reports the progress, logs, and results back to {% data variables.product.prodname_dotcom %}. {% data variables.actions.hosted_runner %}s run each workflow job in a fresh virtual environment. For more information, see "[About {% data variables.actions.hosted_runner %}s](/actions/using-github-hosted-runners/about-ae-hosted-runners)."
|
||||
{% ifversion ghae %}
|
||||
{% data reusables.actions.about-runners %} For {% data variables.product.prodname_ghe_managed %}, you can use the security hardened {% data variables.actions.hosted_runner %}s that are bundled with your instance in the cloud. If you need a different operating system or require a specific hardware configuration, you can host your own runners. For information on self-hosted runners, see "[Hosting your own runners](/actions/hosting-your-own-runners)."
|
||||
{% else %}
|
||||
{% data reusables.actions.about-runners %} A runner listens for available jobs, runs one job at a time, and reports the progress, logs, and results back to {% data variables.product.prodname_dotcom %}. {% data variables.product.prodname_dotcom %}-hosted runners are based on Ubuntu Linux, Microsoft Windows, and macOS, and each job in a workflow runs in a fresh virtual environment. For information on {% data variables.product.prodname_dotcom %}-hosted runners, see "[About {% data variables.product.prodname_dotcom %}-hosted runners](/actions/using-github-hosted-runners/about-github-hosted-runners)." If you need a different operating system or require a specific hardware configuration, you can host your own runners. For information on self-hosted runners, see "[Hosting your own runners](/actions/hosting-your-own-runners)."
|
||||
{% data reusables.actions.about-runners %} Each runner can run a single job at a time. {% data variables.product.prodname_dotcom %} provides Ubuntu Linux, Microsoft Windows, and macOS runners to run your workflows; each workflow run executes in a fresh, newly-provisioned virtual machine. If you need a different operating system or require a specific hardware configuration, you can host your own runners. For information on self-hosted runners, see "[Hosting your own runners](/actions/hosting-your-own-runners)."
|
||||
{% endif %}
|
||||
|
||||
## Create an example workflow
|
||||
|
||||
{% data variables.product.prodname_actions %} uses YAML syntax to define the events, jobs, and steps. These YAML files are stored in your code repository, in a directory called `.github/workflows`.
|
||||
{% data variables.product.prodname_actions %} uses YAML syntax to define the workflow. Each workflow is stored as a separate YAML file in your code repository, in a directory called `.github/workflows`.
|
||||
|
||||
You can create an example workflow in your repository that automatically triggers a series of commands whenever code is pushed. In this workflow, {% data variables.product.prodname_actions %} checks out the pushed code, installs the software dependencies, and runs `bats -v`.
|
||||
|
||||
@@ -112,7 +119,7 @@ To help you understand how YAML syntax is used to create a workflow file, this s
|
||||
```
|
||||
</td>
|
||||
<td>
|
||||
Specify the event that automatically triggers the workflow file. This example uses the <code>push</code> event, so that the jobs run every time someone pushes a change to the repository. You can set up the workflow to only run on certain branches, paths, or tags. For syntax examples including or excluding branches, paths, or tags, see <a href="https://docs.github.com/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestpaths">"Workflow syntax for {% data variables.product.prodname_actions %}."</a>
|
||||
Specifies the trigger for this workflow. This example uses the <code>push</code> event, so a workflow run is triggered every time someone pushes a change to the repository or merges a pull request. This is triggered by a push to every branch; for examples of syntax that runs only on pushes to specific branches, paths, or tags, see <a href="https://docs.github.com/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestpaths">"Workflow syntax for {% data variables.product.prodname_actions %}."</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -123,7 +130,7 @@ To help you understand how YAML syntax is used to create a workflow file, this s
|
||||
```
|
||||
</td>
|
||||
<td>
|
||||
Groups together all the jobs that run in the <code>learn-github-actions</code> workflow file.
|
||||
Groups together all the jobs that run in the <code>learn-github-actions</code> workflow.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -134,7 +141,7 @@ To help you understand how YAML syntax is used to create a workflow file, this s
|
||||
```
|
||||
</td>
|
||||
<td>
|
||||
Defines the name of the <code>check-bats-version</code> job stored within the <code>jobs</code> section.
|
||||
Defines a job named <code>check-bats-version</code>. The child keys will define properties of the job.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -145,7 +152,7 @@ To help you understand how YAML syntax is used to create a workflow file, this s
|
||||
```
|
||||
</td>
|
||||
<td>
|
||||
Configures the job to run on an Ubuntu Linux runner. This means that the job will execute on a fresh virtual machine hosted by GitHub. For syntax examples using other runners, see <a href="https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on">"Workflow syntax for {% data variables.product.prodname_actions %}."</a>
|
||||
Configures the job to run on the latest version of an Ubuntu Linux runner. This means that the job will execute on a fresh virtual machine hosted by GitHub. For syntax examples using other runners, see <a href="https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on">"Workflow syntax for {% data variables.product.prodname_actions %}."</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -156,7 +163,7 @@ To help you understand how YAML syntax is used to create a workflow file, this s
|
||||
```
|
||||
</td>
|
||||
<td>
|
||||
Groups together all the steps that run in the <code>check-bats-version</code> job. Each item nested under this section is a separate action or shell command.
|
||||
Groups together all the steps that run in the <code>check-bats-version</code> job. Each item nested under this section is a separate action or shell script.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -167,7 +174,7 @@ To help you understand how YAML syntax is used to create a workflow file, this s
|
||||
```
|
||||
</td>
|
||||
<td>
|
||||
The <code>uses</code> keyword tells the job to retrieve <code>v2</code> of the community action named <code>actions/checkout@v2</code>. This is an action that checks out your repository and downloads it to the runner, allowing you to run actions against your code (such as testing tools). You must use the checkout action any time your workflow will run against the repository's code or you are using an action defined in the repository.
|
||||
The <code>uses</code> keyword specifies that this step will run <code>v2</code> of the <code>actions/checkout</code> action. This is an action that checks out your repository onto the runner, allowing you to run scripts or other actions against your code (such as build and test tools). You should use the checkout action any time your workflow will run against the repository's code.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -180,7 +187,7 @@ To help you understand how YAML syntax is used to create a workflow file, this s
|
||||
```
|
||||
</td>
|
||||
<td>
|
||||
This step uses the <code>actions/setup-node@v2</code> action to install the specified version of the <code>node</code> software package on the runner, which gives you access to the <code>npm</code> command.
|
||||
This step uses the <code>actions/setup-node@v2</code> action to install the specified version of the Node.js (this example uses v14). This puts both the <code>node</code> and <code>npm</code> commands in your <code>PATH</code>.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -209,13 +216,13 @@ To help you understand how YAML syntax is used to create a workflow file, this s
|
||||
|
||||
### Visualizing the workflow file
|
||||
|
||||
In this diagram, you can see the workflow file you just created and how the {% data variables.product.prodname_actions %} components are organized in a hierarchy. Each step executes a single action or shell command. Steps 1 and 2 use prebuilt community actions. Steps 3 and 4 run shell commands directly on the runner. To find more prebuilt actions for your workflows, see "[Finding and customizing actions](/actions/learn-github-actions/finding-and-customizing-actions)."
|
||||
In this diagram, you can see the workflow file you just created and how the {% data variables.product.prodname_actions %} components are organized in a hierarchy. Each step executes a single action or shell script. Steps 1 and 2 run actions, while steps 3 and 4 run shell scripts. To find more prebuilt actions for your workflows, see "[Finding and customizing actions](/actions/learn-github-actions/finding-and-customizing-actions)."
|
||||
|
||||

|
||||
|
||||
## Viewing the job's activity
|
||||
## Viewing the workflow's activity
|
||||
|
||||
Once your job has started running, you can {% ifversion fpt or ghes > 3.0 or ghae or ghec %}see a visualization graph of the run's progress and {% endif %}view each step's activity on {% data variables.product.prodname_dotcom %}.
|
||||
Once your workflow has started running, you can {% ifversion fpt or ghes > 3.0 or ghae or ghec %}see a visualization graph of the run's progress and {% endif %}view each step's activity on {% data variables.product.prodname_dotcom %}.
|
||||
|
||||
{% data reusables.repositories.navigate-to-repo %}
|
||||
1. Under your repository name, click **Actions**.
|
||||
|
||||
@@ -67,7 +67,7 @@ There are several types of data that applications can request.
|
||||
| Notifications | Notification access allows applications to read your {% data variables.product.product_name %} notifications, such as comments on issues and pull requests. However, applications remain unable to access anything in your repositories. |
|
||||
| Organizations and teams | Organization and teams access allows apps to access and manage organization and team membership. |
|
||||
| Personal user data | User data includes information found in your user profile, like your name, e-mail address, and location. |
|
||||
| Repositories | Repository information includes the names of contributors, the branches you've created, and the actual files within your repository. Applications can request access for either {% ifversion not ghae %}public{% else %}internal{% endif %} or private repositories on a user-wide level. |
|
||||
| Repositories | Repository information includes the names of contributors, the branches you've created, and the actual files within your repository. An application can request access to all of your repositories of any visibility level. For more information, see "[About repositories](/repositories/creating-and-managing-repositories/about-repositories#about-repository-visibility)." |
|
||||
| Repository delete | Applications can request to delete repositories that you administer, but they won't have access to your code. |
|
||||
|
||||
## Requesting updated permissions
|
||||
|
||||
@@ -27,7 +27,7 @@ You can use the security overview for a high-level view of the security status o
|
||||
|
||||
The security overview indicates whether {% ifversion fpt or ghes > 3.1 or ghec %}security{% endif %}{% ifversion ghae-next %}{% data variables.product.prodname_GH_advanced_security %}{% endif %} features are enabled for repositories owned by your organization and consolidates alerts for each feature.{% ifversion fpt or ghes > 3.1 or ghec %} Security features include {% data variables.product.prodname_GH_advanced_security %} features, such as {% data variables.product.prodname_code_scanning %} and {% data variables.product.prodname_secret_scanning %}, as well as {% data variables.product.prodname_dependabot_alerts %}.{% endif %} For more information about {% data variables.product.prodname_GH_advanced_security %} features, see "[About {% data variables.product.prodname_GH_advanced_security %}](/get-started/learning-about-github/about-github-advanced-security)."{% ifversion fpt or ghes > 3.1 or ghec %} For more information about {% data variables.product.prodname_dependabot_alerts %}, see "[About alerts for vulnerable dependencies](/code-security/supply-chain-security/managing-vulnerabilities-in-your-projects-dependencies/about-alerts-for-vulnerable-dependencies#dependabot-alerts-for-vulnerable-dependencies)."{% endif %}
|
||||
|
||||
For more information about securing your code at the repository and organization levels, see "[Securing your repository](/code-security/getting-started/securing-your-repository)" and "[Securing your organization](/code-security/getting-started/securing-your-organization)."
|
||||
For more information about securing your code at the repository and organization levels, see "[Securing your repository](/code-security/getting-started/securing-your-repository)" and "[Securing your organization](/code-security/getting-started/securing-your-organization)."
|
||||
|
||||
In the security overview, you can view, sort, and filter alerts to understand the security risks in your organization and in specific repositories. You can apply multiple filters to focus on areas of interest. For example, you can identify private repositories that have a high number of {% data variables.product.prodname_dependabot_alerts %} or repositories that have no {% data variables.product.prodname_code_scanning %} alerts.
|
||||
|
||||
@@ -105,11 +105,15 @@ The level of risk for a repository is determined by the number and severity of a
|
||||
### Filter by repository type
|
||||
|
||||
| Qualifier | Description |
|
||||
| -------- | -------- |{% ifversion fpt or ghes > 3.1 or ghec %}
|
||||
| `is:public` | Display public repositories. |{% endif %}
|
||||
| -------- | -------- |
|
||||
{%- ifversion fpt or ghes > 3.1 or ghec %}
|
||||
| `is:public` | Display public repositories. |
|
||||
{% elsif ghes or ghec or ghae %}
|
||||
| `is:internal` | Display internal repositories. |
|
||||
{%- endif %}
|
||||
| `is:private` | Display private repositories. |
|
||||
| `archived:true` | Display archived repositories. |
|
||||
| `archived:true` | Display archived repositories. |
|
||||
|
||||
### Filter by team
|
||||
|
||||
|
||||
@@ -41,13 +41,13 @@ For more information, see the [Settings Sync guide](https://code.visualstudio.co
|
||||
|
||||
## Dotfiles
|
||||
|
||||
Dotfiles are files and folders on Unix-like systems starting with `.` that control the configuration of applications and shells on your system. You can store and manage your dotfiles in a repository on {% data variables.product.prodname_dotcom %}. For advice and tutorials about what to include in your `dotfiles` repository, see [GitHub does dotfiles](https://dotfiles.github.io/).
|
||||
Dotfiles are files and folders on Unix-like systems starting with `.` that control the configuration of applications and shells on your system. You can store and manage your dotfiles in a repository on {% data variables.product.prodname_dotcom %}. For advice and tutorials about what to include in your dotfiles repository, see [GitHub does dotfiles](https://dotfiles.github.io/).
|
||||
|
||||
If your user account on {% data variables.product.prodname_dotcom %} owns a public repository named `dotfiles`, {% data variables.product.prodname_dotcom %} can automatically use this repository to personalize your codespace environment, once enabled from your [personal Codespaces settings](https://github.com/settings/codespaces). Private `dotfiles` repositories are not currently supported.
|
||||
Your dotfiles repository might include your shell aliases and preferences, any tools you want to install, or any other codespace personalization you want to make.
|
||||
|
||||
Your `dotfiles` repository might include your shell aliases and preferences, any tools you want to install, or any other codespace personalization you want to make.
|
||||
You can configure {% data variables.product.prodname_codespaces %} to use dotfiles from any repository you own by selecting that repository in your [personal {% data variables.product.prodname_codespaces %} settings](https://github.com/settings/codespaces).
|
||||
|
||||
When you create a new codespace, {% data variables.product.prodname_dotcom %} clones your `dotfiles` repository to the codespace environment, and looks for one of the following files to set up the environment.
|
||||
When you create a new codespace, {% data variables.product.prodname_dotcom %} clones your selected repository to the codespace environment, and looks for one of the following files to set up the environment.
|
||||
|
||||
* _install.sh_
|
||||
* _install_
|
||||
@@ -58,9 +58,9 @@ When you create a new codespace, {% data variables.product.prodname_dotcom %} cl
|
||||
* _setup_
|
||||
* _script/setup_
|
||||
|
||||
If none of these files are found, then any files or folders in `dotfiles` starting with `.` are symlinked to the codespace's `~` or `$HOME` directory.
|
||||
If none of these files are found, then any files or folders in your selected dotfiles repository starting with `.` are symlinked to the codespace's `~` or `$HOME` directory.
|
||||
|
||||
Any changes to your `dotfiles` repository will apply only to each new codespace, and do not affect any existing codespace.
|
||||
Any changes to your selected dotfiles repository will apply only to each new codespace, and do not affect any existing codespace.
|
||||
|
||||
{% note %}
|
||||
|
||||
@@ -70,18 +70,20 @@ Any changes to your `dotfiles` repository will apply only to each new codespace,
|
||||
|
||||
### Enabling your dotfiles repository for {% data variables.product.prodname_codespaces %}
|
||||
|
||||
You can use your public `dotfiles` repository to personalize your {% data variables.product.prodname_codespaces %} environment. Once you set up that repository, you can add your scripts, preferences, and configurations to it. You then need to enable your dotfiles from your personal {% data variables.product.prodname_codespaces %} settings page.
|
||||
You can use your selected dotfiles repository to personalize your {% data variables.product.prodname_codespaces %} environment. Once you choose your dotfiles repository, you can add your scripts, preferences, and configurations to it. You then need to enable your dotfiles from your personal {% data variables.product.prodname_codespaces %} settings page.
|
||||
|
||||
{% warning %}
|
||||
|
||||
**Warning:** Dotfiles have the ability to run arbitrary scripts, which may contain unexpected or malicious code. Before installing a dotfiles repo, we recommend checking scripts to ensure they don't perform any unexpected actions.
|
||||
|
||||
{% endwarning %}
|
||||
|
||||
{% data reusables.user_settings.access_settings %}
|
||||
{% data reusables.user_settings.codespaces-tab %}
|
||||
1. Under "Dotfiles", select "Automatically install dotfiles" so that {% data variables.product.prodname_codespaces %} automatically installs your dotfiles into every new codespace you create.
|
||||

|
||||
|
||||
{% note %}
|
||||
|
||||
**Note:** This option is only available if you've created a public `dotfiles` repository for your user account.
|
||||
|
||||
{% endnote %}
|
||||

|
||||
2. Once "Automatically install dotfiles" is selected, select the repo you would like to install dotfiles from.
|
||||

|
||||
|
||||
You can add further script, preferences, configuration files to your dotfiles repository or edit existing files whenever you want. Changes to settings will only be picked up by new codespaces.
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ Every repository on {% ifversion ghae %}{% data variables.product.product_name %
|
||||
|
||||
With wikis, you can write content just like everywhere else on {% data variables.product.product_name %}. For more information, see "[Getting started with writing and formatting on {% data variables.product.prodname_dotcom %}](/articles/getting-started-with-writing-and-formatting-on-github)." We use [our open-source Markup library](https://github.com/github/markup) to convert different formats into HTML, so you can choose to write in Markdown or any other supported format.
|
||||
|
||||
{% ifversion fpt or ghes or ghec %}If you create a wiki in a public repository, the wiki is available to {% ifversion ghes %}anyone with access to {% data variables.product.product_location %}{% else %}the public{% endif %}. {% endif %}If you create a wiki in an internal or private repository, only {% ifversion fpt or ghes or ghec %}people{% elsif ghae %}enterprise members{% endif %} with access to the repository can access the wiki. For more information, see "[Setting repository visibility](/articles/setting-repository-visibility)."
|
||||
{% ifversion fpt or ghes or ghec %}If you create a wiki in a public repository, the wiki is available to {% ifversion ghes %}anyone with access to {% data variables.product.product_location %}{% else %}the public{% endif %}. {% endif %}If you create a wiki in a private{% ifversion ghec or ghes %} or internal{% endif %} repository, only {% ifversion fpt or ghes or ghec %}people{% elsif ghae %}enterprise members{% endif %} with access to the repository can access the wiki. For more information, see "[Setting repository visibility](/articles/setting-repository-visibility)."
|
||||
|
||||
You can edit wikis directly on {% data variables.product.product_name %}, or you can edit wiki files locally. By default, only people with write access to your repository can make changes to wikis, although you can allow everyone on {% data variables.product.product_location %} to contribute to a wiki in {% ifversion ghae %}an internal{% else %}a public{% endif %} repository. For more information, see "[Changing access permissions for wikis](/communities/documenting-your-project-with-wikis/changing-access-permissions-for-wikis)".
|
||||
|
||||
|
||||
@@ -43,15 +43,15 @@ Name | Description
|
||||
**`(no scope)`** | Grants read-only access to public information (including user profile info, repository info, and gists){% endif %}{% ifversion ghes or ghae %}
|
||||
**`site_admin`** | Grants site administrators access to [{% data variables.product.prodname_ghe_server %} Administration API endpoints](/rest/reference/enterprise-admin).{% endif %}
|
||||
**`repo`** | Grants full access to repositories, including private repositories. That includes read/write access to code, commit statuses, repository and organization projects, invitations, collaborators, adding team memberships, deployment statuses, and repository webhooks for repositories and organizations. Also grants ability to manage user projects.
|
||||
 `repo:status`| Grants read/write access to {% ifversion not ghae %}public{% else %}internal{% endif %} and private repository commit statuses. This scope is only necessary to grant other users or services access to private repository commit statuses *without* granting access to the code.
|
||||
 `repo:status`| Grants read/write access to commit statuses in {% ifversion fpt %}public and private{% elsif ghec or ghes %}public, private, and internal{% elsif ghae %}private and internal{% endif %} repositories. This scope is only necessary to grant other users or services access to private repository commit statuses *without* granting access to the code.
|
||||
 `repo_deployment`| Grants access to [deployment statuses](/rest/reference/repos#deployments) for {% ifversion not ghae %}public{% else %}internal{% endif %} and private repositories. This scope is only necessary to grant other users or services access to deployment statuses, *without* granting access to the code.{% ifversion not ghae %}
|
||||
 `public_repo`| Limits access to public repositories. That includes read/write access to code, commit statuses, repository projects, collaborators, and deployment statuses for public repositories and organizations. Also required for starring public repositories.{% endif %}
|
||||
 `repo:invite` | Grants accept/decline abilities for invitations to collaborate on a repository. This scope is only necessary to grant other users or services access to invites *without* granting access to the code.{% ifversion fpt or ghes > 3.0 or ghec %}
|
||||
 `security_events` | Grants: <br/> read and write access to security events in the [{% data variables.product.prodname_code_scanning %} API](/rest/reference/code-scanning) <br/> read and write access to security events in the [{% data variables.product.prodname_secret_scanning %} API](/rest/reference/secret-scanning) <br/> This scope is only necessary to grant other users or services access to security events *without* granting access to the code.{% endif %}{% ifversion ghes < 3.1 %}
|
||||
 `security_events` | Grants read and write access to security events in the [{% data variables.product.prodname_code_scanning %} API](/rest/reference/code-scanning). This scope is only necessary to grant other users or services access to security events *without* granting access to the code.{% endif %}
|
||||
**`admin:repo_hook`** | Grants read, write, ping, and delete access to repository hooks in {% ifversion not ghae %}public{% else %}internal{% endif %} and private repositories. The `repo` {% ifversion not ghae %}and `public_repo` scopes grant{% else %}scope grants{% endif %} full access to repositories, including repository hooks. Use the `admin:repo_hook` scope to limit access to only repository hooks.
|
||||
 `write:repo_hook` | Grants read, write, and ping access to hooks in {% ifversion not ghae %}public{% else %}internal{% endif %} or private repositories.
|
||||
 `read:repo_hook`| Grants read and ping access to hooks in {% ifversion not ghae %}public{% else %}internal{% endif %} or private repositories.
|
||||
**`admin:repo_hook`** | Grants read, write, ping, and delete access to repository hooks in {% ifversion fpt %}public or private{% elsif ghec or ghes %}public, private, or internal{% elsif ghae %}private or internal{% endif %} repositories. The `repo` {% ifversion fpt or ghec or ghes %}and `public_repo` scopes grant{% else %}scope grants{% endif %} full access to repositories, including repository hooks. Use the `admin:repo_hook` scope to limit access to only repository hooks.
|
||||
 `write:repo_hook` | Grants read, write, and ping access to hooks in {% ifversion fpt %}public or private{% elsif ghec or ghes %}public, private, or internal{% elsif ghae %}private or internal{% endif %} repositories.
|
||||
 `read:repo_hook`| Grants read and ping access to hooks in {% ifversion fpt %}public or private{% elsif ghec or ghes %}public, private, or internal{% elsif ghae %}private or internal{% endif %} repositories.
|
||||
**`admin:org`** | Fully manage the organization and its teams, projects, and memberships.
|
||||
 `write:org`| Read and write access to organization membership, organization projects, and team membership.
|
||||
 `read:org`| Read-only access to organization membership, organization projects, and team membership.
|
||||
|
||||
@@ -12,4 +12,3 @@ children:
|
||||
- /apps
|
||||
- /github-marketplace
|
||||
---
|
||||
|
||||
|
||||
@@ -22,4 +22,3 @@ children:
|
||||
- /site-policy-deprecated
|
||||
- /setting-up-and-managing-your-enterprise
|
||||
---
|
||||
|
||||
|
||||
@@ -24,7 +24,9 @@ Only organization owners can remove members from an organization.
|
||||
**Warning:** When you remove members from an organization:
|
||||
- The paid license count does not automatically downgrade. To pay for fewer licenses after removing users from your organization, follow the steps in "[Downgrading your organization's paid seats](/articles/downgrading-your-organization-s-paid-seats)."
|
||||
- Removed members will lose access to private forks of your organization's private repositories, but they may still have local copies. However, they cannot sync local copies with your organization's repositories. Their private forks can be restored if the user is [reinstated as an organization member](/articles/reinstating-a-former-member-of-your-organization) within three months of being removed from the organization. Ultimately, you are responsible for ensuring that people who have lost access to a repository delete any confidential information or intellectual property.
|
||||
- If your organization is owned by an enterprise account, removed members will also lose access to private forks of your organization's internal repositories, if the removed member is not a member of any other organization owned by the same enterprise account. For more information, see "[About enterprise accounts](/enterprise-cloud@latest/admin/overview/about-enterprise-accounts)."
|
||||
{%- ifversion ghec %}
|
||||
- Removed members will also lose access to private forks of your organization's internal repositories, if the removed member is not a member of any other organization owned by the same enterprise account. For more information, see "[About enterprise accounts](/admin/overview/about-enterprise-accounts)."
|
||||
{%- endif %}
|
||||
- Any organization invitations sent by a removed member, that have not been accepted, are cancelled and will not be accessible.
|
||||
|
||||
{% endwarning %}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Managing the forking policy for your organization
|
||||
intro: 'You can allow or prevent the forking of any private{% ifversion fpt or ghes or ghae or ghec %} and internal{% endif %} repositories owned by your organization.'
|
||||
intro: 'You can allow or prevent the forking of any private{% ifversion ghes or ghae or ghec %} and internal{% endif %} repositories owned by your organization.'
|
||||
redirect_from:
|
||||
- /articles/allowing-people-to-fork-private-repositories-in-your-organization
|
||||
- /github/setting-up-and-managing-organizations-and-teams/allowing-people-to-fork-private-repositories-in-your-organization
|
||||
@@ -17,17 +17,19 @@ topics:
|
||||
shortTitle: Manage forking policy
|
||||
---
|
||||
|
||||
By default, new organizations are configured to disallow the forking of private{% ifversion fpt or ghes or ghae or ghec %} and internal{% endif %} repositories.
|
||||
By default, new organizations are configured to disallow the forking of private{% ifversion ghes or ghec or ghae %} and internal{% endif %} repositories.
|
||||
|
||||
If you allow forking of private{% ifversion fpt or ghes or ghae or ghec %} and internal{% endif %} repositories at the organization level, you can also configure the ability to fork a specific private{% ifversion fpt or ghes or ghae or ghec %} or internal{% endif %} repository. For more information, see "[Managing the forking policy for your repository](/github/administering-a-repository/managing-the-forking-policy-for-your-repository)."
|
||||
|
||||
{% data reusables.organizations.internal-repos-enterprise %}
|
||||
If you allow forking of private{% ifversion ghes or ghec or ghae %} and internal{% endif %} repositories at the organization level, you can also configure the ability to fork a specific private{% ifversion ghes or ghec or ghae %} or internal{% endif %} repository. For more information, see "[Managing the forking policy for your repository](/github/administering-a-repository/managing-the-forking-policy-for-your-repository)."
|
||||
|
||||
{% data reusables.profile.access_org %}
|
||||
{% data reusables.profile.org_settings %}
|
||||
{% data reusables.organizations.member-privileges %}
|
||||
5. Under "Repository forking", select **Allow forking of private repositories** or **Allow forking of private and internal repositories**.
|
||||

|
||||
1. Under "Repository forking", select **Allow forking of private {% ifversion ghec or ghes or ghae %}and internal {% endif %}repositories**.
|
||||
|
||||
{%- ifversion fpt %}
|
||||

|
||||
{%- elsif ghes or ghec or ghae %}
|
||||

|
||||
{%- endif %}
|
||||
6. Click **Save**.
|
||||
|
||||
## Further reading
|
||||
|
||||
@@ -15,11 +15,11 @@ topics:
|
||||
shortTitle: Restrict repository creation
|
||||
---
|
||||
|
||||
You can choose whether members can create repositories in your organization. If you allow members to create repositories, you can choose which types of repositories members can create.{% ifversion fpt or ghec %} To allow members to create private repositories only, your organization must use {% data variables.product.prodname_ghe_cloud %}.{% endif %} For more information, see "[About repositories](/repositories/creating-and-managing-repositories/about-repositories#about-repository-visibility)."
|
||||
You can choose whether members can create repositories in your organization. If you allow members to create repositories, you can choose which types of repositories members can create.{% ifversion fpt or ghec %} To allow members to create private repositories only, your organization must use {% data variables.product.prodname_ghe_cloud %}.{% endif %}{% ifversion fpt %} For more information, see "[About repositories](/enterprise-cloud@latest/repositories/creating-and-managing-repositories/about-repositories)" in the {% data variables.product.prodname_ghe_cloud %} documentation{% endif %}.
|
||||
|
||||
Organization owners can always create any type of repository.
|
||||
|
||||
{% ifversion fpt or ghec %}Enterprise owners{% else %}Site administrators{% endif %} can restrict the options you have available for your organization's repository creation policy. For more information, see "[Restricting repository creation in your enterprise](/admin/policies/enforcing-repository-management-policies-in-your-enterprise#setting-a-policy-for-repository-creation)."
|
||||
{% ifversion ghec or ghae or ghes %}
|
||||
{% ifversion ghec or ghae %}Enterprise owners{% elsif ghes %}Site administrators{% endif %} can restrict the options you have available for your organization's repository creation policy.{% ifversion ghec or ghes or ghae %} For more information, see "[Restricting repository creation in your enterprise](/admin/policies/enforcing-repository-management-policies-in-your-enterprise#setting-a-policy-for-repository-creation)."{% endif %}{% endif %}
|
||||
|
||||
{% warning %}
|
||||
|
||||
@@ -27,11 +27,14 @@ Organization owners can always create any type of repository.
|
||||
|
||||
{% endwarning %}
|
||||
|
||||
{% data reusables.organizations.internal-repos-enterprise %}
|
||||
|
||||
{% data reusables.profile.access_org %}
|
||||
{% data reusables.profile.org_settings %}
|
||||
{% data reusables.organizations.member-privileges %}
|
||||
5. Under "Repository creation", select one or more options.
|
||||

|
||||
|
||||
{%- ifversion ghes or ghec or ghae %}
|
||||

|
||||
{%- elsif fpt %}
|
||||

|
||||
{%- endif %}
|
||||
6. Click **Save**.
|
||||
|
||||
@@ -60,15 +60,11 @@ If a private repository is made public and then deleted, its private forks will
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% ifversion fpt or ghae or ghes or ghec %}
|
||||
{% ifversion ghes or ghec or ghae %}
|
||||
|
||||
## Changing the visibility of an internal repository
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note:** {% data reusables.gated-features.internal-repos %}
|
||||
|
||||
{% endnote %}
|
||||
|
||||
If the policy for your enterprise permits forking, any fork of an internal repository will be private. If you change the visibility of an internal repository, any fork owned by an organization or user account will remain private.
|
||||
|
||||
|
||||
@@ -44,31 +44,38 @@ You can use repositories to manage your work and collaborate with others.
|
||||
|
||||
## About repository visibility
|
||||
|
||||
You can restrict who has access to a repository by choosing a repository's visibility: {% ifversion fpt or ghes or ghec %}public, internal, or private{% elsif ghae %}private or internal{% else %} public or private{% endif %}.
|
||||
You can restrict who has access to a repository by choosing a repository's visibility: {% ifversion ghes or ghec %}public, internal, or private{% elsif ghae %}private or internal{% else %} public or private{% endif %}.
|
||||
|
||||
{% ifversion ghae %}When you create a repository owned by your user account, the repository is always private. When you create a repository owned by an organization, you can choose to make the repository private or internal.{% else %}When you create a repository, you can choose to make the repository public or private.{% ifversion fpt or ghes or ghec %} If you're creating the repository in an organization{% ifversion fpt or ghec %} that is owned by an enterprise account{% endif %}, you can also choose to make the repository internal.{% endif %}{% endif %}
|
||||
{% ifversion fpt or ghec or ghes %}
|
||||
|
||||
When you create a repository, you can choose to make the repository public or private.{% ifversion ghec or ghes %} If you're creating the repository in an organization{% ifversion ghec %} that is owned by an enterprise account{% endif %}, you can also choose to make the repository internal.{% endif %}{% endif %}{% ifversion fpt %} Repositories in organizations that use {% data variables.product.prodname_ghe_cloud %} can also be created with internal visibility. For more information, see "[About enterprise accounts](/enterprise-cloud@latest/admin/overview/about-enterprise-accounts)" in the {% data variables.product.prodname_ghe_cloud %} documentation.
|
||||
|
||||
{% ifversion ghes %}
|
||||
If {% data variables.product.product_location %} is not in private mode or behind a firewall, public repositories are accessible to everyone on the internet. Otherwise, public repositories are available to everyone using {% data variables.product.product_location %}, including outside collaborators. Private repositories are only accessible to you, people you explicitly share access with, and, for organization repositories, certain organization members. {% ifversion ghes %} Internal repositories are accessible to enterprise members. For more information, see "[About internal repositories](#about-internal-repositories)."{% endif %}
|
||||
{% elsif ghae %}
|
||||
Private repositories are only accessible to you, people you explicitly share access with, and, for organization repositories, certain organization members. Internal repositories are accessible to all enterprise members. For more information, see "[About internal repositories](#about-internal-repositories)."
|
||||
{% else %}
|
||||
Public repositories are accessible to everyone on the internet. Private repositories are only accessible to you, people you explicitly share access with, and, for organization repositories, certain organization members. Internal repositories are accessible to enterprise members. For more information, see "[About internal repositories](#about-internal-repositories)."
|
||||
|
||||
When you create a repository owned by your user account, the repository is always private. When you create a repository owned by an organization, you can choose to make the repository private or internal.
|
||||
|
||||
{% endif %}
|
||||
|
||||
{%- ifversion fpt or ghec %}
|
||||
- Public repositories are accessible to everyone on the internet.
|
||||
- Private repositories are only accessible to you, people you explicitly share access with, and, for organization repositories, certain organization members.
|
||||
{%- elsif ghes %}
|
||||
- If {% data variables.product.product_location %} is not in private mode or behind a firewall, public repositories are accessible to everyone on the internet. Otherwise, public repositories are available to everyone using {% data variables.product.product_location %}, including outside collaborators.
|
||||
- Private repositories are only accessible to you, people you explicitly share access with, and, for organization repositories, certain organization members. Internal repositories are accessible to all enterprise members.
|
||||
{%- elsif ghae %}
|
||||
- Private repositories are only accessible to you, people you explicitly share access with, and, for organization repositories, certain organization members.
|
||||
{%- endif %}
|
||||
{%- ifversion ghec or ghes or ghae %}
|
||||
- Internal repositories are accessible to all enterprise members. For more information, see "[About internal repositories](#about-internal-repositories)."
|
||||
{%- endif %}
|
||||
|
||||
Organization owners always have access to every repository created in an organization. For more information, see "[Repository roles for an organization](/organizations/managing-access-to-your-organizations-repositories/repository-roles-for-an-organization)."
|
||||
|
||||
People with admin permissions for a repository can change an existing repository's visibility. For more information, see "[Setting repository visibility](/github/administering-a-repository/setting-repository-visibility)."
|
||||
|
||||
{% ifversion fpt or ghae or ghes or ghec %}
|
||||
{% ifversion ghes or ghec or ghae %}
|
||||
## About internal repositories
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note:** {% data reusables.gated-features.internal-repos %}
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% data reusables.repositories.about-internal-repos %} For more information on innersource, see {% data variables.product.prodname_dotcom %}'s whitepaper "[An introduction to innersource](https://resources.github.com/whitepapers/introduction-to-innersource/)."
|
||||
|
||||
All enterprise members have read permissions to the internal repository, but internal repositories are not visible to people {% ifversion fpt or ghec %}outside of the enterprise{% else %}who are not members of any organization{% endif %}, including outside collaborators on organization repositories. For more information, see "[Roles in an enterprise](/github/setting-up-and-managing-your-enterprise/roles-in-an-enterprise#enterprise-members)" and "[Repository roles for an organization](/organizations/managing-access-to-your-organizations-repositories/repository-roles-for-an-organization)."
|
||||
|
||||
@@ -24,8 +24,8 @@ topics:
|
||||
**Warnings**:
|
||||
|
||||
- Deleting a repository will **permanently** delete release attachments and team permissions. This action **cannot** be undone.
|
||||
- Deleting a private or internal repository will delete all forks of the repository.
|
||||
|
||||
- Deleting a private{% ifversion ghes or ghec or ghae %} or internal{% endif %} repository will delete all forks of the repository.
|
||||
|
||||
{% endwarning %}
|
||||
|
||||
Some deleted repositories can be restored within 90 days of deletion. {% ifversion ghes or ghae %}Your site administrator may be able to restore a deleted repository for you. For more information, see "[Restoring a deleted repository](/admin/user-management/managing-repositories-in-your-enterprise/restoring-a-deleted-repository)." {% else %}For more information, see "[Restoring a deleted repository](/articles/restoring-a-deleted-repository)."{% endif %}
|
||||
|
||||
@@ -27,7 +27,7 @@ To browse the most used topics, go to https://github.com/topics/.
|
||||
|
||||
Repository admins can add any topics they'd like to a repository. Helpful topics to classify a repository include the repository's intended purpose, subject area, community, or language.{% ifversion fpt or ghec %} Additionally, {% data variables.product.product_name %} analyzes public repository content and generates suggested topics that repository admins can accept or reject. Private repository content is not analyzed and does not receive topic suggestions.{% endif %}
|
||||
|
||||
{% ifversion ghae %}Internal {% else %}Public, internal, {% endif %}and private repositories can have topics, although you will only see private repositories that you have access to in topic search results.
|
||||
{% ifversion fpt %}Public and private{% elsif ghec or ghes %}Public, private, and internal{% elsif ghae %}Private and internal{% endif %} repositories can have topics, although you will only see private repositories that you have access to in topic search results.
|
||||
|
||||
You can search for repositories that are associated with a particular topic. For more information, see "[Searching for repositories](/search-github/searching-on-github/searching-for-repositories#search-by-topic)." You can also search for a list of topics on {% data variables.product.product_name %}. For more information, see "[Searching topics](/search-github/searching-on-github/searching-topics)."
|
||||
|
||||
|
||||
@@ -109,15 +109,9 @@ The default permissions can also be configured in the organization settings. If
|
||||
1. Click **Save** to apply the settings.
|
||||
{% endif %}
|
||||
|
||||
{% ifversion fpt or ghes > 3.3 or ghae-issue-4757 or ghec %}
|
||||
{% ifversion ghes > 3.3 or ghae-issue-4757 or ghec %}
|
||||
## Allowing access to components in an internal repository
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note:** {% data reusables.gated-features.internal-repos %}
|
||||
|
||||
{% endnote %}
|
||||
|
||||
Members of your enterprise can use internal repositories to work on projects without sharing information publicly. For information, see "[About repositories](/repositories/creating-and-managing-repositories/about-repositories#about-internal-repositories)."
|
||||
|
||||
To configure whether workflows in an internal repository can be accessed from outside the repository:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Managing the forking policy for your repository
|
||||
intro: 'You can allow or prevent the forking of a specific private{% ifversion fpt or ghae or ghes or ghec %} or internal{% endif %} repository owned by an organization.'
|
||||
intro: 'You can allow or prevent the forking of a specific private{% ifversion ghae or ghes or ghec %} or internal{% endif %} repository owned by an organization.'
|
||||
redirect_from:
|
||||
- /articles/allowing-people-to-fork-a-private-repository-owned-by-your-organization
|
||||
- /github/administering-a-repository/allowing-people-to-fork-a-private-repository-owned-by-your-organization
|
||||
@@ -16,9 +16,7 @@ topics:
|
||||
- Repositories
|
||||
shortTitle: Manage the forking policy
|
||||
---
|
||||
An organization owner must allow forks of private{% ifversion fpt or ghae or ghes or ghec %} and internal{% endif %} repositories on the organization level before you can allow or disallow forks for a specific repository. For more information, see "[Managing the forking policy for your organization](/organizations/managing-organization-settings/managing-the-forking-policy-for-your-organization)."
|
||||
|
||||
{% data reusables.organizations.internal-repos-enterprise %}
|
||||
An organization owner must allow forks of private{% ifversion ghae or ghes or ghec %} and internal{% endif %} repositories on the organization level before you can allow or disallow forks for a specific repository. For more information, see "[Managing the forking policy for your organization](/organizations/managing-organization-settings/managing-the-forking-policy-for-your-organization)."
|
||||
|
||||
{% data reusables.repositories.navigate-to-repo %}
|
||||
{% data reusables.repositories.sidebar-settings %}
|
||||
|
||||
@@ -21,9 +21,9 @@ shortTitle: Repository visibility
|
||||
|
||||
Organization owners can restrict the ability to change repository visibility to organization owners only. For more information, see "[Restricting repository visibility changes in your organization](/organizations/managing-organization-settings/restricting-repository-visibility-changes-in-your-organization)."
|
||||
|
||||
{% ifversion fpt or ghec %}
|
||||
{% ifversion ghec %}
|
||||
|
||||
If you're a member of an {% data variables.product.prodname_emu_enterprise %}, your repositories owned by your user account can only be private, and repositories in your enterprise's organizations can only be private or internal.
|
||||
Members of an {% data variables.product.prodname_emu_enterprise %} can only set the visibility of repositories owned by their user account to private, and repositories in their enterprise's organizations can only be private or internal. For more information, see "[About {% data variables.product.prodname_emus %}](/admin/authentication/managing-your-enterprise-users-with-your-identity-provider/about-enterprise-managed-users)."
|
||||
|
||||
{% endif %}
|
||||
|
||||
@@ -46,22 +46,27 @@ We recommend reviewing the following caveats before you change the visibility of
|
||||
### Making a repository private
|
||||
{% ifversion fpt or ghes or ghec %}
|
||||
* {% data variables.product.product_name %} will detach public forks of the public repository and put them into a new network. Public forks are not made private.{% endif %}
|
||||
* If you change a repository's visibility from internal to private, {% data variables.product.prodname_dotcom %} will remove forks that belong to any user without access to the newly private repository. {% ifversion fpt or ghes or ghec %}The visibility of any forks will also change to private.{% elsif ghae %}If the internal repository has any forks, the visibility of the forks is already private.{% endif %} For more information, see "[What happens to forks when a repository is deleted or changes visibility?](/articles/what-happens-to-forks-when-a-repository-is-deleted-or-changes-visibility)"{% ifversion fpt %}
|
||||
* If you're using {% data variables.product.prodname_free_user %} for user accounts or organizations, some features won't be available in the repository after you change the visibility to private. Any published {% data variables.product.prodname_pages %} site will be automatically unpublished. If you added a custom domain to the {% data variables.product.prodname_pages %} site, you should remove or update your DNS records before making the repository private, to avoid the risk of a domain takeover. For more information, see "[{% data variables.product.company_short %}'s products](/get-started/learning-about-github/githubs-products) and "[Managing a custom domain for your {% data variables.product.prodname_pages %} site](/articles/managing-a-custom-domain-for-your-github-pages-site)."{% endif %}{% ifversion fpt or ghec %}
|
||||
* {% data variables.product.prodname_dotcom %} will no longer include the repository in the {% data variables.product.prodname_archive %}. For more information, see "[About archiving content and data on {% data variables.product.prodname_dotcom %}](/github/creating-cloning-and-archiving-repositories/about-archiving-content-and-data-on-github#about-the-github-archive-program)."
|
||||
* {% data variables.product.prodname_GH_advanced_security %} features, such as {% data variables.product.prodname_code_scanning %}, will stop working unless the repository is owned by an organization that is part of an enterprise with a license for {% data variables.product.prodname_advanced_security %} and sufficient spare seats. {% data reusables.advanced-security.more-info-ghas %}{% endif %}{% ifversion ghes %}
|
||||
* Anonymous Git read access is no longer available. For more information, see "[Enabling anonymous Git read access for a repository](/enterprise/{{ currentVersion }}/user/articles/enabling-anonymous-git-read-access-for-a-repository)."{% endif %}
|
||||
{%- ifversion ghes or ghec or ghae %}
|
||||
* If you change a repository's visibility from internal to private, {% data variables.product.prodname_dotcom %} will remove forks that belong to any user without access to the newly private repository. {% ifversion fpt or ghes or ghec %}The visibility of any forks will also change to private.{% elsif ghae %}If the internal repository has any forks, the visibility of the forks is already private.{% endif %} For more information, see "[What happens to forks when a repository is deleted or changes visibility?](/articles/what-happens-to-forks-when-a-repository-is-deleted-or-changes-visibility)"
|
||||
{%- endif %}
|
||||
|
||||
{% ifversion fpt or ghae or ghes or ghec %}
|
||||
{%- ifversion fpt %}
|
||||
* If you're using {% data variables.product.prodname_free_user %} for user accounts or organizations, some features won't be available in the repository after you change the visibility to private. Any published {% data variables.product.prodname_pages %} site will be automatically unpublished. If you added a custom domain to the {% data variables.product.prodname_pages %} site, you should remove or update your DNS records before making the repository private, to avoid the risk of a domain takeover. For more information, see "[{% data variables.product.company_short %}'s products](/get-started/learning-about-github/githubs-products) and "[Managing a custom domain for your {% data variables.product.prodname_pages %} site](/articles/managing-a-custom-domain-for-your-github-pages-site)."
|
||||
{%- endif %}
|
||||
|
||||
{%- ifversion fpt or ghec %}
|
||||
* {% data variables.product.prodname_dotcom %} will no longer include the repository in the {% data variables.product.prodname_archive %}. For more information, see "[About archiving content and data on {% data variables.product.prodname_dotcom %}](/github/creating-cloning-and-archiving-repositories/about-archiving-content-and-data-on-github#about-the-github-archive-program)."
|
||||
* {% data variables.product.prodname_GH_advanced_security %} features, such as {% data variables.product.prodname_code_scanning %}, will stop working unless the repository is owned by an organization that is part of an enterprise with a license for {% data variables.product.prodname_advanced_security %} and sufficient spare seats. {% data reusables.advanced-security.more-info-ghas %}
|
||||
{%- endif %}
|
||||
|
||||
{%- ifversion ghes %}
|
||||
* Anonymous Git read access is no longer available. For more information, see "[Enabling anonymous Git read access for a repository](/enterprise/{{ currentVersion }}/user/articles/enabling-anonymous-git-read-access-for-a-repository)."
|
||||
{%- endif %}
|
||||
|
||||
{% ifversion ghes or ghec or ghae %}
|
||||
|
||||
### Making a repository internal
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note:** {% data reusables.gated-features.internal-repos %}
|
||||
|
||||
{% endnote %}
|
||||
|
||||
* Any forks of the repository will remain in the repository network, and {% data variables.product.product_name %} maintains the relationship between the root repository and the fork. For more information, see "[What happens to forks when a repository is deleted or changes visibility?](/articles/what-happens-to-forks-when-a-repository-is-deleted-or-changes-visibility)"
|
||||
|
||||
{% endif %}
|
||||
|
||||
@@ -14,7 +14,7 @@ topics:
|
||||
shortTitle: Discover resources for a user
|
||||
---
|
||||
|
||||
|
||||
|
||||
|
||||
When making authenticated requests to the {% ifversion fpt or ghec %}{% data variables.product.prodname_dotcom %}{% else %}{% data variables.product.product_name %}{% endif %} API, applications often need to fetch the current user's repositories and organizations. In this guide, we'll explain how to reliably discover those resources.
|
||||
|
||||
@@ -26,7 +26,7 @@ If you haven't already, you should read the ["Basics of Authentication"][basics-
|
||||
|
||||
## Discover the repositories that your app can access for a user
|
||||
|
||||
In addition to having their own personal repositories, a user may be a collaborator on repositories owned by other users and organizations. Collectively, these are the repositories where the user has privileged access: either it's a private repository where the user has read or write access, or it's a {% ifversion not ghae %}public{% else %}internal{% endif %} repository where the user has write access.
|
||||
In addition to having their own personal repositories, a user may be a collaborator on repositories owned by other users and organizations. Collectively, these are the repositories where the user has privileged access: either it's a private repository where the user has read or write access, or it's {% ifversion fpt %}a public{% elsif ghec or ghes %}a public or internal{% elsif ghae %}an internal{% endif %} repository where the user has write access.
|
||||
|
||||
[OAuth scopes][scopes] and [organization application policies][oap] determine which of those repositories your app can access for a user. Use the workflow below to discover those repositories.
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@ Mmmmm, tastes like [JSON][json]. Let's add the `-i` flag to include headers:
|
||||
```shell
|
||||
$ curl -i https://api.github.com/users/defunkt
|
||||
|
||||
> HTTP/2 200
|
||||
> HTTP/2 200
|
||||
> server: GitHub.com
|
||||
> date: Thu, 08 Jul 2021 07:04:08 GMT
|
||||
> content-type: application/json; charset=utf-8
|
||||
@@ -248,9 +248,10 @@ $ curl -i {% data variables.product.api_url_pre %}/orgs/octo-org/repos
|
||||
|
||||
The information returned from these calls will depend on which scopes our token has when we authenticate:
|
||||
|
||||
{% ifversion not ghae %}
|
||||
* A token with `public_repo` [scope][scopes] returns a response that includes all public repositories we have access to see on github.com.{% endif %}
|
||||
* A token with `repo` [scope][scopes] returns a response that includes all {% ifversion not ghae %}public{% else %}internal{% endif %} and private repositories we have access to see on {% data variables.product.product_location %}.
|
||||
{%- ifversion fpt or ghec or ghes %}
|
||||
* A token with `public_repo` [scope][scopes] returns a response that includes all public repositories we have access to see on {% data variables.product.product_location %}.
|
||||
{%- endif %}
|
||||
* A token with `repo` [scope][scopes] returns a response that includes all {% ifversion fpt %}public or private{% elsif ghec or ghes %}public, private, or internal{% elsif ghae %}private or internal{% endif %} repositories we have access to see on {% data variables.product.product_location %}.
|
||||
|
||||
As the [docs][repos-api] indicate, these methods take a `type` parameter that
|
||||
can filter the repositories returned based on what type of access the user has
|
||||
|
||||
@@ -105,9 +105,15 @@ To search commits in all repositories owned by a certain user or organization, u
|
||||
The `is` qualifier matches commits from repositories with the specified visibility. For more information, see "[About repositories](/repositories/creating-and-managing-repositories/about-repositories#about-repository-visibility)."
|
||||
|
||||
| Qualifier | Example
|
||||
| ------------- | ------------- |{% ifversion fpt or ghes or ghec %}
|
||||
| `is:public` | [**is:public**](https://github.com/search?q=is%3Apublic&type=Commits) matches commits to public repositories.{% endif %}
|
||||
| ------------- | ------------- |
|
||||
{%- ifversion fpt or ghes or ghec %}
|
||||
| `is:public` | [**is:public**](https://github.com/search?q=is%3Apublic&type=Commits) matches commits to public repositories.
|
||||
{%- endif %}
|
||||
|
||||
{%- ifversion ghes or ghec or ghae %}
|
||||
| `is:internal` | [**is:internal**](https://github.com/search?q=is%3Ainternal&type=Commits) matches commits to internal repositories.
|
||||
{%- endif %}
|
||||
|
||||
| `is:private` | [**is:private**](https://github.com/search?q=is%3Aprivate&type=Commits) matches commits to private repositories.
|
||||
|
||||
## Further reading
|
||||
|
||||
@@ -43,8 +43,8 @@ You can filter by the visibility of the repository containing the discussions us
|
||||
|
||||
| Qualifier | Example
|
||||
| :- | :- |{% ifversion fpt or ghes or ghec %}
|
||||
| `is:public` | [**is:public**](https://github.com/search?q=is%3Apublic&type=Discussions) matches discussions in public repositories.{% endif %}
|
||||
| `is:internal` | [**is:internal**](https://github.com/search?q=is%3Ainternal&type=Discussions) matches discussions in internal repositories.
|
||||
| `is:public` | [**is:public**](https://github.com/search?q=is%3Apublic&type=Discussions) matches discussions in public repositories.{% endif %}{% ifversion ghec %}
|
||||
| `is:internal` | [**is:internal**](https://github.com/search?q=is%3Ainternal&type=Discussions) matches discussions in internal repositories.{% endif %}
|
||||
| `is:private` | [**is:private tiramisu**](https://github.com/search?q=is%3Aprivate+tiramisu&type=Discussions) matches discussions that contain the word "tiramisu" in private repositories you can access.
|
||||
|
||||
## Search by author
|
||||
|
||||
@@ -149,8 +149,8 @@ You can filter your search based on the visibility of the repositories. For more
|
||||
|
||||
| Qualifier | Example
|
||||
| ------------- | ------------- |{% ifversion fpt or ghes or ghec %}
|
||||
| `is:public` | [**is:public org:github**](https://github.com/search?q=is%3Apublic+org%3Agithub&type=Repositories) matches public repositories owned by {% data variables.product.company_short %}.{% endif %}
|
||||
| `is:internal` | [**is:internal test**](https://github.com/search?q=is%3Ainternal+test&type=Repositories) matches internal repositories that you can access and contain the word "test".
|
||||
| `is:public` | [**is:public org:github**](https://github.com/search?q=is%3Apublic+org%3Agithub&type=Repositories) matches public repositories owned by {% data variables.product.company_short %}.{% endif %}{% ifversion ghes or ghec or ghae %}
|
||||
| `is:internal` | [**is:internal test**](https://github.com/search?q=is%3Ainternal+test&type=Repositories) matches internal repositories that you can access and contain the word "test".{% endif %}
|
||||
| `is:private` | [**is:private pages**](https://github.com/search?q=is%3Aprivate+pages&type=Repositories) matches private repositories that you can access and contain the word "pages."
|
||||
|
||||
{% ifversion fpt or ghec %}
|
||||
|
||||
@@ -80,7 +80,7 @@ You can filter by the visibility of the repository containing the issues and pul
|
||||
|
||||
| Qualifier | Example
|
||||
| ------------- | ------------- |{% ifversion fpt or ghes or ghec %}
|
||||
| `is:public` | [**is:public**](https://github.com/search?q=is%3Apublic&type=Issues) matches issues and pull requests in public repositories.{% endif %}{% ifversion fpt or ghes or ghae or ghec %}
|
||||
| `is:public` | [**is:public**](https://github.com/search?q=is%3Apublic&type=Issues) matches issues and pull requests in public repositories.{% endif %}{% ifversion ghes or ghec or ghae %}
|
||||
| `is:internal` | [**is:internal**](https://github.com/search?q=is%3Ainternal&type=Issues) matches issues and pull requests in internal repositories.{% endif %}
|
||||
| `is:private` | [**is:private cupcake**](https://github.com/search?q=is%3Aprivate+cupcake&type=Issues) matches issues and pull requests that contain the word "cupcake" in private repositories you can access.
|
||||
|
||||
|
||||
@@ -168,6 +168,11 @@ sections:
|
||||
# https://github.com/github/releases/issues/1588
|
||||
- Performance improvements have been made to {% data variables.product.prodname_actions %}, which may result in higher maximum job concurrency.
|
||||
|
||||
- heading: 'GitHub Packages changes'
|
||||
notes:
|
||||
# https://github.com/github/docs-content/issues/5554
|
||||
- When a repository is deleted, any associated package files are now immediately deleted from your {% data variables.product.prodname_registry %} external storage.
|
||||
|
||||
- heading: 'Dependabot and Dependency graph changes'
|
||||
notes:
|
||||
# https://github.com/github/releases/issues/1141
|
||||
|
||||
@@ -1 +1 @@
|
||||
{% data variables.product.prodname_actions %} helps you automate tasks within your software development life cycle.
|
||||
{% data variables.product.prodname_actions %} is a continuous integration and continuous delivery (CI/CD) platform that allows you to automate your build, test, and deployment pipeline.
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
By default, the artifacts and log files generated by workflows are retained for 90 days before they are automatically deleted. You can adjust the retention period, depending on the type of repository:
|
||||
|
||||
{%- ifversion fpt or ghec or ghes %}
|
||||
- For public repositories: you can change this retention period to anywhere between 1 day or 90 days.
|
||||
- For private, internal, and {% data variables.product.prodname_ghe_server %} repositories: you can change this retention period to anywhere between 1 day or 400 days.
|
||||
{%- endif %}
|
||||
|
||||
- For private{% ifversion ghec or ghes or ghae %} and internal{% endif %} repositories: you can change this retention period to anywhere between 1 day or 400 days.
|
||||
|
||||
When you customize the retention period, it only applies to new artifacts and log files, and does not retroactively apply to existing objects. For managed repositories and organizations, the maximum retention period cannot exceed the limit set by the managing organization or enterprise.
|
||||
|
||||
@@ -1 +1 @@
|
||||
A runner is a server that has the [{% data variables.product.prodname_actions %} runner application](https://github.com/actions/runner) installed. You can use a runner hosted by {% data variables.product.prodname_dotcom %}, or you can host your own.
|
||||
A runner is a server that runs your workflows when they're triggered.
|
||||
|
||||
@@ -1 +1 @@
|
||||
When you enable {% data variables.product.prodname_actions %}, workflows are able to run actions located within your repository and any other public repository.
|
||||
When you enable {% data variables.product.prodname_actions %}, workflows are able to run actions located within your repository and any other{% ifversion fpt %} public{% elsif ghec or ghes %} public or internal{% elsif ghae %} internal{% endif %} repository.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
If you rely on using forks of your private repositories, you can configure policies that control how users can run workflows on `pull_request` events. Available to private and internal repositories only, you can configure these policy settings for enterprises, organizations, or repositories. For enterprises, the policies are applied to all repositories in all organizations.
|
||||
If you rely on using forks of your private repositories, you can configure policies that control how users can run workflows on `pull_request` events. Available to private {% ifversion ghec or ghes or ghae %}and internal{% endif %} repositories only, you can configure these policy settings for {% ifversion ghec %}enterprises, {% elsif ghes or ghae %}your enterprise, {% endif %}organizations, or repositories.{% ifversion ghec or ghes or ghae %} For enterprises, the policies are applied to all repositories in all organizations.{% endif %}
|
||||
|
||||
- **Run workflows from fork pull requests** - Allows users to run workflows from fork pull requests, using a `GITHUB_TOKEN` with read-only permission, and with no access to secrets.
|
||||
- **Send write tokens to workflows from pull requests** - Allows pull requests from forks to use a `GITHUB_TOKEN` with write permission.
|
||||
|
||||
@@ -6,6 +6,6 @@
|
||||
- When [LDAP Sync is enabled](/enterprise/admin/authentication/using-ldap#enabling-ldap-sync), if you remove a person from a repository, they will lose access but their forks will not be deleted. If the person is added to a team with access to the original organization repository within three months, their access to the forks will be automatically restored on the next sync.{% endif %}
|
||||
- You are responsible for ensuring that people who have lost access to a repository delete any confidential information or intellectual property.
|
||||
|
||||
- People with admin permissions to a private{% ifversion fpt or ghes or ghae or ghec %} or internal{% endif %} repository can disallow forking of that repository, and organization owners can disallow forking of any private{% ifversion fpt or ghes or ghae or ghec %} or internal{% endif %} repository in an organization. For more information, see "[Managing the forking policy for your organization](/organizations/managing-organization-settings/managing-the-forking-policy-for-your-organization)" and "[Managing the forking policy for your repository](/github/administering-a-repository/managing-the-forking-policy-for-your-repository)."
|
||||
- People with admin permissions to a private{% ifversion ghes or ghae or ghec %} or internal{% endif %} repository can disallow forking of that repository, and organization owners can disallow forking of any private{% ifversion ghes or ghae or ghec %} or internal{% endif %} repository in an organization. For more information, see "[Managing the forking policy for your organization](/organizations/managing-organization-settings/managing-the-forking-policy-for-your-organization)" and "[Managing the forking policy for your repository](/github/administering-a-repository/managing-the-forking-policy-for-your-repository)."
|
||||
|
||||
{% endwarning %}
|
||||
|
||||
@@ -12,6 +12,10 @@
|
||||
- Choose **{% data variables.product.support_ticket_priority_high %}** to report issues impacting business operations, including {% ifversion fpt or ghec %}removing sensitive data (commits, issues, pull requests, uploaded attachments) from your own accounts and organization restorations{% else %}system performance issues{% endif %}, or to report critical bugs.
|
||||
- Choose **{% data variables.product.support_ticket_priority_normal %}** to {% ifversion fpt or ghec %}request account recovery or spam unflagging, report user login issues{% else %}make technical requests like configuration changes and third-party integrations{% endif %}, and to report non-critical bugs.
|
||||
- Choose **{% data variables.product.support_ticket_priority_low %}** to ask general questions and submit requests for new features, purchases, training, or health checks.
|
||||
{%- ifversion ghes or ghec %}
|
||||
1. Optionally, if your account includes {% data variables.contact.premium_support %} and your ticket is {% ifversion ghes %}urgent or high{% elsif ghec %}high{% endif %} priority, you can request a callback. Select **Request a callback from GitHub Support**, select the country code drop-down menu to choose your country, and enter your phone number.
|
||||

|
||||
{%- endif %}
|
||||
1. Under "Subject", type a descriptive title for the issue you're having.
|
||||

|
||||
5. Under "How can we help", provide any additional information that will help the Support team troubleshoot the problem. Helpful information may include:
|
||||
|
||||
@@ -38,7 +38,7 @@ export default function getMiniTocItems(html, maxHeadingLevel = 2, headingScope
|
||||
// remove any <strong> tags but leave content
|
||||
$('strong', item).map((i, el) => $(el).replaceWith($(el).contents()))
|
||||
|
||||
const contents = `<a href="${href}">${$(item).html()}</a>`
|
||||
const contents = `<a class="d-block width-full" href="${href}">${$(item).html()}</a>`
|
||||
const headingLevel = parseInt($(item)[0].name.match(/\d+/)[0], 10) || 0 // the `2` from `h2`
|
||||
|
||||
const platform = $(item).parent('.extended-markdown').attr('class') || ''
|
||||
|
||||
@@ -37,11 +37,7 @@ class Page {
|
||||
// Per https://nodejs.org/api/fs.html#fs_fs_exists_path_callback
|
||||
// its better to read and handle errors than to check access/stats first
|
||||
try {
|
||||
const {
|
||||
data,
|
||||
content,
|
||||
errors: frontmatterErrors,
|
||||
} = await readFileContents(fullPath, opts.languageCode)
|
||||
const { data, content, errors: frontmatterErrors } = await readFileContents(fullPath)
|
||||
|
||||
return {
|
||||
...opts,
|
||||
|
||||
@@ -5,15 +5,10 @@ import fm from './frontmatter.js'
|
||||
/**
|
||||
* Read only the frontmatter from file
|
||||
*/
|
||||
export default async function fmfromf(filepath, languageCode) {
|
||||
export default async function fmfromf(filepath) {
|
||||
let fileContent = await readFileAsync(filepath, 'utf8')
|
||||
|
||||
fileContent = encodeBracketedParentheses(fileContent)
|
||||
|
||||
// TODO remove this when crowdin-support issue 66 has been resolved
|
||||
if (languageCode !== 'en' && fileContent.includes(': verdadero')) {
|
||||
fileContent = fileContent.replace(': verdadero', ': true')
|
||||
}
|
||||
|
||||
return fm(fileContent, { filepath })
|
||||
}
|
||||
|
||||
@@ -1,6 +1,32 @@
|
||||
import fs from 'fs'
|
||||
import path from 'path'
|
||||
import { brotliDecompressSync } from 'zlib'
|
||||
|
||||
export default function readJsonFile(xpath) {
|
||||
return JSON.parse(fs.readFileSync(path.join(process.cwd(), xpath), 'utf8'))
|
||||
return JSON.parse(fs.readFileSync(xpath, 'utf8'))
|
||||
}
|
||||
|
||||
export function readCompressedJsonFile(xpath) {
|
||||
if (!xpath.endsWith('.br')) {
|
||||
xpath += '.br'
|
||||
}
|
||||
return JSON.parse(brotliDecompressSync(fs.readFileSync(xpath)))
|
||||
}
|
||||
|
||||
// Ask it to read a `foo.json` file and it will automatically
|
||||
// first see if there's a `foo.json.br` and only if it's not,
|
||||
// will fallback to reading the `foo.json` file.
|
||||
// The reason for this is that staging builds needs to as small as
|
||||
// possible (in terms of disk) for them to deploy faster. So the
|
||||
// staging deployment process will compress a bunch of large
|
||||
// `.json` files before packaging it up.
|
||||
export function readCompressedJsonFileFallback(xpath) {
|
||||
try {
|
||||
return readCompressedJsonFile(xpath)
|
||||
} catch (err) {
|
||||
if (err.code === 'ENOENT') {
|
||||
return readJsonFile(xpath)
|
||||
} else {
|
||||
throw err
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ import path from 'path'
|
||||
import { isPromise } from 'util/types'
|
||||
import { fileURLToPath } from 'url'
|
||||
|
||||
import readJsonFile from '../read-json-file.js'
|
||||
import { readCompressedJsonFileFallback } from '../read-json-file.js'
|
||||
import { latest } from '../../lib/enterprise-server-releases.js'
|
||||
import getExceptionRedirects from './exception-redirects.js'
|
||||
import { languageKeys } from '../languages.js'
|
||||
@@ -45,7 +45,7 @@ const DISK_CACHE_FILEPATH = path.join(__dirname, `.redirects-cache_${languageKey
|
||||
// This function runs at server warmup and precompiles possible redirect routes.
|
||||
// It outputs them in key-value pairs within a neat Javascript object: { oldPath: newPath }
|
||||
const precompileRedirects = diskMemoize(DISK_CACHE_FILEPATH, async (pageList) => {
|
||||
const allRedirects = readJsonFile('./lib/redirects/static/developer.json')
|
||||
const allRedirects = readCompressedJsonFileFallback('./lib/redirects/static/developer.json')
|
||||
|
||||
// Replace hardcoded 'latest' with real value in the redirected path
|
||||
Object.entries(allRedirects).forEach(([oldPath, newPath]) => {
|
||||
|
||||
@@ -3,12 +3,18 @@ import path from 'path'
|
||||
import fs from 'fs'
|
||||
import { chain, get, groupBy } from 'lodash-es'
|
||||
import { allVersions, allVersionKeys } from '../all-versions.js'
|
||||
import { readCompressedJsonFileFallback } from '../read-json-file.js'
|
||||
|
||||
const __dirname = path.dirname(fileURLToPath(import.meta.url))
|
||||
const schemasPath = path.join(__dirname, 'static/decorated')
|
||||
|
||||
export const operations = {}
|
||||
fs.readdirSync(schemasPath).forEach((filename) => {
|
||||
const key = filename.replace('.json', '')
|
||||
const value = JSON.parse(fs.readFileSync(path.join(schemasPath, filename)))
|
||||
// In staging deploys, the `.json` files might have been converted to
|
||||
// to `.json.br`. The `readCompressedJsonFileFallback()` function
|
||||
// can handle both but you need to call it with the `.json` filename.
|
||||
const key = path.parse(filename).name
|
||||
const value = readCompressedJsonFileFallback(path.join(schemasPath, filename))
|
||||
operations[key] = value
|
||||
})
|
||||
|
||||
|
||||
@@ -36177,14 +36177,15 @@
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array of strings",
|
||||
"description": "<p><strong>Required</strong>. The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"deprecated": true,
|
||||
"description": "<p><strong>Required</strong>. <strong>Deprecated</strong>: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "contexts",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.",
|
||||
"rawDescription": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"checks": {
|
||||
@@ -36192,10 +36193,13 @@
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch.</p>",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"context"
|
||||
],
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -36204,11 +36208,11 @@
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
}
|
||||
@@ -36225,7 +36229,7 @@
|
||||
"params": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -36234,11 +36238,11 @@
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
@@ -36271,14 +36275,15 @@
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p><strong>Required</strong>. The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"deprecated": true,
|
||||
"description": "<p><strong>Required</strong>. <strong>Deprecated</strong>: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "contexts",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.",
|
||||
"rawDescription": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
@@ -36286,10 +36291,13 @@
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch.</p>",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"context"
|
||||
],
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -36298,11 +36306,11 @@
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
}
|
||||
@@ -36319,7 +36327,7 @@
|
||||
"params": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -36328,11 +36336,11 @@
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
@@ -36348,7 +36356,7 @@
|
||||
"params": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -36357,11 +36365,11 @@
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
@@ -36749,6 +36757,18 @@
|
||||
"rawType": "boolean",
|
||||
"rawDescription": "Requires all conversations on code to be resolved before a pull request can be merged into a branch that matches this rule. Set to `false` to disable. Default: `false`.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "contexts",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of status checks to require in order to merge into this branch.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -36859,14 +36879,15 @@
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array of strings",
|
||||
"description": "<p><strong>Required</strong>. The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"deprecated": true,
|
||||
"description": "<p><strong>Required</strong>. <strong>Deprecated</strong>: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "contexts",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.",
|
||||
"rawDescription": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"checks": {
|
||||
@@ -36874,10 +36895,13 @@
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch.</p>",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"context"
|
||||
],
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -36886,11 +36910,11 @@
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
}
|
||||
@@ -36907,7 +36931,7 @@
|
||||
"params": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -36916,11 +36940,11 @@
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
@@ -36953,14 +36977,15 @@
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p><strong>Required</strong>. The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"deprecated": true,
|
||||
"description": "<p><strong>Required</strong>. <strong>Deprecated</strong>: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "contexts",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.",
|
||||
"rawDescription": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
@@ -36968,10 +36993,13 @@
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch.</p>",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"context"
|
||||
],
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -36980,11 +37008,11 @@
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
}
|
||||
@@ -37001,7 +37029,7 @@
|
||||
"params": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -37010,11 +37038,11 @@
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
@@ -37030,7 +37058,7 @@
|
||||
"params": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -37039,11 +37067,11 @@
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
@@ -37431,6 +37459,18 @@
|
||||
"rawType": "boolean",
|
||||
"rawDescription": "Requires all conversations on code to be resolved before a pull request can be merged into a branch that matches this rule. Set to `false` to disable. Default: `false`.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "contexts",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of status checks to require in order to merge into this branch.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -38660,7 +38700,7 @@
|
||||
"operationId": "repos/update-status-check-protection",
|
||||
"externalDocs": {
|
||||
"description": "API method documentation",
|
||||
"url": "https://docs.github.com/enterprise-server@3.0/rest/reference/repos#update-status-check-potection"
|
||||
"url": "https://docs.github.com/enterprise-server@3.0/rest/reference/repos#update-status-check-protection"
|
||||
},
|
||||
"requestBody": {
|
||||
"required": false,
|
||||
@@ -38680,6 +38720,7 @@
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array of strings",
|
||||
"deprecated": true,
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
@@ -38727,6 +38768,7 @@
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"deprecated": true,
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
|
||||
@@ -36299,14 +36299,15 @@
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array of strings",
|
||||
"description": "<p><strong>Required</strong>. The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"deprecated": true,
|
||||
"description": "<p><strong>Required</strong>. <strong>Deprecated</strong>: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "contexts",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.",
|
||||
"rawDescription": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"checks": {
|
||||
@@ -36314,10 +36315,13 @@
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch.</p>",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"context"
|
||||
],
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -36326,11 +36330,11 @@
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
}
|
||||
@@ -36347,7 +36351,7 @@
|
||||
"params": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -36356,11 +36360,11 @@
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
@@ -36393,14 +36397,15 @@
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p><strong>Required</strong>. The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"deprecated": true,
|
||||
"description": "<p><strong>Required</strong>. <strong>Deprecated</strong>: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "contexts",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.",
|
||||
"rawDescription": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
@@ -36408,10 +36413,13 @@
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch.</p>",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"context"
|
||||
],
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -36420,11 +36428,11 @@
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
}
|
||||
@@ -36441,7 +36449,7 @@
|
||||
"params": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -36450,11 +36458,11 @@
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
@@ -36470,7 +36478,7 @@
|
||||
"params": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -36479,11 +36487,11 @@
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
@@ -36871,6 +36879,18 @@
|
||||
"rawType": "boolean",
|
||||
"rawDescription": "Requires all conversations on code to be resolved before a pull request can be merged into a branch that matches this rule. Set to `false` to disable. Default: `false`.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "contexts",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of status checks to require in order to merge into this branch.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -36981,14 +37001,15 @@
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array of strings",
|
||||
"description": "<p><strong>Required</strong>. The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"deprecated": true,
|
||||
"description": "<p><strong>Required</strong>. <strong>Deprecated</strong>: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "contexts",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.",
|
||||
"rawDescription": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"checks": {
|
||||
@@ -36996,10 +37017,13 @@
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch.</p>",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"context"
|
||||
],
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -37008,11 +37032,11 @@
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
}
|
||||
@@ -37029,7 +37053,7 @@
|
||||
"params": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -37038,11 +37062,11 @@
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
@@ -37075,14 +37099,15 @@
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p><strong>Required</strong>. The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"deprecated": true,
|
||||
"description": "<p><strong>Required</strong>. <strong>Deprecated</strong>: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "contexts",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.",
|
||||
"rawDescription": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
@@ -37090,10 +37115,13 @@
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch.</p>",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"context"
|
||||
],
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -37102,11 +37130,11 @@
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
}
|
||||
@@ -37123,7 +37151,7 @@
|
||||
"params": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -37132,11 +37160,11 @@
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
@@ -37152,7 +37180,7 @@
|
||||
"params": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -37161,11 +37189,11 @@
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
@@ -37553,6 +37581,18 @@
|
||||
"rawType": "boolean",
|
||||
"rawDescription": "Requires all conversations on code to be resolved before a pull request can be merged into a branch that matches this rule. Set to `false` to disable. Default: `false`.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "contexts",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of status checks to require in order to merge into this branch.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -38782,7 +38822,7 @@
|
||||
"operationId": "repos/update-status-check-protection",
|
||||
"externalDocs": {
|
||||
"description": "API method documentation",
|
||||
"url": "https://docs.github.com/enterprise-server@3.1/rest/reference/repos#update-status-check-potection"
|
||||
"url": "https://docs.github.com/enterprise-server@3.1/rest/reference/repos#update-status-check-protection"
|
||||
},
|
||||
"requestBody": {
|
||||
"required": false,
|
||||
@@ -38802,6 +38842,7 @@
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array of strings",
|
||||
"deprecated": true,
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
@@ -38849,6 +38890,7 @@
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"deprecated": true,
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
|
||||
@@ -37545,14 +37545,15 @@
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array of strings",
|
||||
"description": "<p><strong>Required</strong>. The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"deprecated": true,
|
||||
"description": "<p><strong>Required</strong>. <strong>Deprecated</strong>: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "contexts",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.",
|
||||
"rawDescription": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"checks": {
|
||||
@@ -37560,10 +37561,13 @@
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch.</p>",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"context"
|
||||
],
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -37572,11 +37576,11 @@
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
}
|
||||
@@ -37593,7 +37597,7 @@
|
||||
"params": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -37602,11 +37606,11 @@
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
@@ -37639,14 +37643,15 @@
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p><strong>Required</strong>. The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"deprecated": true,
|
||||
"description": "<p><strong>Required</strong>. <strong>Deprecated</strong>: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "contexts",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.",
|
||||
"rawDescription": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
@@ -37654,10 +37659,13 @@
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch.</p>",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"context"
|
||||
],
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -37666,11 +37674,11 @@
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
}
|
||||
@@ -37687,7 +37695,7 @@
|
||||
"params": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -37696,11 +37704,11 @@
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
@@ -37716,7 +37724,7 @@
|
||||
"params": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -37725,11 +37733,11 @@
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
@@ -38117,6 +38125,18 @@
|
||||
"rawType": "boolean",
|
||||
"rawDescription": "Requires all conversations on code to be resolved before a pull request can be merged into a branch that matches this rule. Set to `false` to disable. Default: `false`.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "contexts",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of status checks to require in order to merge into this branch.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -38227,14 +38247,15 @@
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array of strings",
|
||||
"description": "<p><strong>Required</strong>. The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"deprecated": true,
|
||||
"description": "<p><strong>Required</strong>. <strong>Deprecated</strong>: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "contexts",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.",
|
||||
"rawDescription": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"checks": {
|
||||
@@ -38242,10 +38263,13 @@
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch.</p>",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"context"
|
||||
],
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -38254,11 +38278,11 @@
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
}
|
||||
@@ -38275,7 +38299,7 @@
|
||||
"params": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -38284,11 +38308,11 @@
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
@@ -38321,14 +38345,15 @@
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p><strong>Required</strong>. The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"deprecated": true,
|
||||
"description": "<p><strong>Required</strong>. <strong>Deprecated</strong>: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "contexts",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.",
|
||||
"rawDescription": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
@@ -38336,10 +38361,13 @@
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch.</p>",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"context"
|
||||
],
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -38348,11 +38376,11 @@
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
}
|
||||
@@ -38369,7 +38397,7 @@
|
||||
"params": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -38378,11 +38406,11 @@
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
@@ -38398,7 +38426,7 @@
|
||||
"params": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -38407,11 +38435,11 @@
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
@@ -38799,6 +38827,18 @@
|
||||
"rawType": "boolean",
|
||||
"rawDescription": "Requires all conversations on code to be resolved before a pull request can be merged into a branch that matches this rule. Set to `false` to disable. Default: `false`.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "contexts",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of status checks to require in order to merge into this branch.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -40028,7 +40068,7 @@
|
||||
"operationId": "repos/update-status-check-protection",
|
||||
"externalDocs": {
|
||||
"description": "API method documentation",
|
||||
"url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#update-status-check-potection"
|
||||
"url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#update-status-check-protection"
|
||||
},
|
||||
"requestBody": {
|
||||
"required": false,
|
||||
@@ -40048,6 +40088,7 @@
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array of strings",
|
||||
"deprecated": true,
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
@@ -40095,6 +40136,7 @@
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"deprecated": true,
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
|
||||
@@ -29886,14 +29886,15 @@
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array of strings",
|
||||
"description": "<p><strong>Required</strong>. The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"deprecated": true,
|
||||
"description": "<p><strong>Required</strong>. <strong>Deprecated</strong>: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "contexts",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.",
|
||||
"rawDescription": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"checks": {
|
||||
@@ -29901,10 +29902,13 @@
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch.</p>",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"context"
|
||||
],
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -29913,11 +29917,11 @@
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
}
|
||||
@@ -29934,7 +29938,7 @@
|
||||
"params": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -29943,11 +29947,11 @@
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
@@ -29980,14 +29984,15 @@
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p><strong>Required</strong>. The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"deprecated": true,
|
||||
"description": "<p><strong>Required</strong>. <strong>Deprecated</strong>: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "contexts",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.",
|
||||
"rawDescription": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
@@ -29995,10 +30000,13 @@
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch.</p>",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"context"
|
||||
],
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -30007,11 +30015,11 @@
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
}
|
||||
@@ -30028,7 +30036,7 @@
|
||||
"params": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -30037,11 +30045,11 @@
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
@@ -30057,7 +30065,7 @@
|
||||
"params": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -30066,11 +30074,11 @@
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
@@ -30458,6 +30466,18 @@
|
||||
"rawType": "boolean",
|
||||
"rawDescription": "Requires all conversations on code to be resolved before a pull request can be merged into a branch that matches this rule. Set to `false` to disable. Default: `false`.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "contexts",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of status checks to require in order to merge into this branch.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -30560,14 +30580,15 @@
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array of strings",
|
||||
"description": "<p><strong>Required</strong>. The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"deprecated": true,
|
||||
"description": "<p><strong>Required</strong>. <strong>Deprecated</strong>: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "contexts",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.",
|
||||
"rawDescription": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
"checks": {
|
||||
@@ -30575,10 +30596,13 @@
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch.</p>",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"context"
|
||||
],
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -30587,11 +30611,11 @@
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
}
|
||||
@@ -30608,7 +30632,7 @@
|
||||
"params": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -30617,11 +30641,11 @@
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
@@ -30654,14 +30678,15 @@
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p><strong>Required</strong>. The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"deprecated": true,
|
||||
"description": "<p><strong>Required</strong>. <strong>Deprecated</strong>: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use <code>checks</code> instead of <code>contexts</code> for more fine-grained control.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "contexts",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.",
|
||||
"rawDescription": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
@@ -30669,10 +30694,13 @@
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch.</p>",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"context"
|
||||
],
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -30681,11 +30709,11 @@
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
}
|
||||
@@ -30702,7 +30730,7 @@
|
||||
"params": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -30711,11 +30739,11 @@
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
@@ -30731,7 +30759,7 @@
|
||||
"params": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "<p>The name of the required check</p>",
|
||||
"description": "<p><strong>Required</strong>. The name of the required check</p>",
|
||||
"name": "context",
|
||||
"in": "body",
|
||||
"rawType": "string",
|
||||
@@ -30740,11 +30768,11 @@
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Set to <code>null</code> to accept the check from any source.</p>",
|
||||
"description": "<p>The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.</p>",
|
||||
"name": "app_id",
|
||||
"in": "body",
|
||||
"rawType": "integer",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source.",
|
||||
"rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
@@ -31132,6 +31160,18 @@
|
||||
"rawType": "boolean",
|
||||
"rawDescription": "Requires all conversations on code to be resolved before a pull request can be merged into a branch that matches this rule. Set to `false` to disable. Default: `false`.",
|
||||
"childParamsGroups": []
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch.</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": "contexts",
|
||||
"in": "body",
|
||||
"rawType": "array",
|
||||
"rawDescription": "The list of status checks to require in order to merge into this branch.",
|
||||
"childParamsGroups": []
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -32321,7 +32361,7 @@
|
||||
"operationId": "repos/update-status-check-protection",
|
||||
"externalDocs": {
|
||||
"description": "API method documentation",
|
||||
"url": "https://docs.github.com/github-ae@latest/rest/reference/repos#update-status-check-potection"
|
||||
"url": "https://docs.github.com/github-ae@latest/rest/reference/repos#update-status-check-protection"
|
||||
},
|
||||
"requestBody": {
|
||||
"required": false,
|
||||
@@ -32341,6 +32381,7 @@
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array of strings",
|
||||
"deprecated": true,
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
@@ -32388,6 +32429,7 @@
|
||||
},
|
||||
{
|
||||
"type": "array of strings",
|
||||
"deprecated": true,
|
||||
"description": "<p>The list of status checks to require in order to merge into this branch</p>",
|
||||
"items": {
|
||||
"type": "string"
|
||||
|
||||
@@ -153145,6 +153145,8 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"required_status_checks": {
|
||||
"title": "Protected Branch Required Status Check",
|
||||
"description": "Protected Branch Required Status Check",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": {
|
||||
@@ -153186,7 +153188,8 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"contexts"
|
||||
"contexts",
|
||||
"checks"
|
||||
]
|
||||
},
|
||||
"enforce_admins": {
|
||||
@@ -154564,6 +154567,8 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"required_status_checks": {
|
||||
"title": "Protected Branch Required Status Check",
|
||||
"description": "Protected Branch Required Status Check",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": {
|
||||
@@ -154605,7 +154610,8 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"contexts"
|
||||
"contexts",
|
||||
"checks"
|
||||
]
|
||||
},
|
||||
"enforce_admins": {
|
||||
@@ -155474,6 +155480,8 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"required_status_checks": {
|
||||
"title": "Protected Branch Required Status Check",
|
||||
"description": "Protected Branch Required Status Check",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": {
|
||||
@@ -155515,7 +155523,8 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"contexts"
|
||||
"contexts",
|
||||
"checks"
|
||||
]
|
||||
},
|
||||
"enforce_admins": {
|
||||
@@ -156474,7 +156483,8 @@
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array",
|
||||
"description": "The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.",
|
||||
"deprecated": true,
|
||||
"description": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -156484,6 +156494,9 @@
|
||||
"description": "The list of status checks to require in order to merge into this branch.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"context"
|
||||
],
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
@@ -156491,7 +156504,7 @@
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"description": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source."
|
||||
"description": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App."
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -156693,7 +156706,11 @@
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"context",
|
||||
"app_id"
|
||||
]
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
@@ -156706,7 +156723,8 @@
|
||||
"url",
|
||||
"contexts_url",
|
||||
"strict",
|
||||
"contexts"
|
||||
"contexts",
|
||||
"checks"
|
||||
]
|
||||
},
|
||||
"required_pull_request_reviews": {
|
||||
@@ -159302,7 +159320,11 @@
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"context",
|
||||
"app_id"
|
||||
]
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
@@ -159315,7 +159337,8 @@
|
||||
"url",
|
||||
"contexts_url",
|
||||
"strict",
|
||||
"contexts"
|
||||
"contexts",
|
||||
"checks"
|
||||
]
|
||||
},
|
||||
"examples": {
|
||||
@@ -159376,7 +159399,7 @@
|
||||
"operationId": "repos/update-status-check-protection",
|
||||
"externalDocs": {
|
||||
"description": "API method documentation",
|
||||
"url": "https://docs.github.com/rest/reference/repos#update-status-check-potection"
|
||||
"url": "https://docs.github.com/rest/reference/repos#update-status-check-protection"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
@@ -159419,10 +159442,31 @@
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array",
|
||||
"description": "The list of status checks to require in order to merge into this branch",
|
||||
"deprecated": true,
|
||||
"description": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"description": "The list of status checks to require in order to merge into this branch.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"context"
|
||||
],
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"description": "The name of the required check"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"description": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -159476,7 +159520,11 @@
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"context",
|
||||
"app_id"
|
||||
]
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
@@ -159489,7 +159537,8 @@
|
||||
"url",
|
||||
"contexts_url",
|
||||
"strict",
|
||||
"contexts"
|
||||
"contexts",
|
||||
"checks"
|
||||
]
|
||||
},
|
||||
"examples": {
|
||||
@@ -165717,6 +165766,8 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"required_status_checks": {
|
||||
"title": "Protected Branch Required Status Check",
|
||||
"description": "Protected Branch Required Status Check",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": {
|
||||
@@ -165758,7 +165809,8 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"contexts"
|
||||
"contexts",
|
||||
"checks"
|
||||
]
|
||||
},
|
||||
"enforce_admins": {
|
||||
@@ -348533,6 +348585,243 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations": {
|
||||
"get": {
|
||||
"summary": "List locations for a secret scanning alert",
|
||||
"description": "Lists all locations for a given secret scanning alert for a private repository. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.",
|
||||
"tags": [
|
||||
"secret-scanning"
|
||||
],
|
||||
"operationId": "secret-scanning/list-locations-for-alert",
|
||||
"externalDocs": {
|
||||
"description": "API method documentation",
|
||||
"url": "https://docs.github.com/rest/reference/secret-scanning#list-locations-for-a-secret-scanning-alert"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "owner",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "repo",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "alert_number",
|
||||
"in": "path",
|
||||
"description": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation.",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"description": "The security alert number.",
|
||||
"readOnly": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "page",
|
||||
"description": "Page number of the results to fetch.",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"default": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "per_page",
|
||||
"description": "Results per page (max 100)",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"default": 30
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Response",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"description": "List of locations where the secret was detected",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"commit"
|
||||
],
|
||||
"description": "The location type. Because secrets may be found in different types of resources (ie. code, comments, issues), this field identifies the type of resource where the secret was found.",
|
||||
"example": "commit"
|
||||
},
|
||||
"details": {
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string",
|
||||
"description": "The file path in the repository",
|
||||
"example": "/example/secrets.txt"
|
||||
},
|
||||
"start_line": {
|
||||
"type": "number",
|
||||
"description": "Line number at which the secret starts in the file"
|
||||
},
|
||||
"end_line": {
|
||||
"type": "number",
|
||||
"description": "Line number at which the secret ends in the file"
|
||||
},
|
||||
"start_column": {
|
||||
"type": "number",
|
||||
"description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII"
|
||||
},
|
||||
"end_column": {
|
||||
"type": "number",
|
||||
"description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII"
|
||||
},
|
||||
"blob_sha": {
|
||||
"type": "string",
|
||||
"description": "SHA-1 hash ID of the associated blob",
|
||||
"example": "af5626b4a114abcb82d63db7c8082c3c4756e51b"
|
||||
},
|
||||
"blob_url": {
|
||||
"type": "string",
|
||||
"description": "The API URL to get the associated blob resource"
|
||||
},
|
||||
"commit_sha": {
|
||||
"type": "string",
|
||||
"description": "SHA-1 hash ID of the associated commit",
|
||||
"example": "af5626b4a114abcb82d63db7c8082c3c4756e51b"
|
||||
},
|
||||
"commit_url": {
|
||||
"type": "string",
|
||||
"description": "The API URL to get the associated commit resource"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path",
|
||||
"start_line",
|
||||
"end_line",
|
||||
"start_column",
|
||||
"end_column",
|
||||
"blob_sha",
|
||||
"blob_url",
|
||||
"commit_sha",
|
||||
"commit_url"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type",
|
||||
"details"
|
||||
]
|
||||
}
|
||||
},
|
||||
"examples": {
|
||||
"default": {
|
||||
"value": [
|
||||
{
|
||||
"type": "commit",
|
||||
"details": {
|
||||
"path": "/example/secrets.txt",
|
||||
"start_line": 1,
|
||||
"end_line": 1,
|
||||
"start_column": 1,
|
||||
"end_column": 64,
|
||||
"blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b",
|
||||
"blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b",
|
||||
"commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b",
|
||||
"commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "commit",
|
||||
"details": {
|
||||
"path": "/example/secrets.txt",
|
||||
"start_line": 5,
|
||||
"end_line": 5,
|
||||
"start_column": 1,
|
||||
"end_column": 64,
|
||||
"blob_sha": "9def38117ab2d8355b982429aa924e268b4b0065",
|
||||
"blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/9def38117ab2d8355b982429aa924e268b4b0065",
|
||||
"commit_sha": "588483b99a46342501d99e3f10630cfc1219ea32",
|
||||
"commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/588483b99a46342501d99e3f10630cfc1219ea32"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "commit",
|
||||
"details": {
|
||||
"path": "/example/secrets.txt",
|
||||
"start_line": 12,
|
||||
"end_line": 12,
|
||||
"start_column": 1,
|
||||
"end_column": 64,
|
||||
"blob_sha": "0b33e9c66e19f7fb15137a82ff1c04c10cba6caf",
|
||||
"blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/0b33e9c66e19f7fb15137a82ff1c04c10cba6caf",
|
||||
"commit_sha": "9def38117ab2d8355b982429aa924e268b4b0065",
|
||||
"commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/9def38117ab2d8355b982429aa924e268b4b0065"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers": {
|
||||
"Link": {
|
||||
"example": "<https://api.github.com/resource?page=2>; rel=\"next\", <https://api.github.com/resource?page=5>; rel=\"last\"",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"404": {
|
||||
"description": "Repository is public, or secret scanning is disabled for the repository, or the resource is not found"
|
||||
},
|
||||
"503": {
|
||||
"description": "Service unavailable",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"code": {
|
||||
"type": "string"
|
||||
},
|
||||
"message": {
|
||||
"type": "string"
|
||||
},
|
||||
"documentation_url": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"x-github": {
|
||||
"githubCloudOnly": false,
|
||||
"enabledForGitHubApps": true,
|
||||
"category": "secret-scanning",
|
||||
"subcategory": null
|
||||
}
|
||||
}
|
||||
},
|
||||
"/repos/{owner}/{repo}/stargazers": {
|
||||
"get": {
|
||||
"summary": "List stargazers",
|
||||
|
||||
@@ -128557,6 +128557,8 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"required_status_checks": {
|
||||
"title": "Protected Branch Required Status Check",
|
||||
"description": "Protected Branch Required Status Check",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": {
|
||||
@@ -128571,25 +128573,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"context",
|
||||
"app_id"
|
||||
]
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -129976,6 +129959,8 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"required_status_checks": {
|
||||
"title": "Protected Branch Required Status Check",
|
||||
"description": "Protected Branch Required Status Check",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": {
|
||||
@@ -129990,25 +129975,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"context",
|
||||
"app_id"
|
||||
]
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -130886,6 +130852,8 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"required_status_checks": {
|
||||
"title": "Protected Branch Required Status Check",
|
||||
"description": "Protected Branch Required Status Check",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": {
|
||||
@@ -130900,25 +130868,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"context",
|
||||
"app_id"
|
||||
]
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -131893,7 +131842,8 @@
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array",
|
||||
"description": "The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.",
|
||||
"deprecated": true,
|
||||
"description": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -131903,6 +131853,9 @@
|
||||
"description": "The list of status checks to require in order to merge into this branch.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"context"
|
||||
],
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
@@ -131910,7 +131863,7 @@
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"description": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source."
|
||||
"description": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App."
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -132013,6 +131966,13 @@
|
||||
"required_conversation_resolution": {
|
||||
"type": "boolean",
|
||||
"description": "Requires all conversations on code to be resolved before a pull request can be merged into a branch that matches this rule. Set to `false` to disable. Default: `false`."
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array",
|
||||
"description": "The list of status checks to require in order to merge into this branch.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -132099,22 +132059,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"example": "continuous-integration/travis-ci"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
"type": "string",
|
||||
"format": "uri",
|
||||
@@ -134750,22 +134694,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"example": "continuous-integration/travis-ci"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
"type": "string",
|
||||
"format": "uri",
|
||||
@@ -134837,7 +134765,7 @@
|
||||
"operationId": "repos/update-status-check-protection",
|
||||
"externalDocs": {
|
||||
"description": "API method documentation",
|
||||
"url": "https://docs.github.com/enterprise-server@3.0/rest/reference/repos#update-status-check-potection"
|
||||
"url": "https://docs.github.com/enterprise-server@3.0/rest/reference/repos#update-status-check-protection"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
@@ -134880,6 +134808,7 @@
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array",
|
||||
"deprecated": true,
|
||||
"description": "The list of status checks to require in order to merge into this branch",
|
||||
"items": {
|
||||
"type": "string"
|
||||
@@ -134924,22 +134853,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"example": "continuous-integration/travis-ci"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
"type": "string",
|
||||
"format": "uri",
|
||||
|
||||
@@ -128872,6 +128872,8 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"required_status_checks": {
|
||||
"title": "Protected Branch Required Status Check",
|
||||
"description": "Protected Branch Required Status Check",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": {
|
||||
@@ -128886,25 +128888,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"context",
|
||||
"app_id"
|
||||
]
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -130291,6 +130274,8 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"required_status_checks": {
|
||||
"title": "Protected Branch Required Status Check",
|
||||
"description": "Protected Branch Required Status Check",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": {
|
||||
@@ -130305,25 +130290,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"context",
|
||||
"app_id"
|
||||
]
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -131201,6 +131167,8 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"required_status_checks": {
|
||||
"title": "Protected Branch Required Status Check",
|
||||
"description": "Protected Branch Required Status Check",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": {
|
||||
@@ -131215,25 +131183,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"context",
|
||||
"app_id"
|
||||
]
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -132208,7 +132157,8 @@
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array",
|
||||
"description": "The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.",
|
||||
"deprecated": true,
|
||||
"description": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -132218,6 +132168,9 @@
|
||||
"description": "The list of status checks to require in order to merge into this branch.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"context"
|
||||
],
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
@@ -132225,7 +132178,7 @@
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"description": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source."
|
||||
"description": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App."
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -132328,6 +132281,13 @@
|
||||
"required_conversation_resolution": {
|
||||
"type": "boolean",
|
||||
"description": "Requires all conversations on code to be resolved before a pull request can be merged into a branch that matches this rule. Set to `false` to disable. Default: `false`."
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array",
|
||||
"description": "The list of status checks to require in order to merge into this branch.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -132414,22 +132374,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"example": "continuous-integration/travis-ci"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
"type": "string",
|
||||
"format": "uri",
|
||||
@@ -135065,22 +135009,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"example": "continuous-integration/travis-ci"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
"type": "string",
|
||||
"format": "uri",
|
||||
@@ -135152,7 +135080,7 @@
|
||||
"operationId": "repos/update-status-check-protection",
|
||||
"externalDocs": {
|
||||
"description": "API method documentation",
|
||||
"url": "https://docs.github.com/enterprise-server@3.1/rest/reference/repos#update-status-check-potection"
|
||||
"url": "https://docs.github.com/enterprise-server@3.1/rest/reference/repos#update-status-check-protection"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
@@ -135195,6 +135123,7 @@
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array",
|
||||
"deprecated": true,
|
||||
"description": "The list of status checks to require in order to merge into this branch",
|
||||
"items": {
|
||||
"type": "string"
|
||||
@@ -135239,22 +135168,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"example": "continuous-integration/travis-ci"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
"type": "string",
|
||||
"format": "uri",
|
||||
@@ -141493,6 +141406,8 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"required_status_checks": {
|
||||
"title": "Protected Branch Required Status Check",
|
||||
"description": "Protected Branch Required Status Check",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": {
|
||||
@@ -141507,25 +141422,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"context",
|
||||
"app_id"
|
||||
]
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
@@ -132489,6 +132489,8 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"required_status_checks": {
|
||||
"title": "Protected Branch Required Status Check",
|
||||
"description": "Protected Branch Required Status Check",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": {
|
||||
@@ -132503,25 +132505,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"context",
|
||||
"app_id"
|
||||
]
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -133908,6 +133891,8 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"required_status_checks": {
|
||||
"title": "Protected Branch Required Status Check",
|
||||
"description": "Protected Branch Required Status Check",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": {
|
||||
@@ -133922,25 +133907,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"context",
|
||||
"app_id"
|
||||
]
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -134818,6 +134784,8 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"required_status_checks": {
|
||||
"title": "Protected Branch Required Status Check",
|
||||
"description": "Protected Branch Required Status Check",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": {
|
||||
@@ -134832,25 +134800,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"context",
|
||||
"app_id"
|
||||
]
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -135825,7 +135774,8 @@
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array",
|
||||
"description": "The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.",
|
||||
"deprecated": true,
|
||||
"description": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -135835,6 +135785,9 @@
|
||||
"description": "The list of status checks to require in order to merge into this branch.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"context"
|
||||
],
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
@@ -135842,7 +135795,7 @@
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"description": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source."
|
||||
"description": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App."
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -135945,6 +135898,13 @@
|
||||
"required_conversation_resolution": {
|
||||
"type": "boolean",
|
||||
"description": "Requires all conversations on code to be resolved before a pull request can be merged into a branch that matches this rule. Set to `false` to disable. Default: `false`."
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array",
|
||||
"description": "The list of status checks to require in order to merge into this branch.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -136031,22 +135991,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"example": "continuous-integration/travis-ci"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
"type": "string",
|
||||
"format": "uri",
|
||||
@@ -138682,22 +138626,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"example": "continuous-integration/travis-ci"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
"type": "string",
|
||||
"format": "uri",
|
||||
@@ -138769,7 +138697,7 @@
|
||||
"operationId": "repos/update-status-check-protection",
|
||||
"externalDocs": {
|
||||
"description": "API method documentation",
|
||||
"url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#update-status-check-potection"
|
||||
"url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#update-status-check-protection"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
@@ -138812,6 +138740,7 @@
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array",
|
||||
"deprecated": true,
|
||||
"description": "The list of status checks to require in order to merge into this branch",
|
||||
"items": {
|
||||
"type": "string"
|
||||
@@ -138856,22 +138785,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"example": "continuous-integration/travis-ci"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
"type": "string",
|
||||
"format": "uri",
|
||||
@@ -145110,6 +145023,8 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"required_status_checks": {
|
||||
"title": "Protected Branch Required Status Check",
|
||||
"description": "Protected Branch Required Status Check",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": {
|
||||
@@ -145124,25 +145039,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"context",
|
||||
"app_id"
|
||||
]
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
@@ -139384,6 +139384,8 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"required_status_checks": {
|
||||
"title": "Protected Branch Required Status Check",
|
||||
"description": "Protected Branch Required Status Check",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": {
|
||||
@@ -139398,25 +139400,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"context",
|
||||
"app_id"
|
||||
]
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -140803,6 +140786,8 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"required_status_checks": {
|
||||
"title": "Protected Branch Required Status Check",
|
||||
"description": "Protected Branch Required Status Check",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": {
|
||||
@@ -140817,25 +140802,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"context",
|
||||
"app_id"
|
||||
]
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -141713,6 +141679,8 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"required_status_checks": {
|
||||
"title": "Protected Branch Required Status Check",
|
||||
"description": "Protected Branch Required Status Check",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": {
|
||||
@@ -141727,25 +141695,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"context",
|
||||
"app_id"
|
||||
]
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -142713,7 +142662,8 @@
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array",
|
||||
"description": "The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.",
|
||||
"deprecated": true,
|
||||
"description": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -142723,6 +142673,9 @@
|
||||
"description": "The list of status checks to require in order to merge into this branch.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"context"
|
||||
],
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
@@ -142730,7 +142683,7 @@
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"description": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source."
|
||||
"description": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App."
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -142833,6 +142786,13 @@
|
||||
"required_conversation_resolution": {
|
||||
"type": "boolean",
|
||||
"description": "Requires all conversations on code to be resolved before a pull request can be merged into a branch that matches this rule. Set to `false` to disable. Default: `false`."
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array",
|
||||
"description": "The list of status checks to require in order to merge into this branch.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -142919,22 +142879,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"example": "continuous-integration/travis-ci"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
"type": "string",
|
||||
"format": "uri",
|
||||
@@ -145528,22 +145472,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"example": "continuous-integration/travis-ci"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
"type": "string",
|
||||
"format": "uri",
|
||||
@@ -145615,7 +145543,7 @@
|
||||
"operationId": "repos/update-status-check-protection",
|
||||
"externalDocs": {
|
||||
"description": "API method documentation",
|
||||
"url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#update-status-check-potection"
|
||||
"url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#update-status-check-protection"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
@@ -145658,6 +145586,7 @@
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array",
|
||||
"deprecated": true,
|
||||
"description": "The list of status checks to require in order to merge into this branch",
|
||||
"items": {
|
||||
"type": "string"
|
||||
@@ -145702,22 +145631,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"example": "continuous-integration/travis-ci"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
"type": "string",
|
||||
"format": "uri",
|
||||
@@ -151956,6 +151869,8 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"required_status_checks": {
|
||||
"title": "Protected Branch Required Status Check",
|
||||
"description": "Protected Branch Required Status Check",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": {
|
||||
@@ -151970,25 +151885,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"context",
|
||||
"app_id"
|
||||
]
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -320318,6 +320214,243 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations": {
|
||||
"get": {
|
||||
"summary": "List locations for a secret scanning alert",
|
||||
"description": "Lists all locations for a given secret scanning alert for a private repository. To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.",
|
||||
"tags": [
|
||||
"secret-scanning"
|
||||
],
|
||||
"operationId": "secret-scanning/list-locations-for-alert",
|
||||
"externalDocs": {
|
||||
"description": "API method documentation",
|
||||
"url": "https://docs.github.com/enterprise-server@3.3/rest/reference/secret-scanning#list-locations-for-a-secret-scanning-alert"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "owner",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "repo",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "alert_number",
|
||||
"in": "path",
|
||||
"description": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation.",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"description": "The security alert number.",
|
||||
"readOnly": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "page",
|
||||
"description": "Page number of the results to fetch.",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"default": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "per_page",
|
||||
"description": "Results per page (max 100)",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"default": 30
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Response",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"description": "List of locations where the secret was detected",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"commit"
|
||||
],
|
||||
"description": "The location type. Because secrets may be found in different types of resources (ie. code, comments, issues), this field identifies the type of resource where the secret was found.",
|
||||
"example": "commit"
|
||||
},
|
||||
"details": {
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string",
|
||||
"description": "The file path in the repository",
|
||||
"example": "/example/secrets.txt"
|
||||
},
|
||||
"start_line": {
|
||||
"type": "number",
|
||||
"description": "Line number at which the secret starts in the file"
|
||||
},
|
||||
"end_line": {
|
||||
"type": "number",
|
||||
"description": "Line number at which the secret ends in the file"
|
||||
},
|
||||
"start_column": {
|
||||
"type": "number",
|
||||
"description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII"
|
||||
},
|
||||
"end_column": {
|
||||
"type": "number",
|
||||
"description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII"
|
||||
},
|
||||
"blob_sha": {
|
||||
"type": "string",
|
||||
"description": "SHA-1 hash ID of the associated blob",
|
||||
"example": "af5626b4a114abcb82d63db7c8082c3c4756e51b"
|
||||
},
|
||||
"blob_url": {
|
||||
"type": "string",
|
||||
"description": "The API URL to get the associated blob resource"
|
||||
},
|
||||
"commit_sha": {
|
||||
"type": "string",
|
||||
"description": "SHA-1 hash ID of the associated commit",
|
||||
"example": "af5626b4a114abcb82d63db7c8082c3c4756e51b"
|
||||
},
|
||||
"commit_url": {
|
||||
"type": "string",
|
||||
"description": "The API URL to get the associated commit resource"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path",
|
||||
"start_line",
|
||||
"end_line",
|
||||
"start_column",
|
||||
"end_column",
|
||||
"blob_sha",
|
||||
"blob_url",
|
||||
"commit_sha",
|
||||
"commit_url"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type",
|
||||
"details"
|
||||
]
|
||||
}
|
||||
},
|
||||
"examples": {
|
||||
"default": {
|
||||
"value": [
|
||||
{
|
||||
"type": "commit",
|
||||
"details": {
|
||||
"path": "/example/secrets.txt",
|
||||
"start_line": 1,
|
||||
"end_line": 1,
|
||||
"start_column": 1,
|
||||
"end_column": 64,
|
||||
"blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b",
|
||||
"blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b",
|
||||
"commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b",
|
||||
"commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "commit",
|
||||
"details": {
|
||||
"path": "/example/secrets.txt",
|
||||
"start_line": 5,
|
||||
"end_line": 5,
|
||||
"start_column": 1,
|
||||
"end_column": 64,
|
||||
"blob_sha": "9def38117ab2d8355b982429aa924e268b4b0065",
|
||||
"blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/9def38117ab2d8355b982429aa924e268b4b0065",
|
||||
"commit_sha": "588483b99a46342501d99e3f10630cfc1219ea32",
|
||||
"commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/588483b99a46342501d99e3f10630cfc1219ea32"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "commit",
|
||||
"details": {
|
||||
"path": "/example/secrets.txt",
|
||||
"start_line": 12,
|
||||
"end_line": 12,
|
||||
"start_column": 1,
|
||||
"end_column": 64,
|
||||
"blob_sha": "0b33e9c66e19f7fb15137a82ff1c04c10cba6caf",
|
||||
"blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/0b33e9c66e19f7fb15137a82ff1c04c10cba6caf",
|
||||
"commit_sha": "9def38117ab2d8355b982429aa924e268b4b0065",
|
||||
"commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/9def38117ab2d8355b982429aa924e268b4b0065"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers": {
|
||||
"Link": {
|
||||
"example": "<https://api.github.com/resource?page=2>; rel=\"next\", <https://api.github.com/resource?page=5>; rel=\"last\"",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"404": {
|
||||
"description": "Repository is public, or secret scanning is disabled for the repository, or the resource is not found"
|
||||
},
|
||||
"503": {
|
||||
"description": "Service unavailable",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"code": {
|
||||
"type": "string"
|
||||
},
|
||||
"message": {
|
||||
"type": "string"
|
||||
},
|
||||
"documentation_url": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"x-github": {
|
||||
"githubCloudOnly": false,
|
||||
"enabledForGitHubApps": true,
|
||||
"category": "secret-scanning",
|
||||
"subcategory": null
|
||||
}
|
||||
}
|
||||
},
|
||||
"/repos/{owner}/{repo}/stargazers": {
|
||||
"get": {
|
||||
"summary": "List stargazers",
|
||||
|
||||
@@ -104170,6 +104170,8 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"required_status_checks": {
|
||||
"title": "Protected Branch Required Status Check",
|
||||
"description": "Protected Branch Required Status Check",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": {
|
||||
@@ -104211,7 +104213,8 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"contexts"
|
||||
"contexts",
|
||||
"checks"
|
||||
]
|
||||
},
|
||||
"enforce_admins": {
|
||||
@@ -105589,6 +105592,8 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"required_status_checks": {
|
||||
"title": "Protected Branch Required Status Check",
|
||||
"description": "Protected Branch Required Status Check",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": {
|
||||
@@ -105630,7 +105635,8 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"contexts"
|
||||
"contexts",
|
||||
"checks"
|
||||
]
|
||||
},
|
||||
"enforce_admins": {
|
||||
@@ -106499,6 +106505,8 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"required_status_checks": {
|
||||
"title": "Protected Branch Required Status Check",
|
||||
"description": "Protected Branch Required Status Check",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": {
|
||||
@@ -106540,7 +106548,8 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"contexts"
|
||||
"contexts",
|
||||
"checks"
|
||||
]
|
||||
},
|
||||
"enforce_admins": {
|
||||
@@ -107499,7 +107508,8 @@
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array",
|
||||
"description": "The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.",
|
||||
"deprecated": true,
|
||||
"description": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -107509,6 +107519,9 @@
|
||||
"description": "The list of status checks to require in order to merge into this branch.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"context"
|
||||
],
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
@@ -107516,7 +107529,7 @@
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"description": "The ID of the GitHub App that must provide this check. Set to `null` to accept the check from any source."
|
||||
"description": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App."
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -107619,6 +107632,13 @@
|
||||
"required_conversation_resolution": {
|
||||
"type": "boolean",
|
||||
"description": "Requires all conversations on code to be resolved before a pull request can be merged into a branch that matches this rule. Set to `false` to disable. Default: `false`."
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array",
|
||||
"description": "The list of status checks to require in order to merge into this branch.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -107705,22 +107725,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"example": "continuous-integration/travis-ci"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
"type": "string",
|
||||
"format": "uri",
|
||||
@@ -110314,22 +110318,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"example": "continuous-integration/travis-ci"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
"type": "string",
|
||||
"format": "uri",
|
||||
@@ -110401,7 +110389,7 @@
|
||||
"operationId": "repos/update-status-check-protection",
|
||||
"externalDocs": {
|
||||
"description": "API method documentation",
|
||||
"url": "https://docs.github.com/github-ae@latest/rest/reference/repos#update-status-check-potection"
|
||||
"url": "https://docs.github.com/github-ae@latest/rest/reference/repos#update-status-check-protection"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
@@ -110444,6 +110432,7 @@
|
||||
},
|
||||
"contexts": {
|
||||
"type": "array",
|
||||
"deprecated": true,
|
||||
"description": "The list of status checks to require in order to merge into this branch",
|
||||
"items": {
|
||||
"type": "string"
|
||||
@@ -110488,22 +110477,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"context": {
|
||||
"type": "string",
|
||||
"example": "continuous-integration/travis-ci"
|
||||
},
|
||||
"app_id": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"contexts_url": {
|
||||
"type": "string",
|
||||
"format": "uri",
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:765ec393f48b1da26a6ec01436aff63a8ae0e58e00c229abff36abc768ae815a
|
||||
size 640925
|
||||
oid sha256:7e3df74a112b5eedcc2aaf12a51c1595877adf62abd212a35b33314bb772fbe5
|
||||
size 640871
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d3af4a355dc9287243762e9fca0e81b368f00323637d47b2d1ae530465506d8f
|
||||
size 1112102
|
||||
oid sha256:40a5483c3df0c4e43bc832939cc5946e193c72daf0f081f9682543788f32e564
|
||||
size 1112032
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cb52ad0e124e1ba0ae0d13fbb735bf115a4690ee0615713e900a6a81e7084b79
|
||||
size 945815
|
||||
oid sha256:13b019334ab933814faa0b45c297ee97cc1b71eb33d4f2c26ad34137b9794e6f
|
||||
size 946322
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:44ea78b2bdcc346b8b969966ddb6408e4e2b1a38e2e450125fb64da66db12e2d
|
||||
size 3859149
|
||||
oid sha256:146cd9b0276767a256d5eb619b80a161a5115f3984a880f49180ceaced0befdf
|
||||
size 3862416
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e5a647e342279eaf5584b7efc8ae882687590309a65ad9ea58bbb41a9bca6381
|
||||
size 584641
|
||||
oid sha256:fbe17025883fe33bd107580e9fbcfd0293046c9c0aa791bcf5b43060793f4480
|
||||
size 584486
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2e1118a4c589e04b76e48b8853df7d4db78d97d766278e38611a7b045f3df4c6
|
||||
size 2455855
|
||||
oid sha256:ea78951c075a97d35e6807ac6e69d2204d02901ac56d283b18ed400c24be2f9d
|
||||
size 2455353
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b0d040087150c6a6c12b5cde92cf2407c4d712dad54eafebd63a23a9b662faf7
|
||||
size 666681
|
||||
oid sha256:97da0cfa75dbc2ab4c0798269d86ca42a66d2dca4effcca4a93051ddd9fa228d
|
||||
size 666856
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:edac4bc4b93b88b6031bc49f12105dcb3455dffdbf9225d78dd05f385133722f
|
||||
size 3450530
|
||||
oid sha256:f1a4676af984500e690324cd1c54f081d3fa264b581192095957c2810d3df20e
|
||||
size 3451804
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ffe05aee1a3475001951342c6034623b586effa1771512997950a7555b39b029
|
||||
size 544919
|
||||
oid sha256:12c5dc02eeaec4a802c52e2085e099548c588b2badbdf57e3348aa6f9067e445
|
||||
size 544933
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e4b888ff599cd91683af7cb3c2b6b4f7f264324c2735c7ad03bc4eea85bef8b6
|
||||
size 2233755
|
||||
oid sha256:ed634464bba6cfffbf72c4f9abaee8da86f9ec874c6dc692dd88e7ab6ee4022f
|
||||
size 2233940
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6a0a32e9e01c7a8260399755d053889d512ce023b4bc0b09c0c36149eb9b2d93
|
||||
size 655749
|
||||
oid sha256:6daa3f3b36d18257ffedaf222fc659932d88bd6c379f78d309863bbc58661d29
|
||||
size 655632
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ed84b47b595ddb325b765ae7c948562be5b0069d566334f0107a62a79c3a8e28
|
||||
size 1144272
|
||||
oid sha256:164fcf061b071d789ddc5268b38d077abe74a8c158a26da03035dea08bafd949
|
||||
size 1144227
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:07d08cdfbc14d71fb44c735380e9c9560d0e77fd72523954204abf997633b509
|
||||
size 969935
|
||||
oid sha256:35a86a63ed7786f12a5cce523af982b315675b854a3418f66e485505cf512004
|
||||
size 970916
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4509329dd6b077f819e8a83cae92a77afde1e116d621c53c1ccf29fa8ba61c23
|
||||
size 3951588
|
||||
oid sha256:c2df238516877a7f788ef7198c4e203befc619f541a152ea000161b0caf06929
|
||||
size 3953372
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:50ad6cbc376ffeac08e48ccdb2b7acddfb7ea049bc4415540e968afa80aa3d43
|
||||
size 597236
|
||||
oid sha256:2f3d072357fe93caec34578f555acb5a0c92d7f9bda4dc3b2b99bfde6ec2eb28
|
||||
size 597257
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ba438c4ff9465333863b1259cdc2a026480618940be5e52ee7db63c6db8e23cd
|
||||
size 2514233
|
||||
oid sha256:4991a42e0a24d88d4454365d95d668775a7a82636bbe2ed0599f9f27d9da261e
|
||||
size 2514127
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7f01c489a0c4fd9ecdccef6aced09c78baae77341c167a916d51f7fe4fa572bd
|
||||
size 681395
|
||||
oid sha256:545e9df6548ac66687ca1600c3654861402663575d7472fefe3f5875ed8a1f5c
|
||||
size 681594
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a046dd133aa4f1e2e8522c0e02e32a5c06e1b6208c42a67850f21c385a0be672
|
||||
size 3533703
|
||||
oid sha256:61d6400f7dac08f0f45dd3297a42e1cb973e7de87e35cc35859450b7ae039c8e
|
||||
size 3534187
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c65fe5c0c685beaa01f8e9985470a07f038ae9c810564d2b748868066971e274
|
||||
size 557059
|
||||
oid sha256:82055da2040c39e79e38cee8160627a4a86a0e4bc89d0c0344ee38c29b77aaea
|
||||
size 557168
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:aed5e4e922e7395f615ceeb58526617938c26b64ea524e78e4061b63e6cebb65
|
||||
size 2289478
|
||||
oid sha256:3199072c54ae9d11db39bbddfa720e92b9d817ed5ddebd487bad271f85f45f36
|
||||
size 2289868
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:adc19edd60060198af984af275eaf23093e610ae19414f83ad7e655574a23b26
|
||||
size 668760
|
||||
oid sha256:e3e10e9d9032648cf13407b89aa5259a741dfe9b0011478c6162b5fd6292e43f
|
||||
size 668982
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9adc3df5e1f9149c6a0e85c984f02cdbc7b8cd6ee2fcc1c95f37841c88c92373
|
||||
size 1168954
|
||||
oid sha256:1570485f9025f816d2a57fb4642da4a7c98e08e6ac8fa95a5d2fca3b3aa4ffa9
|
||||
size 1168860
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:85111370ff228c4c4bbf7b5062429e913e5df093a3324bd98b164d6d2d5f6335
|
||||
size 1001021
|
||||
oid sha256:9af6a87ae6c1c294c854044c6803eba80a65f1c118de6db9a4c97f6e29e859b8
|
||||
size 1001722
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9d748b84215b4a694c4a772ef8080bdba553a614ed3ca9b80d262b06adf806b2
|
||||
size 4071039
|
||||
oid sha256:9e11af5045679f8d5291e2a2b4e7a73a4f238757532e4f528391a884c42cc154
|
||||
size 4072257
|
||||
|
||||