diff --git a/.github/actions-scripts/check-for-enterprise-issues-by-label.js b/.github/actions-scripts/check-for-enterprise-issues-by-label.js index 9158b336d1..6cf6514803 100755 --- a/.github/actions-scripts/check-for-enterprise-issues-by-label.js +++ b/.github/actions-scripts/check-for-enterprise-issues-by-label.js @@ -3,6 +3,9 @@ import { getOctokit } from '@actions/github' import { setOutput } from '@actions/core' +const ENTERPRISE_DEPRECATION_LABEL = 'enterprise deprecation' +const ENTERPRISE_RELEASE_LABEL = 'GHES release tech steps' + async function run() { const token = process.env.GITHUB_TOKEN const octokit = getOctokit(token) @@ -10,10 +13,10 @@ async function run() { const queryRelease = encodeURIComponent('is:open repo:github/docs-content is:issue') const deprecationIssues = await octokit.request( - `GET /search/issues?q=${queryDeprecation}+label:"enterprise%20deprecation"` + `GET /search/issues?q=${queryDeprecation}+label:"${encodeURI(ENTERPRISE_DEPRECATION_LABEL)}"` ) const releaseIssues = await octokit.request( - `GET /search/issues?q=${queryRelease}+label:"enterprise%20release"` + `GET /search/issues?q=${queryRelease}+label:"${encodeURI(ENTERPRISE_RELEASE_LABEL)}"` ) const isDeprecationIssue = deprecationIssues.data.items.length === 0 ? 'false' : 'true' const isReleaseIssue = releaseIssues.data.items.length === 0 ? 'false' : 'true' diff --git a/.github/actions-scripts/enterprise-server-issue-templates/deprecation-issue.md b/.github/actions-scripts/enterprise-server-issue-templates/deprecation-issue.md index 878852ba41..417dc2327f 100644 --- a/.github/actions-scripts/enterprise-server-issue-templates/deprecation-issue.md +++ b/.github/actions-scripts/enterprise-server-issue-templates/deprecation-issue.md @@ -1,60 +1,87 @@ ## Overview -The day after a GHES version's [deprecation date](https://github.com/github/docs-internal/tree/main/lib/enterprise-dates.json), a banner on the docs will say: `This version was deprecated on .` This is all users need to know. However, we don't want to update those docs anymore or link to them in the nav. Follow the steps in this issue to **archive** the docs. +The day after a GHES version's [deprecation date](https://github.com/github/docs-internal/tree/main/lib/enterprise-dates.json), a banner on the docs will say: `This version was deprecated on .` This is all users need to know. However, we don't want to update those docs anymore or link to them in the nav. Follow the steps in this issue to **archive** the docs. **Note**: Do each step below in a separate PR. Only move on to the next step when the previous PR has been merged. +The following large repositories are used throughout this checklist, it may be useful to clone them before you begin: + +- `github/help-docs-archived-enterprise-versions` +- `github/github` +- `github/docs-internal` + +Additionally, you may want to download: + +- [Azure Storage Explorer](https://aka.ms/portalfx/downloadstorageexplorer) + ## Step 0: Remove deprecated version numbers from docs-content issue forms -**Note**: This step can be performed independently of all other steps, and can be done several days before or along with the other steps. +**Note**: This step can be performed independently of all other steps, and can be done several days before or along with the other steps. - [ ] In the `docs-content` repo, remove the deprecated GHES version number from the "Specific GHES version(s)" section in the following files (in the `.github/ISSUE_TEMPLATE/` directory): [`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 [`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. This can be merged independently from all other steps. +- [ ] When the PR is approved, merge it in. This can be merged independently from all other steps. ## Step 1: Scrape the docs and archive the files - [ ] In your checkout of the [repo with archived GHES content](https://github.com/github/help-docs-archived-enterprise-versions), create a new branch: `git checkout -b deprecate-` - [ ] In your `docs-internal` checkout, download the static files for the oldest supported version into your archival checkout: - The archive script depends on an optional dependency so install optional dependencies first: - ``` - $ npm ci --include-optional - ``` - Then run the archive script: - ``` - $ script/enterprise-server-deprecations/archive-version.js -p - ``` - If your checkouts live in the same directory, this command would be: - ``` - $ script/enterprise-server-deprecations/archive-version.js -p ../help-docs-archived-enterprise-versions - ``` - **Note:** You can pass the `--dry-run` flag to scrape only the first 10 pages plus their redirects for testing purposes. - + The archive script depends on an optional dependency so install optional dependencies first: + ``` + $ npm i --include-optional + ``` + Ensure your build is up to date: + ``` + $ npm run build + ``` + Then run the archive script: + ``` + $ script/enterprise-server-deprecations/archive-version.js -p + ``` + If your checkouts live in the same directory, this command would be: + ``` + $ script/enterprise-server-deprecations/archive-version.js -p ../help-docs-archived-enterprise-versions + ``` + **Note:** You can pass the `--dry-run` flag to scrape only the first 10 pages plus their redirects for testing purposes. **If you use the dry run command, be sure to run the full script without `--dry-run` before you commit the changes.** + ## Step 2: Upload the assets directory to Azure storage - [ ] Log in to the Azure portal from Okta. Navigate to the [githubdocs Azure Storage Blob resource](https://portal.azure.com/#@githubazure.onmicrosoft.com/resource/subscriptions/fa6134a7-f27e-4972-8e9f-0cedffa328f1/resourceGroups/docs-production/providers/Microsoft.Storage/storageAccounts/githubdocs/overview). -- [ ] Click the "Open in Explorer" button to the right of search box.If you haven't already, click the download link to download "Microsoft Azure Storage Explorer." To login to the app, click the plug icon in the left sidebar and click the option to "add an azure account." When you login, you'll need a yubikey to authenticate through Okta. -- [ ] From the Microsoft Azure Storage Explorer app, select the `githubdocs` storage account resource and navigate to the `github-images` blob container. -- [ ] Click "Upload" and select "Upload folder." Click the "Selected folder" input to navigate to the `help-docs-archived-enterprise-versions` repository and select the `assets` directory for the version you just generated. In the "Destination folder" input, add the version number. For example, `/enterprise/2.22/`. +- [ ] Click the "Open in Explorer" button to the right of search box. If you haven't already, click the download link to download "Microsoft Azure Storage Explorer." To login to the app, click the plug icon in the left sidebar and click the option to "add an azure account." When you login, you'll need a yubikey to authenticate through Okta. +- [ ] From the Microsoft Azure Storage Explorer app, select the `githubdocs` storage account resource and navigate to the `github-images` blob container. +- [ ] Click "Upload" and select "Upload folder." Click the "Selected folder" input to navigate to the `help-docs-archived-enterprise-versions` repository and select the `assets` directory for the version you just generated. In the "Destination directory" input, add the version number. For example, `/enterprise/2.22/`. - [ ] Check the log to ensure all files were uploaded successfully. -- [ ] Remove the `assets` directory from your `help-docsc-archived-enterprise-versions` repository, we don't want to commit that directory in the next step. +- [ ] Remove the `assets` directory from your `help-docs-archived-enterprise-versions` repository, we don't want to commit that directory in the next step. ## Step 3: Commit and push changes to help-docs-archived-enterprise-versions repo -- [ ] Search for `site-search-input` in the compressed Javascript files (should find the file in the `_next` directory). When you find it, use something like https://beautifier.io/ to reformat it to be readable. Find `site-search-input` in the file, the result will be enclosed in a function that looks something like... `1125: function () { ... },` Delete the innards of this function, but leave the `function() {}` part. -- [ ] Copy, paste, and save the updated file back into your local `help-docs-archived-enterprise-versions` repository. +- [ ] Search for `site-search-input` in the compressed Javascript files (should find the file in the `_next` directory). When you find it, use something like https://beautifier.io/ or VSCode to reformat it to be readable. To reformat using VSCode, use the "Format document" option or Shift+Option+F. Find `site-search-input` in the file, the result will be enclosed in a function that looks something like... `1125: function () { ... },` Delete the innards of this function, but leave the `function() {}` part. +- [ ] Save the file. If using beautifier, copy and paste the updated file back into your local `help-docs-archived-enterprise-versions` repository. - [ ] In your archival checkout, `git add `, commit, and push. - [ ] Open a PR and merge it in. Note that the version will _not_ be deprecated on the docs site until you do the next step. ## Step 4: Deprecate the version in docs-internal In your `docs-internal` checkout: + - [ ] Create a new branch: `git checkout -b deprecate-`. -- [ ] Edit `lib/enterprise-server-releases.js` by removing the version number to be deprecated from the `supported` array and move it to the `deprecated` array. +- [ ] Edit `lib/enterprise-server-releases.js` by removing the version number to be deprecated from the `supported` array and move it to the `deprecatedWithFunctionalRedirects` array. + +## Test that the archived static pages were generated correctly + +You can test that the static pages were generated correctly on localhost and on staging. Verify that the static pages are accessible by running `npm run dev` in your local `docs-internal` checkout and navigate to: +`http://localhost:3000/enterprise//`. + +Note: the GitHub Pages deployment from the previous step will need to have completed successfully in order for you to test this. You may need to wait up to 10 minutes for this to occur. + +Poke around several pages, ensure that the stylesheets are working properly, images are rendering properly, and that the search functionality was disabled. + +## Step 5: Continue to deprecate the version in docs-internal + - [ ] Open a new PR. Make sure to check the following: - - [ ] Tests are passing (you may need to include the changes in step 6 to get tests to pass). - - [ ] The deprecated version renders in preview as expected. You should be able to navigate to `docs.github.com/enterprise/` to access the docs. You should also be able to navigate to a page that is available in the deprecated version and change the version in the URL to the deprecated version, to test redirects. - - [ ] The new oldest supported version renders on staging as expected. You should see a banner on the top of every page for the oldest supported version that notes when the version will be deprecated. - + - [ ] Tests are passing (you may need to include the changes in step 6 to get tests to pass). + - [ ] The deprecated version renders in preview as expected. You should be able to navigate to `docs.github.com/enterprise/` to access the docs. You should also be able to navigate to a page that is available in the deprecated version and change the version in the URL to the deprecated version, to test redirects. + - [ ] The new oldest supported version renders on staging as expected. You should see a banner on the top of every page for the oldest supported version that notes when the version will be deprecated. + ## Step 5: Remove static files for the version - [ ] In your `docs-internal` checkout, create a new branch `remove--static-files` branch: `git checkout -b remove--static-files` (you can branch off of `main` or from your `deprecate-` branch, up to you). @@ -67,16 +94,16 @@ In your `docs-internal` checkout: - [ ] In your `docs-internal` checkout, create a new branch `remove--markup` branch: `git checkout -b remove--markup` (you can branch off of `main` or from your `deprecate-` branch, up to you). - [ ] Remove the outdated Liquid markup and frontmatter. - - [ ] Run the script: `script/enterprise-server-deprecations/remove-version-markup.js --release `. - - [ ] Spot check a few changes. Content, frontmatter, and data files should all have been updated. - - [ ] Open a PR with the results. The diff may be large and complex, so make sure to get a review from `@github/docs-content`. - - [ ] Debug any test failures or unexpected results -- it's very likely manual updates will be necessary, the script does a lot of work but doesn't automate everything and can't 100% replace human intent. -- [ ] When the PR is approved, merge it in to complete the deprecation. This can be merged independently from step 5. + - [ ] Run the script: `script/enterprise-server-deprecations/remove-version-markup.js --release `. + - [ ] Spot check a few changes. Content, frontmatter, and data files should all have been updated. + - [ ] Open a PR with the results. The diff may be large and complex, so make sure to get a review from `@github/docs-content`. + - [ ] Debug any test failures or unexpected results -- it's very likely manual updates will be necessary, the script does a lot of work but doesn't automate everything and can't 100% replace human intent. +- [ ] When the PR is approved, merge it in to complete the deprecation. This can be merged independently from step 5. ## Step 7: Deprecate the OpenAPI description in `github/github` - + - [ ] In `github/github`, edit the release's config file in `app/api/description/config/releases/`, and change `deprecated: false` to `deprecated: true`. - [ ] Open a new PR, and get the required code owner approvals. A docs-content team member can approve it for the docs team. -- [ ] When the PR is approved, [deploy the `github/github` PR](https://thehub.github.com/engineering/devops/deployment/deploying-dotcom/). If you haven't deployed a `github/github` PR before, work with someone that has -- the process isn't too involved depending on how you deploy, but there are a lot of details that can potentially be confusing as you can see from the documentation. +- [ ] When the PR is approved, [deploy the `github/github` PR](https://thehub.github.com/epd/engineering/devops/deployment/deploying-dotcom/). If you haven't deployed a `github/github` PR before, work with someone that has -- the process isn't too involved depending on how you deploy, but there are a lot of details that can potentially be confusing as you can see from the documentation. -**Note**: you can do this step independently of the other steps after a GHES version is deprecated since it should no longer get updates in github/github. You should plan to get this PR merged as soon as possible, otherwise if you wait too long our OpenAPI automation may re-add the static files that you removed in step 5. +**Note**: you can do this step independently of the other steps after a GHES version is deprecated since it should no longer get updates in github/github. You should plan to get this PR merged as soon as possible, otherwise if you wait too long our OpenAPI automation may re-add the static files that you removed in step 5. diff --git a/components/graphql/GraphqlPage.tsx b/components/graphql/GraphqlPage.tsx index 2545e16447..5e08720dff 100644 --- a/components/graphql/GraphqlPage.tsx +++ b/components/graphql/GraphqlPage.tsx @@ -1,6 +1,5 @@ import React from 'react' import cx from 'classnames' -import { LinkIcon } from '@primer/octicons-react' import { Enum } from 'components/graphql/Enum' import { InputObject } from 'components/graphql/InputObject' @@ -36,29 +35,7 @@ export const GraphqlPage = ({ schema, pageName, objects }: Props) => { // for each section. if (pageName === 'queries') { graphqlItems.push( -

- - - - Connections -

- ) - graphqlItems.push( - ...(schema as QueryT).connections.map((item) => ( - - )) - ) - graphqlItems.push( -

- - - - Fields -

- ) - - graphqlItems.push( - ...(schema as QueryT).fields.map((item) => ) + ...(schema as QueryT[]).map((item) => ) ) } else if (pageName === 'enums') { graphqlItems.push( diff --git a/components/graphql/Query.tsx b/components/graphql/Query.tsx index afdfe79670..e292747c4c 100644 --- a/components/graphql/Query.tsx +++ b/components/graphql/Query.tsx @@ -4,10 +4,10 @@ import { Link } from 'components/Link' import { GraphqlItem } from './GraphqlItem' import { Table } from './Table' import { useTranslation } from 'components/hooks/useTranslation' -import type { QueryItemT } from './types' +import type { QueryT } from './types' type Props = { - item: QueryItemT + item: QueryT } export function Query({ item }: Props) { diff --git a/components/graphql/types.tsx b/components/graphql/types.tsx index e82859135e..1ec1057b3c 100644 --- a/components/graphql/types.tsx +++ b/components/graphql/types.tsx @@ -61,12 +61,10 @@ export type FieldT = GraphqlT & { arguments?: ArgumentT[] } -export type QueryItemT = GraphqlT & { +export type QueryT = GraphqlT & { args: GraphqlT[] } -export type QueryT = { connections: QueryItemT[]; fields: QueryItemT[] } - export type MutationT = GraphqlT & { inputFields: FieldT[] returnFields: FieldT[] diff --git a/content/actions/monitoring-and-troubleshooting-workflows/adding-a-workflow-status-badge.md b/content/actions/monitoring-and-troubleshooting-workflows/adding-a-workflow-status-badge.md index da7ac4443b..0a3e767964 100644 --- a/content/actions/monitoring-and-troubleshooting-workflows/adding-a-workflow-status-badge.md +++ b/content/actions/monitoring-and-troubleshooting-workflows/adding-a-workflow-status-badge.md @@ -14,16 +14,28 @@ shortTitle: Add a status badge {% data reusables.actions.enterprise-beta %} {% data reusables.actions.enterprise-github-hosted-runners %} +{% note %} + +**Note**: Workflow badges in a private repository are not accessible externally, so you won't be able to embed them or link to them from an external site. + +{% endnote %} + {% data reusables.repositories.actions-workflow-status-badge-intro %} -You reference the workflow by the name of your workflow file. -```markdown -![example workflow]({% ifversion fpt or ghec %}https://github.com{% else %}{% endif %}///actions/workflows//badge.svg) -``` +To add a workflow status badge to your `README.md` file, first find the URL for the status badge you would like to display. Then you can use Markdown to display the badge as an image in your `README.md` file. For more information about image markup in Markdown, see "[Basic writing and formatting syntax](/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#images)." + ## Using the workflow file name -This Markdown example adds a status badge for a workflow with the file path `.github/workflows/main.yml`. The `OWNER` of the repository is the `github` organization and the `REPOSITORY` name is `docs`. +You can build the URL for a workflow status badge using the name of the workflow file: + +``` +{% ifversion fpt or ghec %}https://github.com{% else %}{% endif %}///actions/workflows//badge.svg +``` + +To display the workflow status badge in your `README.md` file, use the Markdown markup for embedding images. For more information about image markup in Markdown, see "[Basic writing and formatting syntax](/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#images)." + +For example, add the following Markdown to your `README.md` file to add a status badge for a workflow with the file path `.github/workflows/main.yml`. The `OWNER` of the repository is the `github` organization and the `REPOSITORY` name is `docs`. ```markdown ![example workflow](https://github.com/github/docs/actions/workflows/main.yml/badge.svg) @@ -31,7 +43,9 @@ This Markdown example adds a status badge for a workflow with the file path `.gi ## Using the `branch` parameter -This Markdown example adds a status badge for a branch with the name `feature-1`. +To display the status of a workflow run for a specific branch, add `?branch=` to the end of the status badge URL. + +For example, add the following Markdown to your `README.md` file to display a status badge for a branch with the name `feature-1`. ```markdown ![example branch parameter](https://github.com/github/docs/actions/workflows/main.yml/badge.svg?branch=feature-1) @@ -39,7 +53,9 @@ This Markdown example adds a status badge for a branch with the name `feature-1` ## Using the `event` parameter -This Markdown example adds a badge that displays the status of workflow runs triggered by the `push` event, which will show the status of the build for the current state of that branch. +To display the status of workflow runs triggered by the `push` event, add `?event=push` to the end of the status badge URL. + +For example, add the following Markdown to your `README.md` file to display a badge with the status of workflow runs triggered by the `push` event, which will show the status of the build for the current state of that branch. ```markdown ![example event parameter](https://github.com/github/docs/actions/workflows/main.yml/badge.svg?event=push) diff --git a/lib/graphql/static/schema-dotcom.json b/lib/graphql/static/schema-dotcom.json index 707816b08f..df73baea3c 100644 --- a/lib/graphql/static/schema-dotcom.json +++ b/lib/graphql/static/schema-dotcom.json @@ -1,866 +1,862 @@ { - "queries": { - "connections": [ - { - "name": "marketplaceListings", - "type": "MarketplaceListingConnection!", - "kind": "objects", - "id": "marketplacelistingconnection", - "href": "/graphql/reference/objects#marketplacelistingconnection", - "description": "

Look up Marketplace listings.

", - "args": [ - { - "name": "adminId", - "type": "ID", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "description": "

Select listings that can be administered by the specified user.

" - }, - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "allStates", - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

Select listings visible to the viewer even if they are not approved. If omitted or\nfalse, only approved listings will be returned.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "categorySlug", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Select only listings with the given category.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - }, - { - "name": "organizationId", - "type": "ID", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "description": "

Select listings for products owned by the specified organization.

" - }, - { - "name": "primaryCategoryOnly", - "defaultValue": false, - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

Select only listings where the primary category matches the given category slug.

" - }, - { - "name": "slugs", - "type": "[String]", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Select the listings with these slugs, if they are visible to the viewer.

" - }, - { - "name": "useTopicAliases", - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

Also check topic aliases for the category slug.

" - }, - { - "name": "viewerCanAdmin", - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

Select listings to which user has admin access. If omitted, listings visible to the\nviewer are returned.

" - }, - { - "name": "withFreeTrialsOnly", - "defaultValue": false, - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

Select only listings that offer a free trial.

" - } - ] - }, - { - "name": "search", - "type": "SearchResultItemConnection!", - "kind": "objects", - "id": "searchresultitemconnection", - "href": "/graphql/reference/objects#searchresultitemconnection", - "description": "

Perform a search across resources.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - }, - { - "name": "query", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The search string to look for.

" - }, - { - "name": "type", - "type": "SearchType!", - "id": "searchtype", - "kind": "enums", - "href": "/graphql/reference/enums#searchtype", - "description": "

The types of search items to search within.

" - } - ] - }, - { - "name": "securityAdvisories", - "type": "SecurityAdvisoryConnection!", - "kind": "objects", - "id": "securityadvisoryconnection", - "href": "/graphql/reference/objects#securityadvisoryconnection", - "description": "

GitHub Security Advisories.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "classifications", - "type": "[SecurityAdvisoryClassification!]", - "id": "securityadvisoryclassification", - "kind": "enums", - "href": "/graphql/reference/enums#securityadvisoryclassification", - "description": "

A list of classifications to filter advisories by.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "identifier", - "type": "SecurityAdvisoryIdentifierFilter", - "id": "securityadvisoryidentifierfilter", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#securityadvisoryidentifierfilter", - "description": "

Filter advisories by identifier, e.g. GHSA or CVE.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - }, - { - "name": "orderBy", - "type": "SecurityAdvisoryOrder", - "id": "securityadvisoryorder", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#securityadvisoryorder", - "description": "

Ordering options for the returned topics.

" - }, - { - "name": "publishedSince", - "type": "DateTime", - "id": "datetime", - "kind": "scalars", - "href": "/graphql/reference/scalars#datetime", - "description": "

Filter advisories to those published since a time in the past.

" - }, - { - "name": "updatedSince", - "type": "DateTime", - "id": "datetime", - "kind": "scalars", - "href": "/graphql/reference/scalars#datetime", - "description": "

Filter advisories to those updated since a time in the past.

" - } - ] - }, - { - "name": "securityVulnerabilities", - "type": "SecurityVulnerabilityConnection!", - "kind": "objects", - "id": "securityvulnerabilityconnection", - "href": "/graphql/reference/objects#securityvulnerabilityconnection", - "description": "

Software Vulnerabilities documented by GitHub Security Advisories.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "classifications", - "type": "[SecurityAdvisoryClassification!]", - "id": "securityadvisoryclassification", - "kind": "enums", - "href": "/graphql/reference/enums#securityadvisoryclassification", - "description": "

A list of advisory classifications to filter vulnerabilities by.

" - }, - { - "name": "ecosystem", - "type": "SecurityAdvisoryEcosystem", - "id": "securityadvisoryecosystem", - "kind": "enums", - "href": "/graphql/reference/enums#securityadvisoryecosystem", - "description": "

An ecosystem to filter vulnerabilities by.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - }, - { - "name": "orderBy", - "type": "SecurityVulnerabilityOrder", - "id": "securityvulnerabilityorder", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#securityvulnerabilityorder", - "description": "

Ordering options for the returned topics.

" - }, - { - "name": "package", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

A package name to filter vulnerabilities by.

" - }, - { - "name": "severities", - "type": "[SecurityAdvisorySeverity!]", - "id": "securityadvisoryseverity", - "kind": "enums", - "href": "/graphql/reference/enums#securityadvisoryseverity", - "description": "

A list of severities to filter vulnerabilities by.

" - } - ] - }, - { - "name": "sponsorables", - "type": "SponsorableItemConnection!", - "kind": "objects", - "id": "sponsorableitemconnection", - "href": "/graphql/reference/objects#sponsorableitemconnection", - "description": "

Users and organizations who can be sponsored via GitHub Sponsors.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "dependencyEcosystem", - "type": "SecurityAdvisoryEcosystem", - "id": "securityadvisoryecosystem", - "kind": "enums", - "href": "/graphql/reference/enums#securityadvisoryecosystem", - "description": "

Optional filter for which dependencies should be checked for sponsorable\nowners. Only sponsorable owners of dependencies in this ecosystem will be\nincluded. Used when onlyDependencies = true.

\n

Upcoming Change on 2022-07-01 UTC\nDescription: dependencyEcosystem will be removed. Use the ecosystem argument instead.\nReason: The type is switching from SecurityAdvisoryEcosystem to DependencyGraphEcosystem.

" - }, - { - "name": "ecosystem", - "type": "DependencyGraphEcosystem", - "id": "dependencygraphecosystem", - "kind": "enums", - "href": "/graphql/reference/enums#dependencygraphecosystem", - "description": "

Optional filter for which dependencies should be checked for sponsorable\nowners. Only sponsorable owners of dependencies in this ecosystem will be\nincluded. Used when onlyDependencies = true.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - }, - { - "name": "onlyDependencies", - "defaultValue": false, - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

Whether only sponsorables who own the viewer's dependencies will be\nreturned. Must be authenticated to use. Can check an organization instead\nfor their dependencies owned by sponsorables by passing\norgLoginForDependencies.

" - }, - { - "name": "orderBy", - "type": "SponsorableOrder", - "id": "sponsorableorder", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#sponsorableorder", - "description": "

Ordering options for users and organizations returned from the connection.

" - }, - { - "name": "orgLoginForDependencies", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Optional organization username for whose dependencies should be checked.\nUsed when onlyDependencies = true. Omit to check your own dependencies. If\nyou are not an administrator of the organization, only dependencies from its\npublic repositories will be considered.

" - } - ] - } - ], - "fields": [ - { - "name": "codeOfConduct", - "type": "CodeOfConduct", - "kind": "objects", - "id": "codeofconduct", - "href": "/graphql/reference/objects#codeofconduct", - "description": "

Look up a code of conduct by its key.

", - "args": [ - { - "name": "key", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The code of conduct's key.

" - } - ] - }, - { - "name": "codesOfConduct", - "type": "[CodeOfConduct]", - "kind": "objects", - "id": "codeofconduct", - "href": "/graphql/reference/objects#codeofconduct", - "description": "

Look up a code of conduct by its key.

", - "args": [] - }, - { - "name": "enterprise", - "type": "Enterprise", - "kind": "objects", - "id": "enterprise", - "href": "/graphql/reference/objects#enterprise", - "description": "

Look up an enterprise by URL slug.

", - "args": [ - { - "name": "invitationToken", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The enterprise invitation token.

" - }, - { - "name": "slug", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The enterprise URL slug.

" - } - ] - }, - { - "name": "enterpriseAdministratorInvitation", - "type": "EnterpriseAdministratorInvitation", - "kind": "objects", - "id": "enterpriseadministratorinvitation", - "href": "/graphql/reference/objects#enterpriseadministratorinvitation", - "description": "

Look up a pending enterprise administrator invitation by invitee, enterprise and role.

", - "args": [ - { - "name": "enterpriseSlug", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The slug of the enterprise the user was invited to join.

" - }, - { - "name": "role", - "type": "EnterpriseAdministratorRole!", - "id": "enterpriseadministratorrole", - "kind": "enums", - "href": "/graphql/reference/enums#enterpriseadministratorrole", - "description": "

The role for the business member invitation.

" - }, - { - "name": "userLogin", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The login of the user invited to join the business.

" - } - ] - }, - { - "name": "enterpriseAdministratorInvitationByToken", - "type": "EnterpriseAdministratorInvitation", - "kind": "objects", - "id": "enterpriseadministratorinvitation", - "href": "/graphql/reference/objects#enterpriseadministratorinvitation", - "description": "

Look up a pending enterprise administrator invitation by invitation token.

", - "args": [ - { - "name": "invitationToken", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The invitation token sent with the invitation email.

" - } - ] - }, - { - "name": "license", - "type": "License", - "kind": "objects", - "id": "license", - "href": "/graphql/reference/objects#license", - "description": "

Look up an open source license by its key.

", - "args": [ - { - "name": "key", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The license's downcased SPDX ID.

" - } - ] - }, - { - "name": "licenses", - "type": "[License]!", - "kind": "objects", - "id": "license", - "href": "/graphql/reference/objects#license", - "description": "

Return a list of known open source licenses.

", - "args": [] - }, - { - "name": "marketplaceCategories", - "type": "[MarketplaceCategory!]!", - "kind": "objects", - "id": "marketplacecategory", - "href": "/graphql/reference/objects#marketplacecategory", - "description": "

Get alphabetically sorted list of Marketplace categories.

", - "args": [ - { - "name": "excludeEmpty", - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

Exclude categories with no listings.

" - }, - { - "name": "excludeSubcategories", - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

Returns top level categories only, excluding any subcategories.

" - }, - { - "name": "includeCategories", - "type": "[String!]", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Return only the specified categories.

" - } - ] - }, - { - "name": "marketplaceCategory", - "type": "MarketplaceCategory", - "kind": "objects", - "id": "marketplacecategory", - "href": "/graphql/reference/objects#marketplacecategory", - "description": "

Look up a Marketplace category by its slug.

", - "args": [ - { - "name": "slug", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The URL slug of the category.

" - }, - { - "name": "useTopicAliases", - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

Also check topic aliases for the category slug.

" - } - ] - }, - { - "name": "marketplaceListing", - "type": "MarketplaceListing", - "kind": "objects", - "id": "marketplacelisting", - "href": "/graphql/reference/objects#marketplacelisting", - "description": "

Look up a single Marketplace listing.

", - "args": [ - { - "name": "slug", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Select the listing that matches this slug. It's the short name of the listing used in its URL.

" - } - ] - }, - { - "name": "meta", - "type": "GitHubMetadata!", - "kind": "objects", - "id": "githubmetadata", - "href": "/graphql/reference/objects#githubmetadata", - "description": "

Return information about the GitHub instance.

", - "args": [] - }, - { - "name": "node", - "type": "Node", - "kind": "interfaces", - "id": "node", - "href": "/graphql/reference/interfaces#node", - "description": "

Fetches an object given its ID.

", - "args": [ - { - "name": "id", - "type": "ID!", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "description": "

ID of the object.

" - } - ] - }, - { - "name": "nodes", - "type": "[Node]!", - "kind": "interfaces", - "id": "node", - "href": "/graphql/reference/interfaces#node", - "description": "

Lookup nodes by a list of IDs.

", - "args": [ - { - "name": "ids", - "type": "[ID!]!", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "description": "

The list of node IDs.

" - } - ] - }, - { - "name": "organization", - "type": "Organization", - "kind": "objects", - "id": "organization", - "href": "/graphql/reference/objects#organization", - "description": "

Lookup a organization by login.

", - "args": [ - { - "name": "login", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The organization's login.

" - } - ] - }, - { - "name": "rateLimit", - "type": "RateLimit", - "kind": "objects", - "id": "ratelimit", - "href": "/graphql/reference/objects#ratelimit", - "description": "

The client's rate limit information.

", - "args": [ - { - "name": "dryRun", - "defaultValue": false, - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

If true, calculate the cost for the query without evaluating it.

" - } - ] - }, - { - "name": "relay", - "type": "Query!", - "kind": "objects", - "id": "query", - "href": "/graphql/reference/objects#query", - "description": "

Hack to workaround https://github.com/facebook/relay/issues/112 re-exposing the root query object.

", - "args": [] - }, - { - "name": "repository", - "type": "Repository", - "kind": "objects", - "id": "repository", - "href": "/graphql/reference/objects#repository", - "description": "

Lookup a given repository by the owner and repository name.

", - "args": [ - { - "name": "followRenames", - "defaultValue": true, - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

Follow repository renames. If disabled, a repository referenced by its old name will return an error.

" - }, - { - "name": "name", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The name of the repository.

" - }, - { - "name": "owner", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The login field of a user or organization.

" - } - ] - }, - { - "name": "repositoryOwner", - "type": "RepositoryOwner", - "kind": "interfaces", - "id": "repositoryowner", - "href": "/graphql/reference/interfaces#repositoryowner", - "description": "

Lookup a repository owner (ie. either a User or an Organization) by login.

", - "args": [ - { - "name": "login", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The username to lookup the owner by.

" - } - ] - }, - { - "name": "resource", - "type": "UniformResourceLocatable", - "kind": "interfaces", - "id": "uniformresourcelocatable", - "href": "/graphql/reference/interfaces#uniformresourcelocatable", - "description": "

Lookup resource by a URL.

", - "args": [ - { - "name": "url", - "type": "URI!", - "id": "uri", - "kind": "scalars", - "href": "/graphql/reference/scalars#uri", - "description": "

The URL.

" - } - ] - }, - { - "name": "securityAdvisory", - "type": "SecurityAdvisory", - "kind": "objects", - "id": "securityadvisory", - "href": "/graphql/reference/objects#securityadvisory", - "description": "

Fetch a Security Advisory by its GHSA ID.

", - "args": [ - { - "name": "ghsaId", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

GitHub Security Advisory ID.

" - } - ] - }, - { - "name": "topic", - "type": "Topic", - "kind": "objects", - "id": "topic", - "href": "/graphql/reference/objects#topic", - "description": "

Look up a topic by name.

", - "args": [ - { - "name": "name", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The topic's name.

" - } - ] - }, - { - "name": "user", - "type": "User", - "kind": "objects", - "id": "user", - "href": "/graphql/reference/objects#user", - "description": "

Lookup a user by login.

", - "args": [ - { - "name": "login", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The user's login.

" - } - ] - }, - { - "name": "viewer", - "type": "User!", - "kind": "objects", - "id": "user", - "href": "/graphql/reference/objects#user", - "description": "

The currently authenticated user.

", - "args": [] - } - ] - }, + "queries": [ + { + "name": "codeOfConduct", + "type": "CodeOfConduct", + "kind": "objects", + "id": "codeofconduct", + "href": "/graphql/reference/objects#codeofconduct", + "description": "

Look up a code of conduct by its key.

", + "args": [ + { + "name": "key", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The code of conduct's key.

" + } + ] + }, + { + "name": "codesOfConduct", + "type": "[CodeOfConduct]", + "kind": "objects", + "id": "codeofconduct", + "href": "/graphql/reference/objects#codeofconduct", + "description": "

Look up a code of conduct by its key.

", + "args": [] + }, + { + "name": "enterprise", + "type": "Enterprise", + "kind": "objects", + "id": "enterprise", + "href": "/graphql/reference/objects#enterprise", + "description": "

Look up an enterprise by URL slug.

", + "args": [ + { + "name": "invitationToken", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The enterprise invitation token.

" + }, + { + "name": "slug", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The enterprise URL slug.

" + } + ] + }, + { + "name": "enterpriseAdministratorInvitation", + "type": "EnterpriseAdministratorInvitation", + "kind": "objects", + "id": "enterpriseadministratorinvitation", + "href": "/graphql/reference/objects#enterpriseadministratorinvitation", + "description": "

Look up a pending enterprise administrator invitation by invitee, enterprise and role.

", + "args": [ + { + "name": "enterpriseSlug", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The slug of the enterprise the user was invited to join.

" + }, + { + "name": "role", + "type": "EnterpriseAdministratorRole!", + "id": "enterpriseadministratorrole", + "kind": "enums", + "href": "/graphql/reference/enums#enterpriseadministratorrole", + "description": "

The role for the business member invitation.

" + }, + { + "name": "userLogin", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The login of the user invited to join the business.

" + } + ] + }, + { + "name": "enterpriseAdministratorInvitationByToken", + "type": "EnterpriseAdministratorInvitation", + "kind": "objects", + "id": "enterpriseadministratorinvitation", + "href": "/graphql/reference/objects#enterpriseadministratorinvitation", + "description": "

Look up a pending enterprise administrator invitation by invitation token.

", + "args": [ + { + "name": "invitationToken", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The invitation token sent with the invitation email.

" + } + ] + }, + { + "name": "license", + "type": "License", + "kind": "objects", + "id": "license", + "href": "/graphql/reference/objects#license", + "description": "

Look up an open source license by its key.

", + "args": [ + { + "name": "key", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The license's downcased SPDX ID.

" + } + ] + }, + { + "name": "licenses", + "type": "[License]!", + "kind": "objects", + "id": "license", + "href": "/graphql/reference/objects#license", + "description": "

Return a list of known open source licenses.

", + "args": [] + }, + { + "name": "marketplaceCategories", + "type": "[MarketplaceCategory!]!", + "kind": "objects", + "id": "marketplacecategory", + "href": "/graphql/reference/objects#marketplacecategory", + "description": "

Get alphabetically sorted list of Marketplace categories.

", + "args": [ + { + "name": "excludeEmpty", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

Exclude categories with no listings.

" + }, + { + "name": "excludeSubcategories", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

Returns top level categories only, excluding any subcategories.

" + }, + { + "name": "includeCategories", + "type": "[String!]", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Return only the specified categories.

" + } + ] + }, + { + "name": "marketplaceCategory", + "type": "MarketplaceCategory", + "kind": "objects", + "id": "marketplacecategory", + "href": "/graphql/reference/objects#marketplacecategory", + "description": "

Look up a Marketplace category by its slug.

", + "args": [ + { + "name": "slug", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The URL slug of the category.

" + }, + { + "name": "useTopicAliases", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

Also check topic aliases for the category slug.

" + } + ] + }, + { + "name": "marketplaceListing", + "type": "MarketplaceListing", + "kind": "objects", + "id": "marketplacelisting", + "href": "/graphql/reference/objects#marketplacelisting", + "description": "

Look up a single Marketplace listing.

", + "args": [ + { + "name": "slug", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Select the listing that matches this slug. It's the short name of the listing used in its URL.

" + } + ] + }, + { + "name": "marketplaceListings", + "type": "MarketplaceListingConnection!", + "kind": "objects", + "id": "marketplacelistingconnection", + "href": "/graphql/reference/objects#marketplacelistingconnection", + "description": "

Look up Marketplace listings.

", + "args": [ + { + "name": "adminId", + "type": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "description": "

Select listings that can be administered by the specified user.

" + }, + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "allStates", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

Select listings visible to the viewer even if they are not approved. If omitted or\nfalse, only approved listings will be returned.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "categorySlug", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Select only listings with the given category.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + }, + { + "name": "organizationId", + "type": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "description": "

Select listings for products owned by the specified organization.

" + }, + { + "name": "primaryCategoryOnly", + "defaultValue": false, + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

Select only listings where the primary category matches the given category slug.

" + }, + { + "name": "slugs", + "type": "[String]", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Select the listings with these slugs, if they are visible to the viewer.

" + }, + { + "name": "useTopicAliases", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

Also check topic aliases for the category slug.

" + }, + { + "name": "viewerCanAdmin", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

Select listings to which user has admin access. If omitted, listings visible to the\nviewer are returned.

" + }, + { + "name": "withFreeTrialsOnly", + "defaultValue": false, + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

Select only listings that offer a free trial.

" + } + ] + }, + { + "name": "meta", + "type": "GitHubMetadata!", + "kind": "objects", + "id": "githubmetadata", + "href": "/graphql/reference/objects#githubmetadata", + "description": "

Return information about the GitHub instance.

", + "args": [] + }, + { + "name": "node", + "type": "Node", + "kind": "interfaces", + "id": "node", + "href": "/graphql/reference/interfaces#node", + "description": "

Fetches an object given its ID.

", + "args": [ + { + "name": "id", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "description": "

ID of the object.

" + } + ] + }, + { + "name": "nodes", + "type": "[Node]!", + "kind": "interfaces", + "id": "node", + "href": "/graphql/reference/interfaces#node", + "description": "

Lookup nodes by a list of IDs.

", + "args": [ + { + "name": "ids", + "type": "[ID!]!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "description": "

The list of node IDs.

" + } + ] + }, + { + "name": "organization", + "type": "Organization", + "kind": "objects", + "id": "organization", + "href": "/graphql/reference/objects#organization", + "description": "

Lookup a organization by login.

", + "args": [ + { + "name": "login", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The organization's login.

" + } + ] + }, + { + "name": "rateLimit", + "type": "RateLimit", + "kind": "objects", + "id": "ratelimit", + "href": "/graphql/reference/objects#ratelimit", + "description": "

The client's rate limit information.

", + "args": [ + { + "name": "dryRun", + "defaultValue": false, + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

If true, calculate the cost for the query without evaluating it.

" + } + ] + }, + { + "name": "relay", + "type": "Query!", + "kind": "objects", + "id": "query", + "href": "/graphql/reference/objects#query", + "description": "

Hack to workaround https://github.com/facebook/relay/issues/112 re-exposing the root query object.

", + "args": [] + }, + { + "name": "repository", + "type": "Repository", + "kind": "objects", + "id": "repository", + "href": "/graphql/reference/objects#repository", + "description": "

Lookup a given repository by the owner and repository name.

", + "args": [ + { + "name": "followRenames", + "defaultValue": true, + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

Follow repository renames. If disabled, a repository referenced by its old name will return an error.

" + }, + { + "name": "name", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The name of the repository.

" + }, + { + "name": "owner", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The login field of a user or organization.

" + } + ] + }, + { + "name": "repositoryOwner", + "type": "RepositoryOwner", + "kind": "interfaces", + "id": "repositoryowner", + "href": "/graphql/reference/interfaces#repositoryowner", + "description": "

Lookup a repository owner (ie. either a User or an Organization) by login.

", + "args": [ + { + "name": "login", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The username to lookup the owner by.

" + } + ] + }, + { + "name": "resource", + "type": "UniformResourceLocatable", + "kind": "interfaces", + "id": "uniformresourcelocatable", + "href": "/graphql/reference/interfaces#uniformresourcelocatable", + "description": "

Lookup resource by a URL.

", + "args": [ + { + "name": "url", + "type": "URI!", + "id": "uri", + "kind": "scalars", + "href": "/graphql/reference/scalars#uri", + "description": "

The URL.

" + } + ] + }, + { + "name": "search", + "type": "SearchResultItemConnection!", + "kind": "objects", + "id": "searchresultitemconnection", + "href": "/graphql/reference/objects#searchresultitemconnection", + "description": "

Perform a search across resources.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + }, + { + "name": "query", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The search string to look for.

" + }, + { + "name": "type", + "type": "SearchType!", + "id": "searchtype", + "kind": "enums", + "href": "/graphql/reference/enums#searchtype", + "description": "

The types of search items to search within.

" + } + ] + }, + { + "name": "securityAdvisories", + "type": "SecurityAdvisoryConnection!", + "kind": "objects", + "id": "securityadvisoryconnection", + "href": "/graphql/reference/objects#securityadvisoryconnection", + "description": "

GitHub Security Advisories.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "classifications", + "type": "[SecurityAdvisoryClassification!]", + "id": "securityadvisoryclassification", + "kind": "enums", + "href": "/graphql/reference/enums#securityadvisoryclassification", + "description": "

A list of classifications to filter advisories by.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "identifier", + "type": "SecurityAdvisoryIdentifierFilter", + "id": "securityadvisoryidentifierfilter", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#securityadvisoryidentifierfilter", + "description": "

Filter advisories by identifier, e.g. GHSA or CVE.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + }, + { + "name": "orderBy", + "type": "SecurityAdvisoryOrder", + "id": "securityadvisoryorder", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#securityadvisoryorder", + "description": "

Ordering options for the returned topics.

" + }, + { + "name": "publishedSince", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime", + "description": "

Filter advisories to those published since a time in the past.

" + }, + { + "name": "updatedSince", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime", + "description": "

Filter advisories to those updated since a time in the past.

" + } + ] + }, + { + "name": "securityAdvisory", + "type": "SecurityAdvisory", + "kind": "objects", + "id": "securityadvisory", + "href": "/graphql/reference/objects#securityadvisory", + "description": "

Fetch a Security Advisory by its GHSA ID.

", + "args": [ + { + "name": "ghsaId", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

GitHub Security Advisory ID.

" + } + ] + }, + { + "name": "securityVulnerabilities", + "type": "SecurityVulnerabilityConnection!", + "kind": "objects", + "id": "securityvulnerabilityconnection", + "href": "/graphql/reference/objects#securityvulnerabilityconnection", + "description": "

Software Vulnerabilities documented by GitHub Security Advisories.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "classifications", + "type": "[SecurityAdvisoryClassification!]", + "id": "securityadvisoryclassification", + "kind": "enums", + "href": "/graphql/reference/enums#securityadvisoryclassification", + "description": "

A list of advisory classifications to filter vulnerabilities by.

" + }, + { + "name": "ecosystem", + "type": "SecurityAdvisoryEcosystem", + "id": "securityadvisoryecosystem", + "kind": "enums", + "href": "/graphql/reference/enums#securityadvisoryecosystem", + "description": "

An ecosystem to filter vulnerabilities by.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + }, + { + "name": "orderBy", + "type": "SecurityVulnerabilityOrder", + "id": "securityvulnerabilityorder", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#securityvulnerabilityorder", + "description": "

Ordering options for the returned topics.

" + }, + { + "name": "package", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A package name to filter vulnerabilities by.

" + }, + { + "name": "severities", + "type": "[SecurityAdvisorySeverity!]", + "id": "securityadvisoryseverity", + "kind": "enums", + "href": "/graphql/reference/enums#securityadvisoryseverity", + "description": "

A list of severities to filter vulnerabilities by.

" + } + ] + }, + { + "name": "sponsorables", + "type": "SponsorableItemConnection!", + "kind": "objects", + "id": "sponsorableitemconnection", + "href": "/graphql/reference/objects#sponsorableitemconnection", + "description": "

Users and organizations who can be sponsored via GitHub Sponsors.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "dependencyEcosystem", + "type": "SecurityAdvisoryEcosystem", + "id": "securityadvisoryecosystem", + "kind": "enums", + "href": "/graphql/reference/enums#securityadvisoryecosystem", + "description": "

Optional filter for which dependencies should be checked for sponsorable\nowners. Only sponsorable owners of dependencies in this ecosystem will be\nincluded. Used when onlyDependencies = true.

\n

Upcoming Change on 2022-07-01 UTC\nDescription: dependencyEcosystem will be removed. Use the ecosystem argument instead.\nReason: The type is switching from SecurityAdvisoryEcosystem to DependencyGraphEcosystem.

" + }, + { + "name": "ecosystem", + "type": "DependencyGraphEcosystem", + "id": "dependencygraphecosystem", + "kind": "enums", + "href": "/graphql/reference/enums#dependencygraphecosystem", + "description": "

Optional filter for which dependencies should be checked for sponsorable\nowners. Only sponsorable owners of dependencies in this ecosystem will be\nincluded. Used when onlyDependencies = true.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + }, + { + "name": "onlyDependencies", + "defaultValue": false, + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

Whether only sponsorables who own the viewer's dependencies will be\nreturned. Must be authenticated to use. Can check an organization instead\nfor their dependencies owned by sponsorables by passing\norgLoginForDependencies.

" + }, + { + "name": "orderBy", + "type": "SponsorableOrder", + "id": "sponsorableorder", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#sponsorableorder", + "description": "

Ordering options for users and organizations returned from the connection.

" + }, + { + "name": "orgLoginForDependencies", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Optional organization username for whose dependencies should be checked.\nUsed when onlyDependencies = true. Omit to check your own dependencies. If\nyou are not an administrator of the organization, only dependencies from its\npublic repositories will be considered.

" + } + ] + }, + { + "name": "topic", + "type": "Topic", + "kind": "objects", + "id": "topic", + "href": "/graphql/reference/objects#topic", + "description": "

Look up a topic by name.

", + "args": [ + { + "name": "name", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The topic's name.

" + } + ] + }, + { + "name": "user", + "type": "User", + "kind": "objects", + "id": "user", + "href": "/graphql/reference/objects#user", + "description": "

Lookup a user by login.

", + "args": [ + { + "name": "login", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The user's login.

" + } + ] + }, + { + "name": "viewer", + "type": "User!", + "kind": "objects", + "id": "user", + "href": "/graphql/reference/objects#user", + "description": "

The currently authenticated user.

", + "args": [] + } + ], "mutations": [ { "name": "abortQueuedMigrations", diff --git a/lib/graphql/static/schema-ghae.json b/lib/graphql/static/schema-ghae.json index 70dca06978..bcbe036800 100644 --- a/lib/graphql/static/schema-ghae.json +++ b/lib/graphql/static/schema-ghae.json @@ -1,597 +1,593 @@ { - "queries": { - "connections": [ - { - "name": "organizations", - "type": "OrganizationConnection!", - "kind": "objects", - "id": "organizationconnection", - "href": "/graphql/reference/objects#organizationconnection", - "description": "

A list of organizations.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - } - ] - }, - { - "name": "search", - "type": "SearchResultItemConnection!", - "kind": "objects", - "id": "searchresultitemconnection", - "href": "/graphql/reference/objects#searchresultitemconnection", - "description": "

Perform a search across resources.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - }, - { - "name": "query", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The search string to look for.

" - }, - { - "name": "type", - "type": "SearchType!", - "id": "searchtype", - "kind": "enums", - "href": "/graphql/reference/enums#searchtype", - "description": "

The types of search items to search within.

" - } - ] - }, - { - "name": "securityAdvisories", - "type": "SecurityAdvisoryConnection!", - "kind": "objects", - "id": "securityadvisoryconnection", - "href": "/graphql/reference/objects#securityadvisoryconnection", - "description": "

GitHub Security Advisories.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "classifications", - "type": "[SecurityAdvisoryClassification!]", - "id": "securityadvisoryclassification", - "kind": "enums", - "href": "/graphql/reference/enums#securityadvisoryclassification", - "description": "

A list of classifications to filter advisories by.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - }, - { - "name": "publishedSince", - "type": "DateTime", - "id": "datetime", - "kind": "scalars", - "href": "/graphql/reference/scalars#datetime", - "description": "

Filter advisories to those published since a time in the past.

" - }, - { - "name": "updatedSince", - "type": "DateTime", - "id": "datetime", - "kind": "scalars", - "href": "/graphql/reference/scalars#datetime", - "description": "

Filter advisories to those updated since a time in the past.

" - } - ] - }, - { - "name": "securityVulnerabilities", - "type": "SecurityVulnerabilityConnection!", - "kind": "objects", - "id": "securityvulnerabilityconnection", - "href": "/graphql/reference/objects#securityvulnerabilityconnection", - "description": "

Software Vulnerabilities documented by GitHub Security Advisories.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "classifications", - "type": "[SecurityAdvisoryClassification!]", - "id": "securityadvisoryclassification", - "kind": "enums", - "href": "/graphql/reference/enums#securityadvisoryclassification", - "description": "

A list of advisory classifications to filter vulnerabilities by.

" - }, - { - "name": "ecosystem", - "type": "SecurityAdvisoryEcosystem", - "id": "securityadvisoryecosystem", - "kind": "enums", - "href": "/graphql/reference/enums#securityadvisoryecosystem", - "description": "

An ecosystem to filter vulnerabilities by.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - }, - { - "name": "package", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

A package name to filter vulnerabilities by.

" - }, - { - "name": "severities", - "type": "[SecurityAdvisorySeverity!]", - "id": "securityadvisoryseverity", - "kind": "enums", - "href": "/graphql/reference/enums#securityadvisoryseverity", - "description": "

A list of severities to filter vulnerabilities by.

" - } - ] - }, - { - "name": "users", - "type": "UserConnection!", - "kind": "objects", - "id": "userconnection", - "href": "/graphql/reference/objects#userconnection", - "description": "

A list of users.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - } - ] - } - ], - "fields": [ - { - "name": "codeOfConduct", - "type": "CodeOfConduct", - "kind": "objects", - "id": "codeofconduct", - "href": "/graphql/reference/objects#codeofconduct", - "description": "

Look up a code of conduct by its key.

", - "args": [ - { - "name": "key", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The code of conduct's key.

" - } - ] - }, - { - "name": "codesOfConduct", - "type": "[CodeOfConduct]", - "kind": "objects", - "id": "codeofconduct", - "href": "/graphql/reference/objects#codeofconduct", - "description": "

Look up a code of conduct by its key.

", - "args": [] - }, - { - "name": "enterprise", - "type": "Enterprise", - "kind": "objects", - "id": "enterprise", - "href": "/graphql/reference/objects#enterprise", - "description": "

Look up an enterprise by URL slug.

", - "args": [ - { - "name": "invitationToken", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The enterprise invitation token.

" - }, - { - "name": "slug", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The enterprise URL slug.

" - } - ] - }, - { - "name": "license", - "type": "License", - "kind": "objects", - "id": "license", - "href": "/graphql/reference/objects#license", - "description": "

Look up an open source license by its key.

", - "args": [ - { - "name": "key", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The license's downcased SPDX ID.

" - } - ] - }, - { - "name": "licenses", - "type": "[License]!", - "kind": "objects", - "id": "license", - "href": "/graphql/reference/objects#license", - "description": "

Return a list of known open source licenses.

", - "args": [] - }, - { - "name": "meta", - "type": "GitHubMetadata!", - "kind": "objects", - "id": "githubmetadata", - "href": "/graphql/reference/objects#githubmetadata", - "description": "

Return information about the GitHub instance.

", - "args": [] - }, - { - "name": "node", - "type": "Node", - "kind": "interfaces", - "id": "node", - "href": "/graphql/reference/interfaces#node", - "description": "

Fetches an object given its ID.

", - "args": [ - { - "name": "id", - "type": "ID!", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "description": "

ID of the object.

" - } - ] - }, - { - "name": "nodes", - "type": "[Node]!", - "kind": "interfaces", - "id": "node", - "href": "/graphql/reference/interfaces#node", - "description": "

Lookup nodes by a list of IDs.

", - "args": [ - { - "name": "ids", - "type": "[ID!]!", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "description": "

The list of node IDs.

" - } - ] - }, - { - "name": "organization", - "type": "Organization", - "kind": "objects", - "id": "organization", - "href": "/graphql/reference/objects#organization", - "description": "

Lookup a organization by login.

", - "args": [ - { - "name": "login", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The organization's login.

" - } - ] - }, - { - "name": "rateLimit", - "type": "RateLimit", - "kind": "objects", - "id": "ratelimit", - "href": "/graphql/reference/objects#ratelimit", - "description": "

The client's rate limit information.

", - "args": [ - { - "name": "dryRun", - "defaultValue": false, - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

If true, calculate the cost for the query without evaluating it.

" - } - ] - }, - { - "name": "relay", - "type": "Query!", - "kind": "objects", - "id": "query", - "href": "/graphql/reference/objects#query", - "description": "

Hack to workaround https://github.com/facebook/relay/issues/112 re-exposing the root query object.

", - "args": [] - }, - { - "name": "repository", - "type": "Repository", - "kind": "objects", - "id": "repository", - "href": "/graphql/reference/objects#repository", - "description": "

Lookup a given repository by the owner and repository name.

", - "args": [ - { - "name": "followRenames", - "defaultValue": true, - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

Follow repository renames. If disabled, a repository referenced by its old name will return an error.

" - }, - { - "name": "name", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The name of the repository.

" - }, - { - "name": "owner", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The login field of a user or organization.

" - } - ] - }, - { - "name": "repositoryOwner", - "type": "RepositoryOwner", - "kind": "interfaces", - "id": "repositoryowner", - "href": "/graphql/reference/interfaces#repositoryowner", - "description": "

Lookup a repository owner (ie. either a User or an Organization) by login.

", - "args": [ - { - "name": "login", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The username to lookup the owner by.

" - } - ] - }, - { - "name": "resource", - "type": "UniformResourceLocatable", - "kind": "interfaces", - "id": "uniformresourcelocatable", - "href": "/graphql/reference/interfaces#uniformresourcelocatable", - "description": "

Lookup resource by a URL.

", - "args": [ - { - "name": "url", - "type": "URI!", - "id": "uri", - "kind": "scalars", - "href": "/graphql/reference/scalars#uri", - "description": "

The URL.

" - } - ] - }, - { - "name": "securityAdvisory", - "type": "SecurityAdvisory", - "kind": "objects", - "id": "securityadvisory", - "href": "/graphql/reference/objects#securityadvisory", - "description": "

Fetch a Security Advisory by its GHSA ID.

", - "args": [ - { - "name": "ghsaId", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

GitHub Security Advisory ID.

" - } - ] - }, - { - "name": "topic", - "type": "Topic", - "kind": "objects", - "id": "topic", - "href": "/graphql/reference/objects#topic", - "description": "

Look up a topic by name.

", - "args": [ - { - "name": "name", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The topic's name.

" - } - ] - }, - { - "name": "user", - "type": "User", - "kind": "objects", - "id": "user", - "href": "/graphql/reference/objects#user", - "description": "

Lookup a user by login.

", - "args": [ - { - "name": "login", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The user's login.

" - } - ] - }, - { - "name": "viewer", - "type": "User!", - "kind": "objects", - "id": "user", - "href": "/graphql/reference/objects#user", - "description": "

The currently authenticated user.

", - "args": [] - } - ] - }, + "queries": [ + { + "name": "codeOfConduct", + "type": "CodeOfConduct", + "kind": "objects", + "id": "codeofconduct", + "href": "/graphql/reference/objects#codeofconduct", + "description": "

Look up a code of conduct by its key.

", + "args": [ + { + "name": "key", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The code of conduct's key.

" + } + ] + }, + { + "name": "codesOfConduct", + "type": "[CodeOfConduct]", + "kind": "objects", + "id": "codeofconduct", + "href": "/graphql/reference/objects#codeofconduct", + "description": "

Look up a code of conduct by its key.

", + "args": [] + }, + { + "name": "enterprise", + "type": "Enterprise", + "kind": "objects", + "id": "enterprise", + "href": "/graphql/reference/objects#enterprise", + "description": "

Look up an enterprise by URL slug.

", + "args": [ + { + "name": "invitationToken", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The enterprise invitation token.

" + }, + { + "name": "slug", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The enterprise URL slug.

" + } + ] + }, + { + "name": "license", + "type": "License", + "kind": "objects", + "id": "license", + "href": "/graphql/reference/objects#license", + "description": "

Look up an open source license by its key.

", + "args": [ + { + "name": "key", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The license's downcased SPDX ID.

" + } + ] + }, + { + "name": "licenses", + "type": "[License]!", + "kind": "objects", + "id": "license", + "href": "/graphql/reference/objects#license", + "description": "

Return a list of known open source licenses.

", + "args": [] + }, + { + "name": "meta", + "type": "GitHubMetadata!", + "kind": "objects", + "id": "githubmetadata", + "href": "/graphql/reference/objects#githubmetadata", + "description": "

Return information about the GitHub instance.

", + "args": [] + }, + { + "name": "node", + "type": "Node", + "kind": "interfaces", + "id": "node", + "href": "/graphql/reference/interfaces#node", + "description": "

Fetches an object given its ID.

", + "args": [ + { + "name": "id", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "description": "

ID of the object.

" + } + ] + }, + { + "name": "nodes", + "type": "[Node]!", + "kind": "interfaces", + "id": "node", + "href": "/graphql/reference/interfaces#node", + "description": "

Lookup nodes by a list of IDs.

", + "args": [ + { + "name": "ids", + "type": "[ID!]!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "description": "

The list of node IDs.

" + } + ] + }, + { + "name": "organization", + "type": "Organization", + "kind": "objects", + "id": "organization", + "href": "/graphql/reference/objects#organization", + "description": "

Lookup a organization by login.

", + "args": [ + { + "name": "login", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The organization's login.

" + } + ] + }, + { + "name": "organizations", + "type": "OrganizationConnection!", + "kind": "objects", + "id": "organizationconnection", + "href": "/graphql/reference/objects#organizationconnection", + "description": "

A list of organizations.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + } + ] + }, + { + "name": "rateLimit", + "type": "RateLimit", + "kind": "objects", + "id": "ratelimit", + "href": "/graphql/reference/objects#ratelimit", + "description": "

The client's rate limit information.

", + "args": [ + { + "name": "dryRun", + "defaultValue": false, + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

If true, calculate the cost for the query without evaluating it.

" + } + ] + }, + { + "name": "relay", + "type": "Query!", + "kind": "objects", + "id": "query", + "href": "/graphql/reference/objects#query", + "description": "

Hack to workaround https://github.com/facebook/relay/issues/112 re-exposing the root query object.

", + "args": [] + }, + { + "name": "repository", + "type": "Repository", + "kind": "objects", + "id": "repository", + "href": "/graphql/reference/objects#repository", + "description": "

Lookup a given repository by the owner and repository name.

", + "args": [ + { + "name": "followRenames", + "defaultValue": true, + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

Follow repository renames. If disabled, a repository referenced by its old name will return an error.

" + }, + { + "name": "name", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The name of the repository.

" + }, + { + "name": "owner", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The login field of a user or organization.

" + } + ] + }, + { + "name": "repositoryOwner", + "type": "RepositoryOwner", + "kind": "interfaces", + "id": "repositoryowner", + "href": "/graphql/reference/interfaces#repositoryowner", + "description": "

Lookup a repository owner (ie. either a User or an Organization) by login.

", + "args": [ + { + "name": "login", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The username to lookup the owner by.

" + } + ] + }, + { + "name": "resource", + "type": "UniformResourceLocatable", + "kind": "interfaces", + "id": "uniformresourcelocatable", + "href": "/graphql/reference/interfaces#uniformresourcelocatable", + "description": "

Lookup resource by a URL.

", + "args": [ + { + "name": "url", + "type": "URI!", + "id": "uri", + "kind": "scalars", + "href": "/graphql/reference/scalars#uri", + "description": "

The URL.

" + } + ] + }, + { + "name": "search", + "type": "SearchResultItemConnection!", + "kind": "objects", + "id": "searchresultitemconnection", + "href": "/graphql/reference/objects#searchresultitemconnection", + "description": "

Perform a search across resources.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + }, + { + "name": "query", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The search string to look for.

" + }, + { + "name": "type", + "type": "SearchType!", + "id": "searchtype", + "kind": "enums", + "href": "/graphql/reference/enums#searchtype", + "description": "

The types of search items to search within.

" + } + ] + }, + { + "name": "securityAdvisories", + "type": "SecurityAdvisoryConnection!", + "kind": "objects", + "id": "securityadvisoryconnection", + "href": "/graphql/reference/objects#securityadvisoryconnection", + "description": "

GitHub Security Advisories.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "classifications", + "type": "[SecurityAdvisoryClassification!]", + "id": "securityadvisoryclassification", + "kind": "enums", + "href": "/graphql/reference/enums#securityadvisoryclassification", + "description": "

A list of classifications to filter advisories by.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + }, + { + "name": "publishedSince", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime", + "description": "

Filter advisories to those published since a time in the past.

" + }, + { + "name": "updatedSince", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime", + "description": "

Filter advisories to those updated since a time in the past.

" + } + ] + }, + { + "name": "securityAdvisory", + "type": "SecurityAdvisory", + "kind": "objects", + "id": "securityadvisory", + "href": "/graphql/reference/objects#securityadvisory", + "description": "

Fetch a Security Advisory by its GHSA ID.

", + "args": [ + { + "name": "ghsaId", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

GitHub Security Advisory ID.

" + } + ] + }, + { + "name": "securityVulnerabilities", + "type": "SecurityVulnerabilityConnection!", + "kind": "objects", + "id": "securityvulnerabilityconnection", + "href": "/graphql/reference/objects#securityvulnerabilityconnection", + "description": "

Software Vulnerabilities documented by GitHub Security Advisories.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "classifications", + "type": "[SecurityAdvisoryClassification!]", + "id": "securityadvisoryclassification", + "kind": "enums", + "href": "/graphql/reference/enums#securityadvisoryclassification", + "description": "

A list of advisory classifications to filter vulnerabilities by.

" + }, + { + "name": "ecosystem", + "type": "SecurityAdvisoryEcosystem", + "id": "securityadvisoryecosystem", + "kind": "enums", + "href": "/graphql/reference/enums#securityadvisoryecosystem", + "description": "

An ecosystem to filter vulnerabilities by.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + }, + { + "name": "package", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A package name to filter vulnerabilities by.

" + }, + { + "name": "severities", + "type": "[SecurityAdvisorySeverity!]", + "id": "securityadvisoryseverity", + "kind": "enums", + "href": "/graphql/reference/enums#securityadvisoryseverity", + "description": "

A list of severities to filter vulnerabilities by.

" + } + ] + }, + { + "name": "topic", + "type": "Topic", + "kind": "objects", + "id": "topic", + "href": "/graphql/reference/objects#topic", + "description": "

Look up a topic by name.

", + "args": [ + { + "name": "name", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The topic's name.

" + } + ] + }, + { + "name": "user", + "type": "User", + "kind": "objects", + "id": "user", + "href": "/graphql/reference/objects#user", + "description": "

Lookup a user by login.

", + "args": [ + { + "name": "login", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The user's login.

" + } + ] + }, + { + "name": "users", + "type": "UserConnection!", + "kind": "objects", + "id": "userconnection", + "href": "/graphql/reference/objects#userconnection", + "description": "

A list of users.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + } + ] + }, + { + "name": "viewer", + "type": "User!", + "kind": "objects", + "id": "user", + "href": "/graphql/reference/objects#user", + "description": "

The currently authenticated user.

", + "args": [] + } + ], "mutations": [ { "name": "abortQueuedMigrations", diff --git a/lib/graphql/static/schema-ghec.json b/lib/graphql/static/schema-ghec.json index 707816b08f..df73baea3c 100644 --- a/lib/graphql/static/schema-ghec.json +++ b/lib/graphql/static/schema-ghec.json @@ -1,866 +1,862 @@ { - "queries": { - "connections": [ - { - "name": "marketplaceListings", - "type": "MarketplaceListingConnection!", - "kind": "objects", - "id": "marketplacelistingconnection", - "href": "/graphql/reference/objects#marketplacelistingconnection", - "description": "

Look up Marketplace listings.

", - "args": [ - { - "name": "adminId", - "type": "ID", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "description": "

Select listings that can be administered by the specified user.

" - }, - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "allStates", - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

Select listings visible to the viewer even if they are not approved. If omitted or\nfalse, only approved listings will be returned.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "categorySlug", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Select only listings with the given category.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - }, - { - "name": "organizationId", - "type": "ID", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "description": "

Select listings for products owned by the specified organization.

" - }, - { - "name": "primaryCategoryOnly", - "defaultValue": false, - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

Select only listings where the primary category matches the given category slug.

" - }, - { - "name": "slugs", - "type": "[String]", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Select the listings with these slugs, if they are visible to the viewer.

" - }, - { - "name": "useTopicAliases", - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

Also check topic aliases for the category slug.

" - }, - { - "name": "viewerCanAdmin", - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

Select listings to which user has admin access. If omitted, listings visible to the\nviewer are returned.

" - }, - { - "name": "withFreeTrialsOnly", - "defaultValue": false, - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

Select only listings that offer a free trial.

" - } - ] - }, - { - "name": "search", - "type": "SearchResultItemConnection!", - "kind": "objects", - "id": "searchresultitemconnection", - "href": "/graphql/reference/objects#searchresultitemconnection", - "description": "

Perform a search across resources.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - }, - { - "name": "query", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The search string to look for.

" - }, - { - "name": "type", - "type": "SearchType!", - "id": "searchtype", - "kind": "enums", - "href": "/graphql/reference/enums#searchtype", - "description": "

The types of search items to search within.

" - } - ] - }, - { - "name": "securityAdvisories", - "type": "SecurityAdvisoryConnection!", - "kind": "objects", - "id": "securityadvisoryconnection", - "href": "/graphql/reference/objects#securityadvisoryconnection", - "description": "

GitHub Security Advisories.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "classifications", - "type": "[SecurityAdvisoryClassification!]", - "id": "securityadvisoryclassification", - "kind": "enums", - "href": "/graphql/reference/enums#securityadvisoryclassification", - "description": "

A list of classifications to filter advisories by.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "identifier", - "type": "SecurityAdvisoryIdentifierFilter", - "id": "securityadvisoryidentifierfilter", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#securityadvisoryidentifierfilter", - "description": "

Filter advisories by identifier, e.g. GHSA or CVE.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - }, - { - "name": "orderBy", - "type": "SecurityAdvisoryOrder", - "id": "securityadvisoryorder", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#securityadvisoryorder", - "description": "

Ordering options for the returned topics.

" - }, - { - "name": "publishedSince", - "type": "DateTime", - "id": "datetime", - "kind": "scalars", - "href": "/graphql/reference/scalars#datetime", - "description": "

Filter advisories to those published since a time in the past.

" - }, - { - "name": "updatedSince", - "type": "DateTime", - "id": "datetime", - "kind": "scalars", - "href": "/graphql/reference/scalars#datetime", - "description": "

Filter advisories to those updated since a time in the past.

" - } - ] - }, - { - "name": "securityVulnerabilities", - "type": "SecurityVulnerabilityConnection!", - "kind": "objects", - "id": "securityvulnerabilityconnection", - "href": "/graphql/reference/objects#securityvulnerabilityconnection", - "description": "

Software Vulnerabilities documented by GitHub Security Advisories.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "classifications", - "type": "[SecurityAdvisoryClassification!]", - "id": "securityadvisoryclassification", - "kind": "enums", - "href": "/graphql/reference/enums#securityadvisoryclassification", - "description": "

A list of advisory classifications to filter vulnerabilities by.

" - }, - { - "name": "ecosystem", - "type": "SecurityAdvisoryEcosystem", - "id": "securityadvisoryecosystem", - "kind": "enums", - "href": "/graphql/reference/enums#securityadvisoryecosystem", - "description": "

An ecosystem to filter vulnerabilities by.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - }, - { - "name": "orderBy", - "type": "SecurityVulnerabilityOrder", - "id": "securityvulnerabilityorder", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#securityvulnerabilityorder", - "description": "

Ordering options for the returned topics.

" - }, - { - "name": "package", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

A package name to filter vulnerabilities by.

" - }, - { - "name": "severities", - "type": "[SecurityAdvisorySeverity!]", - "id": "securityadvisoryseverity", - "kind": "enums", - "href": "/graphql/reference/enums#securityadvisoryseverity", - "description": "

A list of severities to filter vulnerabilities by.

" - } - ] - }, - { - "name": "sponsorables", - "type": "SponsorableItemConnection!", - "kind": "objects", - "id": "sponsorableitemconnection", - "href": "/graphql/reference/objects#sponsorableitemconnection", - "description": "

Users and organizations who can be sponsored via GitHub Sponsors.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "dependencyEcosystem", - "type": "SecurityAdvisoryEcosystem", - "id": "securityadvisoryecosystem", - "kind": "enums", - "href": "/graphql/reference/enums#securityadvisoryecosystem", - "description": "

Optional filter for which dependencies should be checked for sponsorable\nowners. Only sponsorable owners of dependencies in this ecosystem will be\nincluded. Used when onlyDependencies = true.

\n

Upcoming Change on 2022-07-01 UTC\nDescription: dependencyEcosystem will be removed. Use the ecosystem argument instead.\nReason: The type is switching from SecurityAdvisoryEcosystem to DependencyGraphEcosystem.

" - }, - { - "name": "ecosystem", - "type": "DependencyGraphEcosystem", - "id": "dependencygraphecosystem", - "kind": "enums", - "href": "/graphql/reference/enums#dependencygraphecosystem", - "description": "

Optional filter for which dependencies should be checked for sponsorable\nowners. Only sponsorable owners of dependencies in this ecosystem will be\nincluded. Used when onlyDependencies = true.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - }, - { - "name": "onlyDependencies", - "defaultValue": false, - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

Whether only sponsorables who own the viewer's dependencies will be\nreturned. Must be authenticated to use. Can check an organization instead\nfor their dependencies owned by sponsorables by passing\norgLoginForDependencies.

" - }, - { - "name": "orderBy", - "type": "SponsorableOrder", - "id": "sponsorableorder", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#sponsorableorder", - "description": "

Ordering options for users and organizations returned from the connection.

" - }, - { - "name": "orgLoginForDependencies", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Optional organization username for whose dependencies should be checked.\nUsed when onlyDependencies = true. Omit to check your own dependencies. If\nyou are not an administrator of the organization, only dependencies from its\npublic repositories will be considered.

" - } - ] - } - ], - "fields": [ - { - "name": "codeOfConduct", - "type": "CodeOfConduct", - "kind": "objects", - "id": "codeofconduct", - "href": "/graphql/reference/objects#codeofconduct", - "description": "

Look up a code of conduct by its key.

", - "args": [ - { - "name": "key", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The code of conduct's key.

" - } - ] - }, - { - "name": "codesOfConduct", - "type": "[CodeOfConduct]", - "kind": "objects", - "id": "codeofconduct", - "href": "/graphql/reference/objects#codeofconduct", - "description": "

Look up a code of conduct by its key.

", - "args": [] - }, - { - "name": "enterprise", - "type": "Enterprise", - "kind": "objects", - "id": "enterprise", - "href": "/graphql/reference/objects#enterprise", - "description": "

Look up an enterprise by URL slug.

", - "args": [ - { - "name": "invitationToken", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The enterprise invitation token.

" - }, - { - "name": "slug", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The enterprise URL slug.

" - } - ] - }, - { - "name": "enterpriseAdministratorInvitation", - "type": "EnterpriseAdministratorInvitation", - "kind": "objects", - "id": "enterpriseadministratorinvitation", - "href": "/graphql/reference/objects#enterpriseadministratorinvitation", - "description": "

Look up a pending enterprise administrator invitation by invitee, enterprise and role.

", - "args": [ - { - "name": "enterpriseSlug", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The slug of the enterprise the user was invited to join.

" - }, - { - "name": "role", - "type": "EnterpriseAdministratorRole!", - "id": "enterpriseadministratorrole", - "kind": "enums", - "href": "/graphql/reference/enums#enterpriseadministratorrole", - "description": "

The role for the business member invitation.

" - }, - { - "name": "userLogin", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The login of the user invited to join the business.

" - } - ] - }, - { - "name": "enterpriseAdministratorInvitationByToken", - "type": "EnterpriseAdministratorInvitation", - "kind": "objects", - "id": "enterpriseadministratorinvitation", - "href": "/graphql/reference/objects#enterpriseadministratorinvitation", - "description": "

Look up a pending enterprise administrator invitation by invitation token.

", - "args": [ - { - "name": "invitationToken", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The invitation token sent with the invitation email.

" - } - ] - }, - { - "name": "license", - "type": "License", - "kind": "objects", - "id": "license", - "href": "/graphql/reference/objects#license", - "description": "

Look up an open source license by its key.

", - "args": [ - { - "name": "key", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The license's downcased SPDX ID.

" - } - ] - }, - { - "name": "licenses", - "type": "[License]!", - "kind": "objects", - "id": "license", - "href": "/graphql/reference/objects#license", - "description": "

Return a list of known open source licenses.

", - "args": [] - }, - { - "name": "marketplaceCategories", - "type": "[MarketplaceCategory!]!", - "kind": "objects", - "id": "marketplacecategory", - "href": "/graphql/reference/objects#marketplacecategory", - "description": "

Get alphabetically sorted list of Marketplace categories.

", - "args": [ - { - "name": "excludeEmpty", - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

Exclude categories with no listings.

" - }, - { - "name": "excludeSubcategories", - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

Returns top level categories only, excluding any subcategories.

" - }, - { - "name": "includeCategories", - "type": "[String!]", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Return only the specified categories.

" - } - ] - }, - { - "name": "marketplaceCategory", - "type": "MarketplaceCategory", - "kind": "objects", - "id": "marketplacecategory", - "href": "/graphql/reference/objects#marketplacecategory", - "description": "

Look up a Marketplace category by its slug.

", - "args": [ - { - "name": "slug", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The URL slug of the category.

" - }, - { - "name": "useTopicAliases", - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

Also check topic aliases for the category slug.

" - } - ] - }, - { - "name": "marketplaceListing", - "type": "MarketplaceListing", - "kind": "objects", - "id": "marketplacelisting", - "href": "/graphql/reference/objects#marketplacelisting", - "description": "

Look up a single Marketplace listing.

", - "args": [ - { - "name": "slug", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Select the listing that matches this slug. It's the short name of the listing used in its URL.

" - } - ] - }, - { - "name": "meta", - "type": "GitHubMetadata!", - "kind": "objects", - "id": "githubmetadata", - "href": "/graphql/reference/objects#githubmetadata", - "description": "

Return information about the GitHub instance.

", - "args": [] - }, - { - "name": "node", - "type": "Node", - "kind": "interfaces", - "id": "node", - "href": "/graphql/reference/interfaces#node", - "description": "

Fetches an object given its ID.

", - "args": [ - { - "name": "id", - "type": "ID!", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "description": "

ID of the object.

" - } - ] - }, - { - "name": "nodes", - "type": "[Node]!", - "kind": "interfaces", - "id": "node", - "href": "/graphql/reference/interfaces#node", - "description": "

Lookup nodes by a list of IDs.

", - "args": [ - { - "name": "ids", - "type": "[ID!]!", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "description": "

The list of node IDs.

" - } - ] - }, - { - "name": "organization", - "type": "Organization", - "kind": "objects", - "id": "organization", - "href": "/graphql/reference/objects#organization", - "description": "

Lookup a organization by login.

", - "args": [ - { - "name": "login", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The organization's login.

" - } - ] - }, - { - "name": "rateLimit", - "type": "RateLimit", - "kind": "objects", - "id": "ratelimit", - "href": "/graphql/reference/objects#ratelimit", - "description": "

The client's rate limit information.

", - "args": [ - { - "name": "dryRun", - "defaultValue": false, - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

If true, calculate the cost for the query without evaluating it.

" - } - ] - }, - { - "name": "relay", - "type": "Query!", - "kind": "objects", - "id": "query", - "href": "/graphql/reference/objects#query", - "description": "

Hack to workaround https://github.com/facebook/relay/issues/112 re-exposing the root query object.

", - "args": [] - }, - { - "name": "repository", - "type": "Repository", - "kind": "objects", - "id": "repository", - "href": "/graphql/reference/objects#repository", - "description": "

Lookup a given repository by the owner and repository name.

", - "args": [ - { - "name": "followRenames", - "defaultValue": true, - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

Follow repository renames. If disabled, a repository referenced by its old name will return an error.

" - }, - { - "name": "name", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The name of the repository.

" - }, - { - "name": "owner", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The login field of a user or organization.

" - } - ] - }, - { - "name": "repositoryOwner", - "type": "RepositoryOwner", - "kind": "interfaces", - "id": "repositoryowner", - "href": "/graphql/reference/interfaces#repositoryowner", - "description": "

Lookup a repository owner (ie. either a User or an Organization) by login.

", - "args": [ - { - "name": "login", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The username to lookup the owner by.

" - } - ] - }, - { - "name": "resource", - "type": "UniformResourceLocatable", - "kind": "interfaces", - "id": "uniformresourcelocatable", - "href": "/graphql/reference/interfaces#uniformresourcelocatable", - "description": "

Lookup resource by a URL.

", - "args": [ - { - "name": "url", - "type": "URI!", - "id": "uri", - "kind": "scalars", - "href": "/graphql/reference/scalars#uri", - "description": "

The URL.

" - } - ] - }, - { - "name": "securityAdvisory", - "type": "SecurityAdvisory", - "kind": "objects", - "id": "securityadvisory", - "href": "/graphql/reference/objects#securityadvisory", - "description": "

Fetch a Security Advisory by its GHSA ID.

", - "args": [ - { - "name": "ghsaId", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

GitHub Security Advisory ID.

" - } - ] - }, - { - "name": "topic", - "type": "Topic", - "kind": "objects", - "id": "topic", - "href": "/graphql/reference/objects#topic", - "description": "

Look up a topic by name.

", - "args": [ - { - "name": "name", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The topic's name.

" - } - ] - }, - { - "name": "user", - "type": "User", - "kind": "objects", - "id": "user", - "href": "/graphql/reference/objects#user", - "description": "

Lookup a user by login.

", - "args": [ - { - "name": "login", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The user's login.

" - } - ] - }, - { - "name": "viewer", - "type": "User!", - "kind": "objects", - "id": "user", - "href": "/graphql/reference/objects#user", - "description": "

The currently authenticated user.

", - "args": [] - } - ] - }, + "queries": [ + { + "name": "codeOfConduct", + "type": "CodeOfConduct", + "kind": "objects", + "id": "codeofconduct", + "href": "/graphql/reference/objects#codeofconduct", + "description": "

Look up a code of conduct by its key.

", + "args": [ + { + "name": "key", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The code of conduct's key.

" + } + ] + }, + { + "name": "codesOfConduct", + "type": "[CodeOfConduct]", + "kind": "objects", + "id": "codeofconduct", + "href": "/graphql/reference/objects#codeofconduct", + "description": "

Look up a code of conduct by its key.

", + "args": [] + }, + { + "name": "enterprise", + "type": "Enterprise", + "kind": "objects", + "id": "enterprise", + "href": "/graphql/reference/objects#enterprise", + "description": "

Look up an enterprise by URL slug.

", + "args": [ + { + "name": "invitationToken", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The enterprise invitation token.

" + }, + { + "name": "slug", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The enterprise URL slug.

" + } + ] + }, + { + "name": "enterpriseAdministratorInvitation", + "type": "EnterpriseAdministratorInvitation", + "kind": "objects", + "id": "enterpriseadministratorinvitation", + "href": "/graphql/reference/objects#enterpriseadministratorinvitation", + "description": "

Look up a pending enterprise administrator invitation by invitee, enterprise and role.

", + "args": [ + { + "name": "enterpriseSlug", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The slug of the enterprise the user was invited to join.

" + }, + { + "name": "role", + "type": "EnterpriseAdministratorRole!", + "id": "enterpriseadministratorrole", + "kind": "enums", + "href": "/graphql/reference/enums#enterpriseadministratorrole", + "description": "

The role for the business member invitation.

" + }, + { + "name": "userLogin", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The login of the user invited to join the business.

" + } + ] + }, + { + "name": "enterpriseAdministratorInvitationByToken", + "type": "EnterpriseAdministratorInvitation", + "kind": "objects", + "id": "enterpriseadministratorinvitation", + "href": "/graphql/reference/objects#enterpriseadministratorinvitation", + "description": "

Look up a pending enterprise administrator invitation by invitation token.

", + "args": [ + { + "name": "invitationToken", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The invitation token sent with the invitation email.

" + } + ] + }, + { + "name": "license", + "type": "License", + "kind": "objects", + "id": "license", + "href": "/graphql/reference/objects#license", + "description": "

Look up an open source license by its key.

", + "args": [ + { + "name": "key", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The license's downcased SPDX ID.

" + } + ] + }, + { + "name": "licenses", + "type": "[License]!", + "kind": "objects", + "id": "license", + "href": "/graphql/reference/objects#license", + "description": "

Return a list of known open source licenses.

", + "args": [] + }, + { + "name": "marketplaceCategories", + "type": "[MarketplaceCategory!]!", + "kind": "objects", + "id": "marketplacecategory", + "href": "/graphql/reference/objects#marketplacecategory", + "description": "

Get alphabetically sorted list of Marketplace categories.

", + "args": [ + { + "name": "excludeEmpty", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

Exclude categories with no listings.

" + }, + { + "name": "excludeSubcategories", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

Returns top level categories only, excluding any subcategories.

" + }, + { + "name": "includeCategories", + "type": "[String!]", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Return only the specified categories.

" + } + ] + }, + { + "name": "marketplaceCategory", + "type": "MarketplaceCategory", + "kind": "objects", + "id": "marketplacecategory", + "href": "/graphql/reference/objects#marketplacecategory", + "description": "

Look up a Marketplace category by its slug.

", + "args": [ + { + "name": "slug", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The URL slug of the category.

" + }, + { + "name": "useTopicAliases", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

Also check topic aliases for the category slug.

" + } + ] + }, + { + "name": "marketplaceListing", + "type": "MarketplaceListing", + "kind": "objects", + "id": "marketplacelisting", + "href": "/graphql/reference/objects#marketplacelisting", + "description": "

Look up a single Marketplace listing.

", + "args": [ + { + "name": "slug", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Select the listing that matches this slug. It's the short name of the listing used in its URL.

" + } + ] + }, + { + "name": "marketplaceListings", + "type": "MarketplaceListingConnection!", + "kind": "objects", + "id": "marketplacelistingconnection", + "href": "/graphql/reference/objects#marketplacelistingconnection", + "description": "

Look up Marketplace listings.

", + "args": [ + { + "name": "adminId", + "type": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "description": "

Select listings that can be administered by the specified user.

" + }, + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "allStates", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

Select listings visible to the viewer even if they are not approved. If omitted or\nfalse, only approved listings will be returned.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "categorySlug", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Select only listings with the given category.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + }, + { + "name": "organizationId", + "type": "ID", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "description": "

Select listings for products owned by the specified organization.

" + }, + { + "name": "primaryCategoryOnly", + "defaultValue": false, + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

Select only listings where the primary category matches the given category slug.

" + }, + { + "name": "slugs", + "type": "[String]", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Select the listings with these slugs, if they are visible to the viewer.

" + }, + { + "name": "useTopicAliases", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

Also check topic aliases for the category slug.

" + }, + { + "name": "viewerCanAdmin", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

Select listings to which user has admin access. If omitted, listings visible to the\nviewer are returned.

" + }, + { + "name": "withFreeTrialsOnly", + "defaultValue": false, + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

Select only listings that offer a free trial.

" + } + ] + }, + { + "name": "meta", + "type": "GitHubMetadata!", + "kind": "objects", + "id": "githubmetadata", + "href": "/graphql/reference/objects#githubmetadata", + "description": "

Return information about the GitHub instance.

", + "args": [] + }, + { + "name": "node", + "type": "Node", + "kind": "interfaces", + "id": "node", + "href": "/graphql/reference/interfaces#node", + "description": "

Fetches an object given its ID.

", + "args": [ + { + "name": "id", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "description": "

ID of the object.

" + } + ] + }, + { + "name": "nodes", + "type": "[Node]!", + "kind": "interfaces", + "id": "node", + "href": "/graphql/reference/interfaces#node", + "description": "

Lookup nodes by a list of IDs.

", + "args": [ + { + "name": "ids", + "type": "[ID!]!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "description": "

The list of node IDs.

" + } + ] + }, + { + "name": "organization", + "type": "Organization", + "kind": "objects", + "id": "organization", + "href": "/graphql/reference/objects#organization", + "description": "

Lookup a organization by login.

", + "args": [ + { + "name": "login", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The organization's login.

" + } + ] + }, + { + "name": "rateLimit", + "type": "RateLimit", + "kind": "objects", + "id": "ratelimit", + "href": "/graphql/reference/objects#ratelimit", + "description": "

The client's rate limit information.

", + "args": [ + { + "name": "dryRun", + "defaultValue": false, + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

If true, calculate the cost for the query without evaluating it.

" + } + ] + }, + { + "name": "relay", + "type": "Query!", + "kind": "objects", + "id": "query", + "href": "/graphql/reference/objects#query", + "description": "

Hack to workaround https://github.com/facebook/relay/issues/112 re-exposing the root query object.

", + "args": [] + }, + { + "name": "repository", + "type": "Repository", + "kind": "objects", + "id": "repository", + "href": "/graphql/reference/objects#repository", + "description": "

Lookup a given repository by the owner and repository name.

", + "args": [ + { + "name": "followRenames", + "defaultValue": true, + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

Follow repository renames. If disabled, a repository referenced by its old name will return an error.

" + }, + { + "name": "name", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The name of the repository.

" + }, + { + "name": "owner", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The login field of a user or organization.

" + } + ] + }, + { + "name": "repositoryOwner", + "type": "RepositoryOwner", + "kind": "interfaces", + "id": "repositoryowner", + "href": "/graphql/reference/interfaces#repositoryowner", + "description": "

Lookup a repository owner (ie. either a User or an Organization) by login.

", + "args": [ + { + "name": "login", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The username to lookup the owner by.

" + } + ] + }, + { + "name": "resource", + "type": "UniformResourceLocatable", + "kind": "interfaces", + "id": "uniformresourcelocatable", + "href": "/graphql/reference/interfaces#uniformresourcelocatable", + "description": "

Lookup resource by a URL.

", + "args": [ + { + "name": "url", + "type": "URI!", + "id": "uri", + "kind": "scalars", + "href": "/graphql/reference/scalars#uri", + "description": "

The URL.

" + } + ] + }, + { + "name": "search", + "type": "SearchResultItemConnection!", + "kind": "objects", + "id": "searchresultitemconnection", + "href": "/graphql/reference/objects#searchresultitemconnection", + "description": "

Perform a search across resources.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + }, + { + "name": "query", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The search string to look for.

" + }, + { + "name": "type", + "type": "SearchType!", + "id": "searchtype", + "kind": "enums", + "href": "/graphql/reference/enums#searchtype", + "description": "

The types of search items to search within.

" + } + ] + }, + { + "name": "securityAdvisories", + "type": "SecurityAdvisoryConnection!", + "kind": "objects", + "id": "securityadvisoryconnection", + "href": "/graphql/reference/objects#securityadvisoryconnection", + "description": "

GitHub Security Advisories.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "classifications", + "type": "[SecurityAdvisoryClassification!]", + "id": "securityadvisoryclassification", + "kind": "enums", + "href": "/graphql/reference/enums#securityadvisoryclassification", + "description": "

A list of classifications to filter advisories by.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "identifier", + "type": "SecurityAdvisoryIdentifierFilter", + "id": "securityadvisoryidentifierfilter", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#securityadvisoryidentifierfilter", + "description": "

Filter advisories by identifier, e.g. GHSA or CVE.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + }, + { + "name": "orderBy", + "type": "SecurityAdvisoryOrder", + "id": "securityadvisoryorder", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#securityadvisoryorder", + "description": "

Ordering options for the returned topics.

" + }, + { + "name": "publishedSince", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime", + "description": "

Filter advisories to those published since a time in the past.

" + }, + { + "name": "updatedSince", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime", + "description": "

Filter advisories to those updated since a time in the past.

" + } + ] + }, + { + "name": "securityAdvisory", + "type": "SecurityAdvisory", + "kind": "objects", + "id": "securityadvisory", + "href": "/graphql/reference/objects#securityadvisory", + "description": "

Fetch a Security Advisory by its GHSA ID.

", + "args": [ + { + "name": "ghsaId", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

GitHub Security Advisory ID.

" + } + ] + }, + { + "name": "securityVulnerabilities", + "type": "SecurityVulnerabilityConnection!", + "kind": "objects", + "id": "securityvulnerabilityconnection", + "href": "/graphql/reference/objects#securityvulnerabilityconnection", + "description": "

Software Vulnerabilities documented by GitHub Security Advisories.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "classifications", + "type": "[SecurityAdvisoryClassification!]", + "id": "securityadvisoryclassification", + "kind": "enums", + "href": "/graphql/reference/enums#securityadvisoryclassification", + "description": "

A list of advisory classifications to filter vulnerabilities by.

" + }, + { + "name": "ecosystem", + "type": "SecurityAdvisoryEcosystem", + "id": "securityadvisoryecosystem", + "kind": "enums", + "href": "/graphql/reference/enums#securityadvisoryecosystem", + "description": "

An ecosystem to filter vulnerabilities by.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + }, + { + "name": "orderBy", + "type": "SecurityVulnerabilityOrder", + "id": "securityvulnerabilityorder", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#securityvulnerabilityorder", + "description": "

Ordering options for the returned topics.

" + }, + { + "name": "package", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A package name to filter vulnerabilities by.

" + }, + { + "name": "severities", + "type": "[SecurityAdvisorySeverity!]", + "id": "securityadvisoryseverity", + "kind": "enums", + "href": "/graphql/reference/enums#securityadvisoryseverity", + "description": "

A list of severities to filter vulnerabilities by.

" + } + ] + }, + { + "name": "sponsorables", + "type": "SponsorableItemConnection!", + "kind": "objects", + "id": "sponsorableitemconnection", + "href": "/graphql/reference/objects#sponsorableitemconnection", + "description": "

Users and organizations who can be sponsored via GitHub Sponsors.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "dependencyEcosystem", + "type": "SecurityAdvisoryEcosystem", + "id": "securityadvisoryecosystem", + "kind": "enums", + "href": "/graphql/reference/enums#securityadvisoryecosystem", + "description": "

Optional filter for which dependencies should be checked for sponsorable\nowners. Only sponsorable owners of dependencies in this ecosystem will be\nincluded. Used when onlyDependencies = true.

\n

Upcoming Change on 2022-07-01 UTC\nDescription: dependencyEcosystem will be removed. Use the ecosystem argument instead.\nReason: The type is switching from SecurityAdvisoryEcosystem to DependencyGraphEcosystem.

" + }, + { + "name": "ecosystem", + "type": "DependencyGraphEcosystem", + "id": "dependencygraphecosystem", + "kind": "enums", + "href": "/graphql/reference/enums#dependencygraphecosystem", + "description": "

Optional filter for which dependencies should be checked for sponsorable\nowners. Only sponsorable owners of dependencies in this ecosystem will be\nincluded. Used when onlyDependencies = true.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + }, + { + "name": "onlyDependencies", + "defaultValue": false, + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

Whether only sponsorables who own the viewer's dependencies will be\nreturned. Must be authenticated to use. Can check an organization instead\nfor their dependencies owned by sponsorables by passing\norgLoginForDependencies.

" + }, + { + "name": "orderBy", + "type": "SponsorableOrder", + "id": "sponsorableorder", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#sponsorableorder", + "description": "

Ordering options for users and organizations returned from the connection.

" + }, + { + "name": "orgLoginForDependencies", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Optional organization username for whose dependencies should be checked.\nUsed when onlyDependencies = true. Omit to check your own dependencies. If\nyou are not an administrator of the organization, only dependencies from its\npublic repositories will be considered.

" + } + ] + }, + { + "name": "topic", + "type": "Topic", + "kind": "objects", + "id": "topic", + "href": "/graphql/reference/objects#topic", + "description": "

Look up a topic by name.

", + "args": [ + { + "name": "name", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The topic's name.

" + } + ] + }, + { + "name": "user", + "type": "User", + "kind": "objects", + "id": "user", + "href": "/graphql/reference/objects#user", + "description": "

Lookup a user by login.

", + "args": [ + { + "name": "login", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The user's login.

" + } + ] + }, + { + "name": "viewer", + "type": "User!", + "kind": "objects", + "id": "user", + "href": "/graphql/reference/objects#user", + "description": "

The currently authenticated user.

", + "args": [] + } + ], "mutations": [ { "name": "abortQueuedMigrations", diff --git a/lib/graphql/static/schema-ghes-3.2.json b/lib/graphql/static/schema-ghes-3.2.json index adc6101f26..a2d826152a 100644 --- a/lib/graphql/static/schema-ghes-3.2.json +++ b/lib/graphql/static/schema-ghes-3.2.json @@ -1,572 +1,568 @@ { - "queries": { - "connections": [ - { - "name": "organizations", - "type": "OrganizationConnection!", - "kind": "objects", - "id": "organizationconnection", - "href": "/graphql/reference/objects#organizationconnection", - "description": "

A list of organizations.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - } - ] - }, - { - "name": "search", - "type": "SearchResultItemConnection!", - "kind": "objects", - "id": "searchresultitemconnection", - "href": "/graphql/reference/objects#searchresultitemconnection", - "description": "

Perform a search across resources.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - }, - { - "name": "query", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The search string to look for.

" - }, - { - "name": "type", - "type": "SearchType!", - "id": "searchtype", - "kind": "enums", - "href": "/graphql/reference/enums#searchtype", - "description": "

The types of search items to search within.

" - } - ] - }, - { - "name": "securityAdvisories", - "type": "SecurityAdvisoryConnection!", - "kind": "objects", - "id": "securityadvisoryconnection", - "href": "/graphql/reference/objects#securityadvisoryconnection", - "description": "

GitHub Security Advisories.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - }, - { - "name": "publishedSince", - "type": "DateTime", - "id": "datetime", - "kind": "scalars", - "href": "/graphql/reference/scalars#datetime", - "description": "

Filter advisories to those published since a time in the past.

" - }, - { - "name": "updatedSince", - "type": "DateTime", - "id": "datetime", - "kind": "scalars", - "href": "/graphql/reference/scalars#datetime", - "description": "

Filter advisories to those updated since a time in the past.

" - } - ] - }, - { - "name": "securityVulnerabilities", - "type": "SecurityVulnerabilityConnection!", - "kind": "objects", - "id": "securityvulnerabilityconnection", - "href": "/graphql/reference/objects#securityvulnerabilityconnection", - "description": "

Software Vulnerabilities documented by GitHub Security Advisories.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "ecosystem", - "type": "SecurityAdvisoryEcosystem", - "id": "securityadvisoryecosystem", - "kind": "enums", - "href": "/graphql/reference/enums#securityadvisoryecosystem", - "description": "

An ecosystem to filter vulnerabilities by.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - }, - { - "name": "package", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

A package name to filter vulnerabilities by.

" - }, - { - "name": "severities", - "type": "[SecurityAdvisorySeverity!]", - "id": "securityadvisoryseverity", - "kind": "enums", - "href": "/graphql/reference/enums#securityadvisoryseverity", - "description": "

A list of severities to filter vulnerabilities by.

" - } - ] - }, - { - "name": "users", - "type": "UserConnection!", - "kind": "objects", - "id": "userconnection", - "href": "/graphql/reference/objects#userconnection", - "description": "

A list of users.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - } - ] - } - ], - "fields": [ - { - "name": "codeOfConduct", - "type": "CodeOfConduct", - "kind": "objects", - "id": "codeofconduct", - "href": "/graphql/reference/objects#codeofconduct", - "description": "

Look up a code of conduct by its key.

", - "args": [ - { - "name": "key", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The code of conduct's key.

" - } - ] - }, - { - "name": "codesOfConduct", - "type": "[CodeOfConduct]", - "kind": "objects", - "id": "codeofconduct", - "href": "/graphql/reference/objects#codeofconduct", - "description": "

Look up a code of conduct by its key.

", - "args": [] - }, - { - "name": "enterprise", - "type": "Enterprise", - "kind": "objects", - "id": "enterprise", - "href": "/graphql/reference/objects#enterprise", - "description": "

Look up an enterprise by URL slug.

", - "args": [ - { - "name": "invitationToken", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The enterprise invitation token.

" - }, - { - "name": "slug", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The enterprise URL slug.

" - } - ] - }, - { - "name": "license", - "type": "License", - "kind": "objects", - "id": "license", - "href": "/graphql/reference/objects#license", - "description": "

Look up an open source license by its key.

", - "args": [ - { - "name": "key", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The license's downcased SPDX ID.

" - } - ] - }, - { - "name": "licenses", - "type": "[License]!", - "kind": "objects", - "id": "license", - "href": "/graphql/reference/objects#license", - "description": "

Return a list of known open source licenses.

", - "args": [] - }, - { - "name": "meta", - "type": "GitHubMetadata!", - "kind": "objects", - "id": "githubmetadata", - "href": "/graphql/reference/objects#githubmetadata", - "description": "

Return information about the GitHub instance.

", - "args": [] - }, - { - "name": "node", - "type": "Node", - "kind": "interfaces", - "id": "node", - "href": "/graphql/reference/interfaces#node", - "description": "

Fetches an object given its ID.

", - "args": [ - { - "name": "id", - "type": "ID!", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "description": "

ID of the object.

" - } - ] - }, - { - "name": "nodes", - "type": "[Node]!", - "kind": "interfaces", - "id": "node", - "href": "/graphql/reference/interfaces#node", - "description": "

Lookup nodes by a list of IDs.

", - "args": [ - { - "name": "ids", - "type": "[ID!]!", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "description": "

The list of node IDs.

" - } - ] - }, - { - "name": "organization", - "type": "Organization", - "kind": "objects", - "id": "organization", - "href": "/graphql/reference/objects#organization", - "description": "

Lookup a organization by login.

", - "args": [ - { - "name": "login", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The organization's login.

" - } - ] - }, - { - "name": "rateLimit", - "type": "RateLimit", - "kind": "objects", - "id": "ratelimit", - "href": "/graphql/reference/objects#ratelimit", - "description": "

The client's rate limit information.

", - "args": [ - { - "name": "dryRun", - "defaultValue": false, - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

If true, calculate the cost for the query without evaluating it.

" - } - ] - }, - { - "name": "relay", - "type": "Query!", - "kind": "objects", - "id": "query", - "href": "/graphql/reference/objects#query", - "description": "

Hack to workaround https://github.com/facebook/relay/issues/112 re-exposing the root query object.

", - "args": [] - }, - { - "name": "repository", - "type": "Repository", - "kind": "objects", - "id": "repository", - "href": "/graphql/reference/objects#repository", - "description": "

Lookup a given repository by the owner and repository name.

", - "args": [ - { - "name": "name", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The name of the repository.

" - }, - { - "name": "owner", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The login field of a user or organization.

" - } - ] - }, - { - "name": "repositoryOwner", - "type": "RepositoryOwner", - "kind": "interfaces", - "id": "repositoryowner", - "href": "/graphql/reference/interfaces#repositoryowner", - "description": "

Lookup a repository owner (ie. either a User or an Organization) by login.

", - "args": [ - { - "name": "login", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The username to lookup the owner by.

" - } - ] - }, - { - "name": "resource", - "type": "UniformResourceLocatable", - "kind": "interfaces", - "id": "uniformresourcelocatable", - "href": "/graphql/reference/interfaces#uniformresourcelocatable", - "description": "

Lookup resource by a URL.

", - "args": [ - { - "name": "url", - "type": "URI!", - "id": "uri", - "kind": "scalars", - "href": "/graphql/reference/scalars#uri", - "description": "

The URL.

" - } - ] - }, - { - "name": "securityAdvisory", - "type": "SecurityAdvisory", - "kind": "objects", - "id": "securityadvisory", - "href": "/graphql/reference/objects#securityadvisory", - "description": "

Fetch a Security Advisory by its GHSA ID.

", - "args": [ - { - "name": "ghsaId", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

GitHub Security Advisory ID.

" - } - ] - }, - { - "name": "topic", - "type": "Topic", - "kind": "objects", - "id": "topic", - "href": "/graphql/reference/objects#topic", - "description": "

Look up a topic by name.

", - "args": [ - { - "name": "name", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The topic's name.

" - } - ] - }, - { - "name": "user", - "type": "User", - "kind": "objects", - "id": "user", - "href": "/graphql/reference/objects#user", - "description": "

Lookup a user by login.

", - "args": [ - { - "name": "login", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The user's login.

" - } - ] - }, - { - "name": "viewer", - "type": "User!", - "kind": "objects", - "id": "user", - "href": "/graphql/reference/objects#user", - "description": "

The currently authenticated user.

", - "args": [] - } - ] - }, + "queries": [ + { + "name": "codeOfConduct", + "type": "CodeOfConduct", + "kind": "objects", + "id": "codeofconduct", + "href": "/graphql/reference/objects#codeofconduct", + "description": "

Look up a code of conduct by its key.

", + "args": [ + { + "name": "key", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The code of conduct's key.

" + } + ] + }, + { + "name": "codesOfConduct", + "type": "[CodeOfConduct]", + "kind": "objects", + "id": "codeofconduct", + "href": "/graphql/reference/objects#codeofconduct", + "description": "

Look up a code of conduct by its key.

", + "args": [] + }, + { + "name": "enterprise", + "type": "Enterprise", + "kind": "objects", + "id": "enterprise", + "href": "/graphql/reference/objects#enterprise", + "description": "

Look up an enterprise by URL slug.

", + "args": [ + { + "name": "invitationToken", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The enterprise invitation token.

" + }, + { + "name": "slug", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The enterprise URL slug.

" + } + ] + }, + { + "name": "license", + "type": "License", + "kind": "objects", + "id": "license", + "href": "/graphql/reference/objects#license", + "description": "

Look up an open source license by its key.

", + "args": [ + { + "name": "key", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The license's downcased SPDX ID.

" + } + ] + }, + { + "name": "licenses", + "type": "[License]!", + "kind": "objects", + "id": "license", + "href": "/graphql/reference/objects#license", + "description": "

Return a list of known open source licenses.

", + "args": [] + }, + { + "name": "meta", + "type": "GitHubMetadata!", + "kind": "objects", + "id": "githubmetadata", + "href": "/graphql/reference/objects#githubmetadata", + "description": "

Return information about the GitHub instance.

", + "args": [] + }, + { + "name": "node", + "type": "Node", + "kind": "interfaces", + "id": "node", + "href": "/graphql/reference/interfaces#node", + "description": "

Fetches an object given its ID.

", + "args": [ + { + "name": "id", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "description": "

ID of the object.

" + } + ] + }, + { + "name": "nodes", + "type": "[Node]!", + "kind": "interfaces", + "id": "node", + "href": "/graphql/reference/interfaces#node", + "description": "

Lookup nodes by a list of IDs.

", + "args": [ + { + "name": "ids", + "type": "[ID!]!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "description": "

The list of node IDs.

" + } + ] + }, + { + "name": "organization", + "type": "Organization", + "kind": "objects", + "id": "organization", + "href": "/graphql/reference/objects#organization", + "description": "

Lookup a organization by login.

", + "args": [ + { + "name": "login", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The organization's login.

" + } + ] + }, + { + "name": "organizations", + "type": "OrganizationConnection!", + "kind": "objects", + "id": "organizationconnection", + "href": "/graphql/reference/objects#organizationconnection", + "description": "

A list of organizations.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + } + ] + }, + { + "name": "rateLimit", + "type": "RateLimit", + "kind": "objects", + "id": "ratelimit", + "href": "/graphql/reference/objects#ratelimit", + "description": "

The client's rate limit information.

", + "args": [ + { + "name": "dryRun", + "defaultValue": false, + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

If true, calculate the cost for the query without evaluating it.

" + } + ] + }, + { + "name": "relay", + "type": "Query!", + "kind": "objects", + "id": "query", + "href": "/graphql/reference/objects#query", + "description": "

Hack to workaround https://github.com/facebook/relay/issues/112 re-exposing the root query object.

", + "args": [] + }, + { + "name": "repository", + "type": "Repository", + "kind": "objects", + "id": "repository", + "href": "/graphql/reference/objects#repository", + "description": "

Lookup a given repository by the owner and repository name.

", + "args": [ + { + "name": "name", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The name of the repository.

" + }, + { + "name": "owner", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The login field of a user or organization.

" + } + ] + }, + { + "name": "repositoryOwner", + "type": "RepositoryOwner", + "kind": "interfaces", + "id": "repositoryowner", + "href": "/graphql/reference/interfaces#repositoryowner", + "description": "

Lookup a repository owner (ie. either a User or an Organization) by login.

", + "args": [ + { + "name": "login", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The username to lookup the owner by.

" + } + ] + }, + { + "name": "resource", + "type": "UniformResourceLocatable", + "kind": "interfaces", + "id": "uniformresourcelocatable", + "href": "/graphql/reference/interfaces#uniformresourcelocatable", + "description": "

Lookup resource by a URL.

", + "args": [ + { + "name": "url", + "type": "URI!", + "id": "uri", + "kind": "scalars", + "href": "/graphql/reference/scalars#uri", + "description": "

The URL.

" + } + ] + }, + { + "name": "search", + "type": "SearchResultItemConnection!", + "kind": "objects", + "id": "searchresultitemconnection", + "href": "/graphql/reference/objects#searchresultitemconnection", + "description": "

Perform a search across resources.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + }, + { + "name": "query", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The search string to look for.

" + }, + { + "name": "type", + "type": "SearchType!", + "id": "searchtype", + "kind": "enums", + "href": "/graphql/reference/enums#searchtype", + "description": "

The types of search items to search within.

" + } + ] + }, + { + "name": "securityAdvisories", + "type": "SecurityAdvisoryConnection!", + "kind": "objects", + "id": "securityadvisoryconnection", + "href": "/graphql/reference/objects#securityadvisoryconnection", + "description": "

GitHub Security Advisories.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + }, + { + "name": "publishedSince", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime", + "description": "

Filter advisories to those published since a time in the past.

" + }, + { + "name": "updatedSince", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime", + "description": "

Filter advisories to those updated since a time in the past.

" + } + ] + }, + { + "name": "securityAdvisory", + "type": "SecurityAdvisory", + "kind": "objects", + "id": "securityadvisory", + "href": "/graphql/reference/objects#securityadvisory", + "description": "

Fetch a Security Advisory by its GHSA ID.

", + "args": [ + { + "name": "ghsaId", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

GitHub Security Advisory ID.

" + } + ] + }, + { + "name": "securityVulnerabilities", + "type": "SecurityVulnerabilityConnection!", + "kind": "objects", + "id": "securityvulnerabilityconnection", + "href": "/graphql/reference/objects#securityvulnerabilityconnection", + "description": "

Software Vulnerabilities documented by GitHub Security Advisories.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "ecosystem", + "type": "SecurityAdvisoryEcosystem", + "id": "securityadvisoryecosystem", + "kind": "enums", + "href": "/graphql/reference/enums#securityadvisoryecosystem", + "description": "

An ecosystem to filter vulnerabilities by.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + }, + { + "name": "package", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A package name to filter vulnerabilities by.

" + }, + { + "name": "severities", + "type": "[SecurityAdvisorySeverity!]", + "id": "securityadvisoryseverity", + "kind": "enums", + "href": "/graphql/reference/enums#securityadvisoryseverity", + "description": "

A list of severities to filter vulnerabilities by.

" + } + ] + }, + { + "name": "topic", + "type": "Topic", + "kind": "objects", + "id": "topic", + "href": "/graphql/reference/objects#topic", + "description": "

Look up a topic by name.

", + "args": [ + { + "name": "name", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The topic's name.

" + } + ] + }, + { + "name": "user", + "type": "User", + "kind": "objects", + "id": "user", + "href": "/graphql/reference/objects#user", + "description": "

Lookup a user by login.

", + "args": [ + { + "name": "login", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The user's login.

" + } + ] + }, + { + "name": "users", + "type": "UserConnection!", + "kind": "objects", + "id": "userconnection", + "href": "/graphql/reference/objects#userconnection", + "description": "

A list of users.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + } + ] + }, + { + "name": "viewer", + "type": "User!", + "kind": "objects", + "id": "user", + "href": "/graphql/reference/objects#user", + "description": "

The currently authenticated user.

", + "args": [] + } + ], "mutations": [ { "name": "addAssigneesToAssignable", diff --git a/lib/graphql/static/schema-ghes-3.3.json b/lib/graphql/static/schema-ghes-3.3.json index 1c5b01b049..424f51de71 100644 --- a/lib/graphql/static/schema-ghes-3.3.json +++ b/lib/graphql/static/schema-ghes-3.3.json @@ -1,572 +1,568 @@ { - "queries": { - "connections": [ - { - "name": "organizations", - "type": "OrganizationConnection!", - "kind": "objects", - "id": "organizationconnection", - "href": "/graphql/reference/objects#organizationconnection", - "description": "

A list of organizations.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - } - ] - }, - { - "name": "search", - "type": "SearchResultItemConnection!", - "kind": "objects", - "id": "searchresultitemconnection", - "href": "/graphql/reference/objects#searchresultitemconnection", - "description": "

Perform a search across resources.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - }, - { - "name": "query", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The search string to look for.

" - }, - { - "name": "type", - "type": "SearchType!", - "id": "searchtype", - "kind": "enums", - "href": "/graphql/reference/enums#searchtype", - "description": "

The types of search items to search within.

" - } - ] - }, - { - "name": "securityAdvisories", - "type": "SecurityAdvisoryConnection!", - "kind": "objects", - "id": "securityadvisoryconnection", - "href": "/graphql/reference/objects#securityadvisoryconnection", - "description": "

GitHub Security Advisories.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - }, - { - "name": "publishedSince", - "type": "DateTime", - "id": "datetime", - "kind": "scalars", - "href": "/graphql/reference/scalars#datetime", - "description": "

Filter advisories to those published since a time in the past.

" - }, - { - "name": "updatedSince", - "type": "DateTime", - "id": "datetime", - "kind": "scalars", - "href": "/graphql/reference/scalars#datetime", - "description": "

Filter advisories to those updated since a time in the past.

" - } - ] - }, - { - "name": "securityVulnerabilities", - "type": "SecurityVulnerabilityConnection!", - "kind": "objects", - "id": "securityvulnerabilityconnection", - "href": "/graphql/reference/objects#securityvulnerabilityconnection", - "description": "

Software Vulnerabilities documented by GitHub Security Advisories.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "ecosystem", - "type": "SecurityAdvisoryEcosystem", - "id": "securityadvisoryecosystem", - "kind": "enums", - "href": "/graphql/reference/enums#securityadvisoryecosystem", - "description": "

An ecosystem to filter vulnerabilities by.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - }, - { - "name": "package", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

A package name to filter vulnerabilities by.

" - }, - { - "name": "severities", - "type": "[SecurityAdvisorySeverity!]", - "id": "securityadvisoryseverity", - "kind": "enums", - "href": "/graphql/reference/enums#securityadvisoryseverity", - "description": "

A list of severities to filter vulnerabilities by.

" - } - ] - }, - { - "name": "users", - "type": "UserConnection!", - "kind": "objects", - "id": "userconnection", - "href": "/graphql/reference/objects#userconnection", - "description": "

A list of users.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - } - ] - } - ], - "fields": [ - { - "name": "codeOfConduct", - "type": "CodeOfConduct", - "kind": "objects", - "id": "codeofconduct", - "href": "/graphql/reference/objects#codeofconduct", - "description": "

Look up a code of conduct by its key.

", - "args": [ - { - "name": "key", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The code of conduct's key.

" - } - ] - }, - { - "name": "codesOfConduct", - "type": "[CodeOfConduct]", - "kind": "objects", - "id": "codeofconduct", - "href": "/graphql/reference/objects#codeofconduct", - "description": "

Look up a code of conduct by its key.

", - "args": [] - }, - { - "name": "enterprise", - "type": "Enterprise", - "kind": "objects", - "id": "enterprise", - "href": "/graphql/reference/objects#enterprise", - "description": "

Look up an enterprise by URL slug.

", - "args": [ - { - "name": "invitationToken", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The enterprise invitation token.

" - }, - { - "name": "slug", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The enterprise URL slug.

" - } - ] - }, - { - "name": "license", - "type": "License", - "kind": "objects", - "id": "license", - "href": "/graphql/reference/objects#license", - "description": "

Look up an open source license by its key.

", - "args": [ - { - "name": "key", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The license's downcased SPDX ID.

" - } - ] - }, - { - "name": "licenses", - "type": "[License]!", - "kind": "objects", - "id": "license", - "href": "/graphql/reference/objects#license", - "description": "

Return a list of known open source licenses.

", - "args": [] - }, - { - "name": "meta", - "type": "GitHubMetadata!", - "kind": "objects", - "id": "githubmetadata", - "href": "/graphql/reference/objects#githubmetadata", - "description": "

Return information about the GitHub instance.

", - "args": [] - }, - { - "name": "node", - "type": "Node", - "kind": "interfaces", - "id": "node", - "href": "/graphql/reference/interfaces#node", - "description": "

Fetches an object given its ID.

", - "args": [ - { - "name": "id", - "type": "ID!", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "description": "

ID of the object.

" - } - ] - }, - { - "name": "nodes", - "type": "[Node]!", - "kind": "interfaces", - "id": "node", - "href": "/graphql/reference/interfaces#node", - "description": "

Lookup nodes by a list of IDs.

", - "args": [ - { - "name": "ids", - "type": "[ID!]!", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "description": "

The list of node IDs.

" - } - ] - }, - { - "name": "organization", - "type": "Organization", - "kind": "objects", - "id": "organization", - "href": "/graphql/reference/objects#organization", - "description": "

Lookup a organization by login.

", - "args": [ - { - "name": "login", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The organization's login.

" - } - ] - }, - { - "name": "rateLimit", - "type": "RateLimit", - "kind": "objects", - "id": "ratelimit", - "href": "/graphql/reference/objects#ratelimit", - "description": "

The client's rate limit information.

", - "args": [ - { - "name": "dryRun", - "defaultValue": false, - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

If true, calculate the cost for the query without evaluating it.

" - } - ] - }, - { - "name": "relay", - "type": "Query!", - "kind": "objects", - "id": "query", - "href": "/graphql/reference/objects#query", - "description": "

Hack to workaround https://github.com/facebook/relay/issues/112 re-exposing the root query object.

", - "args": [] - }, - { - "name": "repository", - "type": "Repository", - "kind": "objects", - "id": "repository", - "href": "/graphql/reference/objects#repository", - "description": "

Lookup a given repository by the owner and repository name.

", - "args": [ - { - "name": "name", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The name of the repository.

" - }, - { - "name": "owner", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The login field of a user or organization.

" - } - ] - }, - { - "name": "repositoryOwner", - "type": "RepositoryOwner", - "kind": "interfaces", - "id": "repositoryowner", - "href": "/graphql/reference/interfaces#repositoryowner", - "description": "

Lookup a repository owner (ie. either a User or an Organization) by login.

", - "args": [ - { - "name": "login", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The username to lookup the owner by.

" - } - ] - }, - { - "name": "resource", - "type": "UniformResourceLocatable", - "kind": "interfaces", - "id": "uniformresourcelocatable", - "href": "/graphql/reference/interfaces#uniformresourcelocatable", - "description": "

Lookup resource by a URL.

", - "args": [ - { - "name": "url", - "type": "URI!", - "id": "uri", - "kind": "scalars", - "href": "/graphql/reference/scalars#uri", - "description": "

The URL.

" - } - ] - }, - { - "name": "securityAdvisory", - "type": "SecurityAdvisory", - "kind": "objects", - "id": "securityadvisory", - "href": "/graphql/reference/objects#securityadvisory", - "description": "

Fetch a Security Advisory by its GHSA ID.

", - "args": [ - { - "name": "ghsaId", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

GitHub Security Advisory ID.

" - } - ] - }, - { - "name": "topic", - "type": "Topic", - "kind": "objects", - "id": "topic", - "href": "/graphql/reference/objects#topic", - "description": "

Look up a topic by name.

", - "args": [ - { - "name": "name", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The topic's name.

" - } - ] - }, - { - "name": "user", - "type": "User", - "kind": "objects", - "id": "user", - "href": "/graphql/reference/objects#user", - "description": "

Lookup a user by login.

", - "args": [ - { - "name": "login", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The user's login.

" - } - ] - }, - { - "name": "viewer", - "type": "User!", - "kind": "objects", - "id": "user", - "href": "/graphql/reference/objects#user", - "description": "

The currently authenticated user.

", - "args": [] - } - ] - }, + "queries": [ + { + "name": "codeOfConduct", + "type": "CodeOfConduct", + "kind": "objects", + "id": "codeofconduct", + "href": "/graphql/reference/objects#codeofconduct", + "description": "

Look up a code of conduct by its key.

", + "args": [ + { + "name": "key", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The code of conduct's key.

" + } + ] + }, + { + "name": "codesOfConduct", + "type": "[CodeOfConduct]", + "kind": "objects", + "id": "codeofconduct", + "href": "/graphql/reference/objects#codeofconduct", + "description": "

Look up a code of conduct by its key.

", + "args": [] + }, + { + "name": "enterprise", + "type": "Enterprise", + "kind": "objects", + "id": "enterprise", + "href": "/graphql/reference/objects#enterprise", + "description": "

Look up an enterprise by URL slug.

", + "args": [ + { + "name": "invitationToken", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The enterprise invitation token.

" + }, + { + "name": "slug", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The enterprise URL slug.

" + } + ] + }, + { + "name": "license", + "type": "License", + "kind": "objects", + "id": "license", + "href": "/graphql/reference/objects#license", + "description": "

Look up an open source license by its key.

", + "args": [ + { + "name": "key", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The license's downcased SPDX ID.

" + } + ] + }, + { + "name": "licenses", + "type": "[License]!", + "kind": "objects", + "id": "license", + "href": "/graphql/reference/objects#license", + "description": "

Return a list of known open source licenses.

", + "args": [] + }, + { + "name": "meta", + "type": "GitHubMetadata!", + "kind": "objects", + "id": "githubmetadata", + "href": "/graphql/reference/objects#githubmetadata", + "description": "

Return information about the GitHub instance.

", + "args": [] + }, + { + "name": "node", + "type": "Node", + "kind": "interfaces", + "id": "node", + "href": "/graphql/reference/interfaces#node", + "description": "

Fetches an object given its ID.

", + "args": [ + { + "name": "id", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "description": "

ID of the object.

" + } + ] + }, + { + "name": "nodes", + "type": "[Node]!", + "kind": "interfaces", + "id": "node", + "href": "/graphql/reference/interfaces#node", + "description": "

Lookup nodes by a list of IDs.

", + "args": [ + { + "name": "ids", + "type": "[ID!]!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "description": "

The list of node IDs.

" + } + ] + }, + { + "name": "organization", + "type": "Organization", + "kind": "objects", + "id": "organization", + "href": "/graphql/reference/objects#organization", + "description": "

Lookup a organization by login.

", + "args": [ + { + "name": "login", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The organization's login.

" + } + ] + }, + { + "name": "organizations", + "type": "OrganizationConnection!", + "kind": "objects", + "id": "organizationconnection", + "href": "/graphql/reference/objects#organizationconnection", + "description": "

A list of organizations.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + } + ] + }, + { + "name": "rateLimit", + "type": "RateLimit", + "kind": "objects", + "id": "ratelimit", + "href": "/graphql/reference/objects#ratelimit", + "description": "

The client's rate limit information.

", + "args": [ + { + "name": "dryRun", + "defaultValue": false, + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

If true, calculate the cost for the query without evaluating it.

" + } + ] + }, + { + "name": "relay", + "type": "Query!", + "kind": "objects", + "id": "query", + "href": "/graphql/reference/objects#query", + "description": "

Hack to workaround https://github.com/facebook/relay/issues/112 re-exposing the root query object.

", + "args": [] + }, + { + "name": "repository", + "type": "Repository", + "kind": "objects", + "id": "repository", + "href": "/graphql/reference/objects#repository", + "description": "

Lookup a given repository by the owner and repository name.

", + "args": [ + { + "name": "name", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The name of the repository.

" + }, + { + "name": "owner", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The login field of a user or organization.

" + } + ] + }, + { + "name": "repositoryOwner", + "type": "RepositoryOwner", + "kind": "interfaces", + "id": "repositoryowner", + "href": "/graphql/reference/interfaces#repositoryowner", + "description": "

Lookup a repository owner (ie. either a User or an Organization) by login.

", + "args": [ + { + "name": "login", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The username to lookup the owner by.

" + } + ] + }, + { + "name": "resource", + "type": "UniformResourceLocatable", + "kind": "interfaces", + "id": "uniformresourcelocatable", + "href": "/graphql/reference/interfaces#uniformresourcelocatable", + "description": "

Lookup resource by a URL.

", + "args": [ + { + "name": "url", + "type": "URI!", + "id": "uri", + "kind": "scalars", + "href": "/graphql/reference/scalars#uri", + "description": "

The URL.

" + } + ] + }, + { + "name": "search", + "type": "SearchResultItemConnection!", + "kind": "objects", + "id": "searchresultitemconnection", + "href": "/graphql/reference/objects#searchresultitemconnection", + "description": "

Perform a search across resources.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + }, + { + "name": "query", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The search string to look for.

" + }, + { + "name": "type", + "type": "SearchType!", + "id": "searchtype", + "kind": "enums", + "href": "/graphql/reference/enums#searchtype", + "description": "

The types of search items to search within.

" + } + ] + }, + { + "name": "securityAdvisories", + "type": "SecurityAdvisoryConnection!", + "kind": "objects", + "id": "securityadvisoryconnection", + "href": "/graphql/reference/objects#securityadvisoryconnection", + "description": "

GitHub Security Advisories.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + }, + { + "name": "publishedSince", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime", + "description": "

Filter advisories to those published since a time in the past.

" + }, + { + "name": "updatedSince", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime", + "description": "

Filter advisories to those updated since a time in the past.

" + } + ] + }, + { + "name": "securityAdvisory", + "type": "SecurityAdvisory", + "kind": "objects", + "id": "securityadvisory", + "href": "/graphql/reference/objects#securityadvisory", + "description": "

Fetch a Security Advisory by its GHSA ID.

", + "args": [ + { + "name": "ghsaId", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

GitHub Security Advisory ID.

" + } + ] + }, + { + "name": "securityVulnerabilities", + "type": "SecurityVulnerabilityConnection!", + "kind": "objects", + "id": "securityvulnerabilityconnection", + "href": "/graphql/reference/objects#securityvulnerabilityconnection", + "description": "

Software Vulnerabilities documented by GitHub Security Advisories.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "ecosystem", + "type": "SecurityAdvisoryEcosystem", + "id": "securityadvisoryecosystem", + "kind": "enums", + "href": "/graphql/reference/enums#securityadvisoryecosystem", + "description": "

An ecosystem to filter vulnerabilities by.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + }, + { + "name": "package", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A package name to filter vulnerabilities by.

" + }, + { + "name": "severities", + "type": "[SecurityAdvisorySeverity!]", + "id": "securityadvisoryseverity", + "kind": "enums", + "href": "/graphql/reference/enums#securityadvisoryseverity", + "description": "

A list of severities to filter vulnerabilities by.

" + } + ] + }, + { + "name": "topic", + "type": "Topic", + "kind": "objects", + "id": "topic", + "href": "/graphql/reference/objects#topic", + "description": "

Look up a topic by name.

", + "args": [ + { + "name": "name", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The topic's name.

" + } + ] + }, + { + "name": "user", + "type": "User", + "kind": "objects", + "id": "user", + "href": "/graphql/reference/objects#user", + "description": "

Lookup a user by login.

", + "args": [ + { + "name": "login", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The user's login.

" + } + ] + }, + { + "name": "users", + "type": "UserConnection!", + "kind": "objects", + "id": "userconnection", + "href": "/graphql/reference/objects#userconnection", + "description": "

A list of users.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + } + ] + }, + { + "name": "viewer", + "type": "User!", + "kind": "objects", + "id": "user", + "href": "/graphql/reference/objects#user", + "description": "

The currently authenticated user.

", + "args": [] + } + ], "mutations": [ { "name": "addAssigneesToAssignable", diff --git a/lib/graphql/static/schema-ghes-3.4.json b/lib/graphql/static/schema-ghes-3.4.json index fe9bbf6aff..f7a59e8e77 100644 --- a/lib/graphql/static/schema-ghes-3.4.json +++ b/lib/graphql/static/schema-ghes-3.4.json @@ -1,581 +1,577 @@ { - "queries": { - "connections": [ - { - "name": "organizations", - "type": "OrganizationConnection!", - "kind": "objects", - "id": "organizationconnection", - "href": "/graphql/reference/objects#organizationconnection", - "description": "

A list of organizations.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - } - ] - }, - { - "name": "search", - "type": "SearchResultItemConnection!", - "kind": "objects", - "id": "searchresultitemconnection", - "href": "/graphql/reference/objects#searchresultitemconnection", - "description": "

Perform a search across resources.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - }, - { - "name": "query", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The search string to look for.

" - }, - { - "name": "type", - "type": "SearchType!", - "id": "searchtype", - "kind": "enums", - "href": "/graphql/reference/enums#searchtype", - "description": "

The types of search items to search within.

" - } - ] - }, - { - "name": "securityAdvisories", - "type": "SecurityAdvisoryConnection!", - "kind": "objects", - "id": "securityadvisoryconnection", - "href": "/graphql/reference/objects#securityadvisoryconnection", - "description": "

GitHub Security Advisories.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - }, - { - "name": "publishedSince", - "type": "DateTime", - "id": "datetime", - "kind": "scalars", - "href": "/graphql/reference/scalars#datetime", - "description": "

Filter advisories to those published since a time in the past.

" - }, - { - "name": "updatedSince", - "type": "DateTime", - "id": "datetime", - "kind": "scalars", - "href": "/graphql/reference/scalars#datetime", - "description": "

Filter advisories to those updated since a time in the past.

" - } - ] - }, - { - "name": "securityVulnerabilities", - "type": "SecurityVulnerabilityConnection!", - "kind": "objects", - "id": "securityvulnerabilityconnection", - "href": "/graphql/reference/objects#securityvulnerabilityconnection", - "description": "

Software Vulnerabilities documented by GitHub Security Advisories.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "ecosystem", - "type": "SecurityAdvisoryEcosystem", - "id": "securityadvisoryecosystem", - "kind": "enums", - "href": "/graphql/reference/enums#securityadvisoryecosystem", - "description": "

An ecosystem to filter vulnerabilities by.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - }, - { - "name": "package", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

A package name to filter vulnerabilities by.

" - }, - { - "name": "severities", - "type": "[SecurityAdvisorySeverity!]", - "id": "securityadvisoryseverity", - "kind": "enums", - "href": "/graphql/reference/enums#securityadvisoryseverity", - "description": "

A list of severities to filter vulnerabilities by.

" - } - ] - }, - { - "name": "users", - "type": "UserConnection!", - "kind": "objects", - "id": "userconnection", - "href": "/graphql/reference/objects#userconnection", - "description": "

A list of users.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - } - ] - } - ], - "fields": [ - { - "name": "codeOfConduct", - "type": "CodeOfConduct", - "kind": "objects", - "id": "codeofconduct", - "href": "/graphql/reference/objects#codeofconduct", - "description": "

Look up a code of conduct by its key.

", - "args": [ - { - "name": "key", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The code of conduct's key.

" - } - ] - }, - { - "name": "codesOfConduct", - "type": "[CodeOfConduct]", - "kind": "objects", - "id": "codeofconduct", - "href": "/graphql/reference/objects#codeofconduct", - "description": "

Look up a code of conduct by its key.

", - "args": [] - }, - { - "name": "enterprise", - "type": "Enterprise", - "kind": "objects", - "id": "enterprise", - "href": "/graphql/reference/objects#enterprise", - "description": "

Look up an enterprise by URL slug.

", - "args": [ - { - "name": "invitationToken", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The enterprise invitation token.

" - }, - { - "name": "slug", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The enterprise URL slug.

" - } - ] - }, - { - "name": "license", - "type": "License", - "kind": "objects", - "id": "license", - "href": "/graphql/reference/objects#license", - "description": "

Look up an open source license by its key.

", - "args": [ - { - "name": "key", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The license's downcased SPDX ID.

" - } - ] - }, - { - "name": "licenses", - "type": "[License]!", - "kind": "objects", - "id": "license", - "href": "/graphql/reference/objects#license", - "description": "

Return a list of known open source licenses.

", - "args": [] - }, - { - "name": "meta", - "type": "GitHubMetadata!", - "kind": "objects", - "id": "githubmetadata", - "href": "/graphql/reference/objects#githubmetadata", - "description": "

Return information about the GitHub instance.

", - "args": [] - }, - { - "name": "node", - "type": "Node", - "kind": "interfaces", - "id": "node", - "href": "/graphql/reference/interfaces#node", - "description": "

Fetches an object given its ID.

", - "args": [ - { - "name": "id", - "type": "ID!", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "description": "

ID of the object.

" - } - ] - }, - { - "name": "nodes", - "type": "[Node]!", - "kind": "interfaces", - "id": "node", - "href": "/graphql/reference/interfaces#node", - "description": "

Lookup nodes by a list of IDs.

", - "args": [ - { - "name": "ids", - "type": "[ID!]!", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "description": "

The list of node IDs.

" - } - ] - }, - { - "name": "organization", - "type": "Organization", - "kind": "objects", - "id": "organization", - "href": "/graphql/reference/objects#organization", - "description": "

Lookup a organization by login.

", - "args": [ - { - "name": "login", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The organization's login.

" - } - ] - }, - { - "name": "rateLimit", - "type": "RateLimit", - "kind": "objects", - "id": "ratelimit", - "href": "/graphql/reference/objects#ratelimit", - "description": "

The client's rate limit information.

", - "args": [ - { - "name": "dryRun", - "defaultValue": false, - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

If true, calculate the cost for the query without evaluating it.

" - } - ] - }, - { - "name": "relay", - "type": "Query!", - "kind": "objects", - "id": "query", - "href": "/graphql/reference/objects#query", - "description": "

Hack to workaround https://github.com/facebook/relay/issues/112 re-exposing the root query object.

", - "args": [] - }, - { - "name": "repository", - "type": "Repository", - "kind": "objects", - "id": "repository", - "href": "/graphql/reference/objects#repository", - "description": "

Lookup a given repository by the owner and repository name.

", - "args": [ - { - "name": "followRenames", - "defaultValue": true, - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

Follow repository renames. If disabled, a repository referenced by its old name will return an error.

" - }, - { - "name": "name", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The name of the repository.

" - }, - { - "name": "owner", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The login field of a user or organization.

" - } - ] - }, - { - "name": "repositoryOwner", - "type": "RepositoryOwner", - "kind": "interfaces", - "id": "repositoryowner", - "href": "/graphql/reference/interfaces#repositoryowner", - "description": "

Lookup a repository owner (ie. either a User or an Organization) by login.

", - "args": [ - { - "name": "login", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The username to lookup the owner by.

" - } - ] - }, - { - "name": "resource", - "type": "UniformResourceLocatable", - "kind": "interfaces", - "id": "uniformresourcelocatable", - "href": "/graphql/reference/interfaces#uniformresourcelocatable", - "description": "

Lookup resource by a URL.

", - "args": [ - { - "name": "url", - "type": "URI!", - "id": "uri", - "kind": "scalars", - "href": "/graphql/reference/scalars#uri", - "description": "

The URL.

" - } - ] - }, - { - "name": "securityAdvisory", - "type": "SecurityAdvisory", - "kind": "objects", - "id": "securityadvisory", - "href": "/graphql/reference/objects#securityadvisory", - "description": "

Fetch a Security Advisory by its GHSA ID.

", - "args": [ - { - "name": "ghsaId", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

GitHub Security Advisory ID.

" - } - ] - }, - { - "name": "topic", - "type": "Topic", - "kind": "objects", - "id": "topic", - "href": "/graphql/reference/objects#topic", - "description": "

Look up a topic by name.

", - "args": [ - { - "name": "name", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The topic's name.

" - } - ] - }, - { - "name": "user", - "type": "User", - "kind": "objects", - "id": "user", - "href": "/graphql/reference/objects#user", - "description": "

Lookup a user by login.

", - "args": [ - { - "name": "login", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The user's login.

" - } - ] - }, - { - "name": "viewer", - "type": "User!", - "kind": "objects", - "id": "user", - "href": "/graphql/reference/objects#user", - "description": "

The currently authenticated user.

", - "args": [] - } - ] - }, + "queries": [ + { + "name": "codeOfConduct", + "type": "CodeOfConduct", + "kind": "objects", + "id": "codeofconduct", + "href": "/graphql/reference/objects#codeofconduct", + "description": "

Look up a code of conduct by its key.

", + "args": [ + { + "name": "key", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The code of conduct's key.

" + } + ] + }, + { + "name": "codesOfConduct", + "type": "[CodeOfConduct]", + "kind": "objects", + "id": "codeofconduct", + "href": "/graphql/reference/objects#codeofconduct", + "description": "

Look up a code of conduct by its key.

", + "args": [] + }, + { + "name": "enterprise", + "type": "Enterprise", + "kind": "objects", + "id": "enterprise", + "href": "/graphql/reference/objects#enterprise", + "description": "

Look up an enterprise by URL slug.

", + "args": [ + { + "name": "invitationToken", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The enterprise invitation token.

" + }, + { + "name": "slug", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The enterprise URL slug.

" + } + ] + }, + { + "name": "license", + "type": "License", + "kind": "objects", + "id": "license", + "href": "/graphql/reference/objects#license", + "description": "

Look up an open source license by its key.

", + "args": [ + { + "name": "key", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The license's downcased SPDX ID.

" + } + ] + }, + { + "name": "licenses", + "type": "[License]!", + "kind": "objects", + "id": "license", + "href": "/graphql/reference/objects#license", + "description": "

Return a list of known open source licenses.

", + "args": [] + }, + { + "name": "meta", + "type": "GitHubMetadata!", + "kind": "objects", + "id": "githubmetadata", + "href": "/graphql/reference/objects#githubmetadata", + "description": "

Return information about the GitHub instance.

", + "args": [] + }, + { + "name": "node", + "type": "Node", + "kind": "interfaces", + "id": "node", + "href": "/graphql/reference/interfaces#node", + "description": "

Fetches an object given its ID.

", + "args": [ + { + "name": "id", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "description": "

ID of the object.

" + } + ] + }, + { + "name": "nodes", + "type": "[Node]!", + "kind": "interfaces", + "id": "node", + "href": "/graphql/reference/interfaces#node", + "description": "

Lookup nodes by a list of IDs.

", + "args": [ + { + "name": "ids", + "type": "[ID!]!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "description": "

The list of node IDs.

" + } + ] + }, + { + "name": "organization", + "type": "Organization", + "kind": "objects", + "id": "organization", + "href": "/graphql/reference/objects#organization", + "description": "

Lookup a organization by login.

", + "args": [ + { + "name": "login", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The organization's login.

" + } + ] + }, + { + "name": "organizations", + "type": "OrganizationConnection!", + "kind": "objects", + "id": "organizationconnection", + "href": "/graphql/reference/objects#organizationconnection", + "description": "

A list of organizations.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + } + ] + }, + { + "name": "rateLimit", + "type": "RateLimit", + "kind": "objects", + "id": "ratelimit", + "href": "/graphql/reference/objects#ratelimit", + "description": "

The client's rate limit information.

", + "args": [ + { + "name": "dryRun", + "defaultValue": false, + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

If true, calculate the cost for the query without evaluating it.

" + } + ] + }, + { + "name": "relay", + "type": "Query!", + "kind": "objects", + "id": "query", + "href": "/graphql/reference/objects#query", + "description": "

Hack to workaround https://github.com/facebook/relay/issues/112 re-exposing the root query object.

", + "args": [] + }, + { + "name": "repository", + "type": "Repository", + "kind": "objects", + "id": "repository", + "href": "/graphql/reference/objects#repository", + "description": "

Lookup a given repository by the owner and repository name.

", + "args": [ + { + "name": "followRenames", + "defaultValue": true, + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

Follow repository renames. If disabled, a repository referenced by its old name will return an error.

" + }, + { + "name": "name", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The name of the repository.

" + }, + { + "name": "owner", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The login field of a user or organization.

" + } + ] + }, + { + "name": "repositoryOwner", + "type": "RepositoryOwner", + "kind": "interfaces", + "id": "repositoryowner", + "href": "/graphql/reference/interfaces#repositoryowner", + "description": "

Lookup a repository owner (ie. either a User or an Organization) by login.

", + "args": [ + { + "name": "login", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The username to lookup the owner by.

" + } + ] + }, + { + "name": "resource", + "type": "UniformResourceLocatable", + "kind": "interfaces", + "id": "uniformresourcelocatable", + "href": "/graphql/reference/interfaces#uniformresourcelocatable", + "description": "

Lookup resource by a URL.

", + "args": [ + { + "name": "url", + "type": "URI!", + "id": "uri", + "kind": "scalars", + "href": "/graphql/reference/scalars#uri", + "description": "

The URL.

" + } + ] + }, + { + "name": "search", + "type": "SearchResultItemConnection!", + "kind": "objects", + "id": "searchresultitemconnection", + "href": "/graphql/reference/objects#searchresultitemconnection", + "description": "

Perform a search across resources.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + }, + { + "name": "query", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The search string to look for.

" + }, + { + "name": "type", + "type": "SearchType!", + "id": "searchtype", + "kind": "enums", + "href": "/graphql/reference/enums#searchtype", + "description": "

The types of search items to search within.

" + } + ] + }, + { + "name": "securityAdvisories", + "type": "SecurityAdvisoryConnection!", + "kind": "objects", + "id": "securityadvisoryconnection", + "href": "/graphql/reference/objects#securityadvisoryconnection", + "description": "

GitHub Security Advisories.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + }, + { + "name": "publishedSince", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime", + "description": "

Filter advisories to those published since a time in the past.

" + }, + { + "name": "updatedSince", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime", + "description": "

Filter advisories to those updated since a time in the past.

" + } + ] + }, + { + "name": "securityAdvisory", + "type": "SecurityAdvisory", + "kind": "objects", + "id": "securityadvisory", + "href": "/graphql/reference/objects#securityadvisory", + "description": "

Fetch a Security Advisory by its GHSA ID.

", + "args": [ + { + "name": "ghsaId", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

GitHub Security Advisory ID.

" + } + ] + }, + { + "name": "securityVulnerabilities", + "type": "SecurityVulnerabilityConnection!", + "kind": "objects", + "id": "securityvulnerabilityconnection", + "href": "/graphql/reference/objects#securityvulnerabilityconnection", + "description": "

Software Vulnerabilities documented by GitHub Security Advisories.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "ecosystem", + "type": "SecurityAdvisoryEcosystem", + "id": "securityadvisoryecosystem", + "kind": "enums", + "href": "/graphql/reference/enums#securityadvisoryecosystem", + "description": "

An ecosystem to filter vulnerabilities by.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + }, + { + "name": "package", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A package name to filter vulnerabilities by.

" + }, + { + "name": "severities", + "type": "[SecurityAdvisorySeverity!]", + "id": "securityadvisoryseverity", + "kind": "enums", + "href": "/graphql/reference/enums#securityadvisoryseverity", + "description": "

A list of severities to filter vulnerabilities by.

" + } + ] + }, + { + "name": "topic", + "type": "Topic", + "kind": "objects", + "id": "topic", + "href": "/graphql/reference/objects#topic", + "description": "

Look up a topic by name.

", + "args": [ + { + "name": "name", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The topic's name.

" + } + ] + }, + { + "name": "user", + "type": "User", + "kind": "objects", + "id": "user", + "href": "/graphql/reference/objects#user", + "description": "

Lookup a user by login.

", + "args": [ + { + "name": "login", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The user's login.

" + } + ] + }, + { + "name": "users", + "type": "UserConnection!", + "kind": "objects", + "id": "userconnection", + "href": "/graphql/reference/objects#userconnection", + "description": "

A list of users.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + } + ] + }, + { + "name": "viewer", + "type": "User!", + "kind": "objects", + "id": "user", + "href": "/graphql/reference/objects#user", + "description": "

The currently authenticated user.

", + "args": [] + } + ], "mutations": [ { "name": "addAssigneesToAssignable", diff --git a/lib/graphql/static/schema-ghes-3.5.json b/lib/graphql/static/schema-ghes-3.5.json index d547d8e251..52b18cf79b 100644 --- a/lib/graphql/static/schema-ghes-3.5.json +++ b/lib/graphql/static/schema-ghes-3.5.json @@ -1,581 +1,577 @@ { - "queries": { - "connections": [ - { - "name": "organizations", - "type": "OrganizationConnection!", - "kind": "objects", - "id": "organizationconnection", - "href": "/graphql/reference/objects#organizationconnection", - "description": "

A list of organizations.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - } - ] - }, - { - "name": "search", - "type": "SearchResultItemConnection!", - "kind": "objects", - "id": "searchresultitemconnection", - "href": "/graphql/reference/objects#searchresultitemconnection", - "description": "

Perform a search across resources.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - }, - { - "name": "query", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The search string to look for.

" - }, - { - "name": "type", - "type": "SearchType!", - "id": "searchtype", - "kind": "enums", - "href": "/graphql/reference/enums#searchtype", - "description": "

The types of search items to search within.

" - } - ] - }, - { - "name": "securityAdvisories", - "type": "SecurityAdvisoryConnection!", - "kind": "objects", - "id": "securityadvisoryconnection", - "href": "/graphql/reference/objects#securityadvisoryconnection", - "description": "

GitHub Security Advisories.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - }, - { - "name": "publishedSince", - "type": "DateTime", - "id": "datetime", - "kind": "scalars", - "href": "/graphql/reference/scalars#datetime", - "description": "

Filter advisories to those published since a time in the past.

" - }, - { - "name": "updatedSince", - "type": "DateTime", - "id": "datetime", - "kind": "scalars", - "href": "/graphql/reference/scalars#datetime", - "description": "

Filter advisories to those updated since a time in the past.

" - } - ] - }, - { - "name": "securityVulnerabilities", - "type": "SecurityVulnerabilityConnection!", - "kind": "objects", - "id": "securityvulnerabilityconnection", - "href": "/graphql/reference/objects#securityvulnerabilityconnection", - "description": "

Software Vulnerabilities documented by GitHub Security Advisories.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "ecosystem", - "type": "SecurityAdvisoryEcosystem", - "id": "securityadvisoryecosystem", - "kind": "enums", - "href": "/graphql/reference/enums#securityadvisoryecosystem", - "description": "

An ecosystem to filter vulnerabilities by.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - }, - { - "name": "package", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

A package name to filter vulnerabilities by.

" - }, - { - "name": "severities", - "type": "[SecurityAdvisorySeverity!]", - "id": "securityadvisoryseverity", - "kind": "enums", - "href": "/graphql/reference/enums#securityadvisoryseverity", - "description": "

A list of severities to filter vulnerabilities by.

" - } - ] - }, - { - "name": "users", - "type": "UserConnection!", - "kind": "objects", - "id": "userconnection", - "href": "/graphql/reference/objects#userconnection", - "description": "

A list of users.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - } - ] - } - ], - "fields": [ - { - "name": "codeOfConduct", - "type": "CodeOfConduct", - "kind": "objects", - "id": "codeofconduct", - "href": "/graphql/reference/objects#codeofconduct", - "description": "

Look up a code of conduct by its key.

", - "args": [ - { - "name": "key", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The code of conduct's key.

" - } - ] - }, - { - "name": "codesOfConduct", - "type": "[CodeOfConduct]", - "kind": "objects", - "id": "codeofconduct", - "href": "/graphql/reference/objects#codeofconduct", - "description": "

Look up a code of conduct by its key.

", - "args": [] - }, - { - "name": "enterprise", - "type": "Enterprise", - "kind": "objects", - "id": "enterprise", - "href": "/graphql/reference/objects#enterprise", - "description": "

Look up an enterprise by URL slug.

", - "args": [ - { - "name": "invitationToken", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The enterprise invitation token.

" - }, - { - "name": "slug", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The enterprise URL slug.

" - } - ] - }, - { - "name": "license", - "type": "License", - "kind": "objects", - "id": "license", - "href": "/graphql/reference/objects#license", - "description": "

Look up an open source license by its key.

", - "args": [ - { - "name": "key", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The license's downcased SPDX ID.

" - } - ] - }, - { - "name": "licenses", - "type": "[License]!", - "kind": "objects", - "id": "license", - "href": "/graphql/reference/objects#license", - "description": "

Return a list of known open source licenses.

", - "args": [] - }, - { - "name": "meta", - "type": "GitHubMetadata!", - "kind": "objects", - "id": "githubmetadata", - "href": "/graphql/reference/objects#githubmetadata", - "description": "

Return information about the GitHub instance.

", - "args": [] - }, - { - "name": "node", - "type": "Node", - "kind": "interfaces", - "id": "node", - "href": "/graphql/reference/interfaces#node", - "description": "

Fetches an object given its ID.

", - "args": [ - { - "name": "id", - "type": "ID!", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "description": "

ID of the object.

" - } - ] - }, - { - "name": "nodes", - "type": "[Node]!", - "kind": "interfaces", - "id": "node", - "href": "/graphql/reference/interfaces#node", - "description": "

Lookup nodes by a list of IDs.

", - "args": [ - { - "name": "ids", - "type": "[ID!]!", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "description": "

The list of node IDs.

" - } - ] - }, - { - "name": "organization", - "type": "Organization", - "kind": "objects", - "id": "organization", - "href": "/graphql/reference/objects#organization", - "description": "

Lookup a organization by login.

", - "args": [ - { - "name": "login", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The organization's login.

" - } - ] - }, - { - "name": "rateLimit", - "type": "RateLimit", - "kind": "objects", - "id": "ratelimit", - "href": "/graphql/reference/objects#ratelimit", - "description": "

The client's rate limit information.

", - "args": [ - { - "name": "dryRun", - "defaultValue": false, - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

If true, calculate the cost for the query without evaluating it.

" - } - ] - }, - { - "name": "relay", - "type": "Query!", - "kind": "objects", - "id": "query", - "href": "/graphql/reference/objects#query", - "description": "

Hack to workaround https://github.com/facebook/relay/issues/112 re-exposing the root query object.

", - "args": [] - }, - { - "name": "repository", - "type": "Repository", - "kind": "objects", - "id": "repository", - "href": "/graphql/reference/objects#repository", - "description": "

Lookup a given repository by the owner and repository name.

", - "args": [ - { - "name": "followRenames", - "defaultValue": true, - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

Follow repository renames. If disabled, a repository referenced by its old name will return an error.

" - }, - { - "name": "name", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The name of the repository.

" - }, - { - "name": "owner", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The login field of a user or organization.

" - } - ] - }, - { - "name": "repositoryOwner", - "type": "RepositoryOwner", - "kind": "interfaces", - "id": "repositoryowner", - "href": "/graphql/reference/interfaces#repositoryowner", - "description": "

Lookup a repository owner (ie. either a User or an Organization) by login.

", - "args": [ - { - "name": "login", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The username to lookup the owner by.

" - } - ] - }, - { - "name": "resource", - "type": "UniformResourceLocatable", - "kind": "interfaces", - "id": "uniformresourcelocatable", - "href": "/graphql/reference/interfaces#uniformresourcelocatable", - "description": "

Lookup resource by a URL.

", - "args": [ - { - "name": "url", - "type": "URI!", - "id": "uri", - "kind": "scalars", - "href": "/graphql/reference/scalars#uri", - "description": "

The URL.

" - } - ] - }, - { - "name": "securityAdvisory", - "type": "SecurityAdvisory", - "kind": "objects", - "id": "securityadvisory", - "href": "/graphql/reference/objects#securityadvisory", - "description": "

Fetch a Security Advisory by its GHSA ID.

", - "args": [ - { - "name": "ghsaId", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

GitHub Security Advisory ID.

" - } - ] - }, - { - "name": "topic", - "type": "Topic", - "kind": "objects", - "id": "topic", - "href": "/graphql/reference/objects#topic", - "description": "

Look up a topic by name.

", - "args": [ - { - "name": "name", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The topic's name.

" - } - ] - }, - { - "name": "user", - "type": "User", - "kind": "objects", - "id": "user", - "href": "/graphql/reference/objects#user", - "description": "

Lookup a user by login.

", - "args": [ - { - "name": "login", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The user's login.

" - } - ] - }, - { - "name": "viewer", - "type": "User!", - "kind": "objects", - "id": "user", - "href": "/graphql/reference/objects#user", - "description": "

The currently authenticated user.

", - "args": [] - } - ] - }, + "queries": [ + { + "name": "codeOfConduct", + "type": "CodeOfConduct", + "kind": "objects", + "id": "codeofconduct", + "href": "/graphql/reference/objects#codeofconduct", + "description": "

Look up a code of conduct by its key.

", + "args": [ + { + "name": "key", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The code of conduct's key.

" + } + ] + }, + { + "name": "codesOfConduct", + "type": "[CodeOfConduct]", + "kind": "objects", + "id": "codeofconduct", + "href": "/graphql/reference/objects#codeofconduct", + "description": "

Look up a code of conduct by its key.

", + "args": [] + }, + { + "name": "enterprise", + "type": "Enterprise", + "kind": "objects", + "id": "enterprise", + "href": "/graphql/reference/objects#enterprise", + "description": "

Look up an enterprise by URL slug.

", + "args": [ + { + "name": "invitationToken", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The enterprise invitation token.

" + }, + { + "name": "slug", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The enterprise URL slug.

" + } + ] + }, + { + "name": "license", + "type": "License", + "kind": "objects", + "id": "license", + "href": "/graphql/reference/objects#license", + "description": "

Look up an open source license by its key.

", + "args": [ + { + "name": "key", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The license's downcased SPDX ID.

" + } + ] + }, + { + "name": "licenses", + "type": "[License]!", + "kind": "objects", + "id": "license", + "href": "/graphql/reference/objects#license", + "description": "

Return a list of known open source licenses.

", + "args": [] + }, + { + "name": "meta", + "type": "GitHubMetadata!", + "kind": "objects", + "id": "githubmetadata", + "href": "/graphql/reference/objects#githubmetadata", + "description": "

Return information about the GitHub instance.

", + "args": [] + }, + { + "name": "node", + "type": "Node", + "kind": "interfaces", + "id": "node", + "href": "/graphql/reference/interfaces#node", + "description": "

Fetches an object given its ID.

", + "args": [ + { + "name": "id", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "description": "

ID of the object.

" + } + ] + }, + { + "name": "nodes", + "type": "[Node]!", + "kind": "interfaces", + "id": "node", + "href": "/graphql/reference/interfaces#node", + "description": "

Lookup nodes by a list of IDs.

", + "args": [ + { + "name": "ids", + "type": "[ID!]!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "description": "

The list of node IDs.

" + } + ] + }, + { + "name": "organization", + "type": "Organization", + "kind": "objects", + "id": "organization", + "href": "/graphql/reference/objects#organization", + "description": "

Lookup a organization by login.

", + "args": [ + { + "name": "login", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The organization's login.

" + } + ] + }, + { + "name": "organizations", + "type": "OrganizationConnection!", + "kind": "objects", + "id": "organizationconnection", + "href": "/graphql/reference/objects#organizationconnection", + "description": "

A list of organizations.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + } + ] + }, + { + "name": "rateLimit", + "type": "RateLimit", + "kind": "objects", + "id": "ratelimit", + "href": "/graphql/reference/objects#ratelimit", + "description": "

The client's rate limit information.

", + "args": [ + { + "name": "dryRun", + "defaultValue": false, + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

If true, calculate the cost for the query without evaluating it.

" + } + ] + }, + { + "name": "relay", + "type": "Query!", + "kind": "objects", + "id": "query", + "href": "/graphql/reference/objects#query", + "description": "

Hack to workaround https://github.com/facebook/relay/issues/112 re-exposing the root query object.

", + "args": [] + }, + { + "name": "repository", + "type": "Repository", + "kind": "objects", + "id": "repository", + "href": "/graphql/reference/objects#repository", + "description": "

Lookup a given repository by the owner and repository name.

", + "args": [ + { + "name": "followRenames", + "defaultValue": true, + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

Follow repository renames. If disabled, a repository referenced by its old name will return an error.

" + }, + { + "name": "name", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The name of the repository.

" + }, + { + "name": "owner", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The login field of a user or organization.

" + } + ] + }, + { + "name": "repositoryOwner", + "type": "RepositoryOwner", + "kind": "interfaces", + "id": "repositoryowner", + "href": "/graphql/reference/interfaces#repositoryowner", + "description": "

Lookup a repository owner (ie. either a User or an Organization) by login.

", + "args": [ + { + "name": "login", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The username to lookup the owner by.

" + } + ] + }, + { + "name": "resource", + "type": "UniformResourceLocatable", + "kind": "interfaces", + "id": "uniformresourcelocatable", + "href": "/graphql/reference/interfaces#uniformresourcelocatable", + "description": "

Lookup resource by a URL.

", + "args": [ + { + "name": "url", + "type": "URI!", + "id": "uri", + "kind": "scalars", + "href": "/graphql/reference/scalars#uri", + "description": "

The URL.

" + } + ] + }, + { + "name": "search", + "type": "SearchResultItemConnection!", + "kind": "objects", + "id": "searchresultitemconnection", + "href": "/graphql/reference/objects#searchresultitemconnection", + "description": "

Perform a search across resources.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + }, + { + "name": "query", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The search string to look for.

" + }, + { + "name": "type", + "type": "SearchType!", + "id": "searchtype", + "kind": "enums", + "href": "/graphql/reference/enums#searchtype", + "description": "

The types of search items to search within.

" + } + ] + }, + { + "name": "securityAdvisories", + "type": "SecurityAdvisoryConnection!", + "kind": "objects", + "id": "securityadvisoryconnection", + "href": "/graphql/reference/objects#securityadvisoryconnection", + "description": "

GitHub Security Advisories.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + }, + { + "name": "publishedSince", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime", + "description": "

Filter advisories to those published since a time in the past.

" + }, + { + "name": "updatedSince", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime", + "description": "

Filter advisories to those updated since a time in the past.

" + } + ] + }, + { + "name": "securityAdvisory", + "type": "SecurityAdvisory", + "kind": "objects", + "id": "securityadvisory", + "href": "/graphql/reference/objects#securityadvisory", + "description": "

Fetch a Security Advisory by its GHSA ID.

", + "args": [ + { + "name": "ghsaId", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

GitHub Security Advisory ID.

" + } + ] + }, + { + "name": "securityVulnerabilities", + "type": "SecurityVulnerabilityConnection!", + "kind": "objects", + "id": "securityvulnerabilityconnection", + "href": "/graphql/reference/objects#securityvulnerabilityconnection", + "description": "

Software Vulnerabilities documented by GitHub Security Advisories.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "ecosystem", + "type": "SecurityAdvisoryEcosystem", + "id": "securityadvisoryecosystem", + "kind": "enums", + "href": "/graphql/reference/enums#securityadvisoryecosystem", + "description": "

An ecosystem to filter vulnerabilities by.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + }, + { + "name": "package", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A package name to filter vulnerabilities by.

" + }, + { + "name": "severities", + "type": "[SecurityAdvisorySeverity!]", + "id": "securityadvisoryseverity", + "kind": "enums", + "href": "/graphql/reference/enums#securityadvisoryseverity", + "description": "

A list of severities to filter vulnerabilities by.

" + } + ] + }, + { + "name": "topic", + "type": "Topic", + "kind": "objects", + "id": "topic", + "href": "/graphql/reference/objects#topic", + "description": "

Look up a topic by name.

", + "args": [ + { + "name": "name", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The topic's name.

" + } + ] + }, + { + "name": "user", + "type": "User", + "kind": "objects", + "id": "user", + "href": "/graphql/reference/objects#user", + "description": "

Lookup a user by login.

", + "args": [ + { + "name": "login", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The user's login.

" + } + ] + }, + { + "name": "users", + "type": "UserConnection!", + "kind": "objects", + "id": "userconnection", + "href": "/graphql/reference/objects#userconnection", + "description": "

A list of users.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + } + ] + }, + { + "name": "viewer", + "type": "User!", + "kind": "objects", + "id": "user", + "href": "/graphql/reference/objects#user", + "description": "

The currently authenticated user.

", + "args": [] + } + ], "mutations": [ { "name": "abortQueuedMigrations", diff --git a/lib/graphql/static/schema-ghes-3.6.json b/lib/graphql/static/schema-ghes-3.6.json index 363e8291d8..a844450d2d 100644 --- a/lib/graphql/static/schema-ghes-3.6.json +++ b/lib/graphql/static/schema-ghes-3.6.json @@ -1,597 +1,593 @@ { - "queries": { - "connections": [ - { - "name": "organizations", - "type": "OrganizationConnection!", - "kind": "objects", - "id": "organizationconnection", - "href": "/graphql/reference/objects#organizationconnection", - "description": "

A list of organizations.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - } - ] - }, - { - "name": "search", - "type": "SearchResultItemConnection!", - "kind": "objects", - "id": "searchresultitemconnection", - "href": "/graphql/reference/objects#searchresultitemconnection", - "description": "

Perform a search across resources.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - }, - { - "name": "query", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The search string to look for.

" - }, - { - "name": "type", - "type": "SearchType!", - "id": "searchtype", - "kind": "enums", - "href": "/graphql/reference/enums#searchtype", - "description": "

The types of search items to search within.

" - } - ] - }, - { - "name": "securityAdvisories", - "type": "SecurityAdvisoryConnection!", - "kind": "objects", - "id": "securityadvisoryconnection", - "href": "/graphql/reference/objects#securityadvisoryconnection", - "description": "

GitHub Security Advisories.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "classifications", - "type": "[SecurityAdvisoryClassification!]", - "id": "securityadvisoryclassification", - "kind": "enums", - "href": "/graphql/reference/enums#securityadvisoryclassification", - "description": "

A list of classifications to filter advisories by.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - }, - { - "name": "publishedSince", - "type": "DateTime", - "id": "datetime", - "kind": "scalars", - "href": "/graphql/reference/scalars#datetime", - "description": "

Filter advisories to those published since a time in the past.

" - }, - { - "name": "updatedSince", - "type": "DateTime", - "id": "datetime", - "kind": "scalars", - "href": "/graphql/reference/scalars#datetime", - "description": "

Filter advisories to those updated since a time in the past.

" - } - ] - }, - { - "name": "securityVulnerabilities", - "type": "SecurityVulnerabilityConnection!", - "kind": "objects", - "id": "securityvulnerabilityconnection", - "href": "/graphql/reference/objects#securityvulnerabilityconnection", - "description": "

Software Vulnerabilities documented by GitHub Security Advisories.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "classifications", - "type": "[SecurityAdvisoryClassification!]", - "id": "securityadvisoryclassification", - "kind": "enums", - "href": "/graphql/reference/enums#securityadvisoryclassification", - "description": "

A list of advisory classifications to filter vulnerabilities by.

" - }, - { - "name": "ecosystem", - "type": "SecurityAdvisoryEcosystem", - "id": "securityadvisoryecosystem", - "kind": "enums", - "href": "/graphql/reference/enums#securityadvisoryecosystem", - "description": "

An ecosystem to filter vulnerabilities by.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - }, - { - "name": "package", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

A package name to filter vulnerabilities by.

" - }, - { - "name": "severities", - "type": "[SecurityAdvisorySeverity!]", - "id": "securityadvisoryseverity", - "kind": "enums", - "href": "/graphql/reference/enums#securityadvisoryseverity", - "description": "

A list of severities to filter vulnerabilities by.

" - } - ] - }, - { - "name": "users", - "type": "UserConnection!", - "kind": "objects", - "id": "userconnection", - "href": "/graphql/reference/objects#userconnection", - "description": "

A list of users.

", - "args": [ - { - "name": "after", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come after the specified cursor.

" - }, - { - "name": "before", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

Returns the elements in the list that come before the specified cursor.

" - }, - { - "name": "first", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the first n elements from the list.

" - }, - { - "name": "last", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int", - "description": "

Returns the last n elements from the list.

" - } - ] - } - ], - "fields": [ - { - "name": "codeOfConduct", - "type": "CodeOfConduct", - "kind": "objects", - "id": "codeofconduct", - "href": "/graphql/reference/objects#codeofconduct", - "description": "

Look up a code of conduct by its key.

", - "args": [ - { - "name": "key", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The code of conduct's key.

" - } - ] - }, - { - "name": "codesOfConduct", - "type": "[CodeOfConduct]", - "kind": "objects", - "id": "codeofconduct", - "href": "/graphql/reference/objects#codeofconduct", - "description": "

Look up a code of conduct by its key.

", - "args": [] - }, - { - "name": "enterprise", - "type": "Enterprise", - "kind": "objects", - "id": "enterprise", - "href": "/graphql/reference/objects#enterprise", - "description": "

Look up an enterprise by URL slug.

", - "args": [ - { - "name": "invitationToken", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The enterprise invitation token.

" - }, - { - "name": "slug", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The enterprise URL slug.

" - } - ] - }, - { - "name": "license", - "type": "License", - "kind": "objects", - "id": "license", - "href": "/graphql/reference/objects#license", - "description": "

Look up an open source license by its key.

", - "args": [ - { - "name": "key", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The license's downcased SPDX ID.

" - } - ] - }, - { - "name": "licenses", - "type": "[License]!", - "kind": "objects", - "id": "license", - "href": "/graphql/reference/objects#license", - "description": "

Return a list of known open source licenses.

", - "args": [] - }, - { - "name": "meta", - "type": "GitHubMetadata!", - "kind": "objects", - "id": "githubmetadata", - "href": "/graphql/reference/objects#githubmetadata", - "description": "

Return information about the GitHub instance.

", - "args": [] - }, - { - "name": "node", - "type": "Node", - "kind": "interfaces", - "id": "node", - "href": "/graphql/reference/interfaces#node", - "description": "

Fetches an object given its ID.

", - "args": [ - { - "name": "id", - "type": "ID!", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "description": "

ID of the object.

" - } - ] - }, - { - "name": "nodes", - "type": "[Node]!", - "kind": "interfaces", - "id": "node", - "href": "/graphql/reference/interfaces#node", - "description": "

Lookup nodes by a list of IDs.

", - "args": [ - { - "name": "ids", - "type": "[ID!]!", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "description": "

The list of node IDs.

" - } - ] - }, - { - "name": "organization", - "type": "Organization", - "kind": "objects", - "id": "organization", - "href": "/graphql/reference/objects#organization", - "description": "

Lookup a organization by login.

", - "args": [ - { - "name": "login", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The organization's login.

" - } - ] - }, - { - "name": "rateLimit", - "type": "RateLimit", - "kind": "objects", - "id": "ratelimit", - "href": "/graphql/reference/objects#ratelimit", - "description": "

The client's rate limit information.

", - "args": [ - { - "name": "dryRun", - "defaultValue": false, - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

If true, calculate the cost for the query without evaluating it.

" - } - ] - }, - { - "name": "relay", - "type": "Query!", - "kind": "objects", - "id": "query", - "href": "/graphql/reference/objects#query", - "description": "

Hack to workaround https://github.com/facebook/relay/issues/112 re-exposing the root query object.

", - "args": [] - }, - { - "name": "repository", - "type": "Repository", - "kind": "objects", - "id": "repository", - "href": "/graphql/reference/objects#repository", - "description": "

Lookup a given repository by the owner and repository name.

", - "args": [ - { - "name": "followRenames", - "defaultValue": true, - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean", - "description": "

Follow repository renames. If disabled, a repository referenced by its old name will return an error.

" - }, - { - "name": "name", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The name of the repository.

" - }, - { - "name": "owner", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The login field of a user or organization.

" - } - ] - }, - { - "name": "repositoryOwner", - "type": "RepositoryOwner", - "kind": "interfaces", - "id": "repositoryowner", - "href": "/graphql/reference/interfaces#repositoryowner", - "description": "

Lookup a repository owner (ie. either a User or an Organization) by login.

", - "args": [ - { - "name": "login", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The username to lookup the owner by.

" - } - ] - }, - { - "name": "resource", - "type": "UniformResourceLocatable", - "kind": "interfaces", - "id": "uniformresourcelocatable", - "href": "/graphql/reference/interfaces#uniformresourcelocatable", - "description": "

Lookup resource by a URL.

", - "args": [ - { - "name": "url", - "type": "URI!", - "id": "uri", - "kind": "scalars", - "href": "/graphql/reference/scalars#uri", - "description": "

The URL.

" - } - ] - }, - { - "name": "securityAdvisory", - "type": "SecurityAdvisory", - "kind": "objects", - "id": "securityadvisory", - "href": "/graphql/reference/objects#securityadvisory", - "description": "

Fetch a Security Advisory by its GHSA ID.

", - "args": [ - { - "name": "ghsaId", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

GitHub Security Advisory ID.

" - } - ] - }, - { - "name": "topic", - "type": "Topic", - "kind": "objects", - "id": "topic", - "href": "/graphql/reference/objects#topic", - "description": "

Look up a topic by name.

", - "args": [ - { - "name": "name", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The topic's name.

" - } - ] - }, - { - "name": "user", - "type": "User", - "kind": "objects", - "id": "user", - "href": "/graphql/reference/objects#user", - "description": "

Lookup a user by login.

", - "args": [ - { - "name": "login", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "

The user's login.

" - } - ] - }, - { - "name": "viewer", - "type": "User!", - "kind": "objects", - "id": "user", - "href": "/graphql/reference/objects#user", - "description": "

The currently authenticated user.

", - "args": [] - } - ] - }, + "queries": [ + { + "name": "codeOfConduct", + "type": "CodeOfConduct", + "kind": "objects", + "id": "codeofconduct", + "href": "/graphql/reference/objects#codeofconduct", + "description": "

Look up a code of conduct by its key.

", + "args": [ + { + "name": "key", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The code of conduct's key.

" + } + ] + }, + { + "name": "codesOfConduct", + "type": "[CodeOfConduct]", + "kind": "objects", + "id": "codeofconduct", + "href": "/graphql/reference/objects#codeofconduct", + "description": "

Look up a code of conduct by its key.

", + "args": [] + }, + { + "name": "enterprise", + "type": "Enterprise", + "kind": "objects", + "id": "enterprise", + "href": "/graphql/reference/objects#enterprise", + "description": "

Look up an enterprise by URL slug.

", + "args": [ + { + "name": "invitationToken", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The enterprise invitation token.

" + }, + { + "name": "slug", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The enterprise URL slug.

" + } + ] + }, + { + "name": "license", + "type": "License", + "kind": "objects", + "id": "license", + "href": "/graphql/reference/objects#license", + "description": "

Look up an open source license by its key.

", + "args": [ + { + "name": "key", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The license's downcased SPDX ID.

" + } + ] + }, + { + "name": "licenses", + "type": "[License]!", + "kind": "objects", + "id": "license", + "href": "/graphql/reference/objects#license", + "description": "

Return a list of known open source licenses.

", + "args": [] + }, + { + "name": "meta", + "type": "GitHubMetadata!", + "kind": "objects", + "id": "githubmetadata", + "href": "/graphql/reference/objects#githubmetadata", + "description": "

Return information about the GitHub instance.

", + "args": [] + }, + { + "name": "node", + "type": "Node", + "kind": "interfaces", + "id": "node", + "href": "/graphql/reference/interfaces#node", + "description": "

Fetches an object given its ID.

", + "args": [ + { + "name": "id", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "description": "

ID of the object.

" + } + ] + }, + { + "name": "nodes", + "type": "[Node]!", + "kind": "interfaces", + "id": "node", + "href": "/graphql/reference/interfaces#node", + "description": "

Lookup nodes by a list of IDs.

", + "args": [ + { + "name": "ids", + "type": "[ID!]!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "description": "

The list of node IDs.

" + } + ] + }, + { + "name": "organization", + "type": "Organization", + "kind": "objects", + "id": "organization", + "href": "/graphql/reference/objects#organization", + "description": "

Lookup a organization by login.

", + "args": [ + { + "name": "login", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The organization's login.

" + } + ] + }, + { + "name": "organizations", + "type": "OrganizationConnection!", + "kind": "objects", + "id": "organizationconnection", + "href": "/graphql/reference/objects#organizationconnection", + "description": "

A list of organizations.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + } + ] + }, + { + "name": "rateLimit", + "type": "RateLimit", + "kind": "objects", + "id": "ratelimit", + "href": "/graphql/reference/objects#ratelimit", + "description": "

The client's rate limit information.

", + "args": [ + { + "name": "dryRun", + "defaultValue": false, + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

If true, calculate the cost for the query without evaluating it.

" + } + ] + }, + { + "name": "relay", + "type": "Query!", + "kind": "objects", + "id": "query", + "href": "/graphql/reference/objects#query", + "description": "

Hack to workaround https://github.com/facebook/relay/issues/112 re-exposing the root query object.

", + "args": [] + }, + { + "name": "repository", + "type": "Repository", + "kind": "objects", + "id": "repository", + "href": "/graphql/reference/objects#repository", + "description": "

Lookup a given repository by the owner and repository name.

", + "args": [ + { + "name": "followRenames", + "defaultValue": true, + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean", + "description": "

Follow repository renames. If disabled, a repository referenced by its old name will return an error.

" + }, + { + "name": "name", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The name of the repository.

" + }, + { + "name": "owner", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The login field of a user or organization.

" + } + ] + }, + { + "name": "repositoryOwner", + "type": "RepositoryOwner", + "kind": "interfaces", + "id": "repositoryowner", + "href": "/graphql/reference/interfaces#repositoryowner", + "description": "

Lookup a repository owner (ie. either a User or an Organization) by login.

", + "args": [ + { + "name": "login", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The username to lookup the owner by.

" + } + ] + }, + { + "name": "resource", + "type": "UniformResourceLocatable", + "kind": "interfaces", + "id": "uniformresourcelocatable", + "href": "/graphql/reference/interfaces#uniformresourcelocatable", + "description": "

Lookup resource by a URL.

", + "args": [ + { + "name": "url", + "type": "URI!", + "id": "uri", + "kind": "scalars", + "href": "/graphql/reference/scalars#uri", + "description": "

The URL.

" + } + ] + }, + { + "name": "search", + "type": "SearchResultItemConnection!", + "kind": "objects", + "id": "searchresultitemconnection", + "href": "/graphql/reference/objects#searchresultitemconnection", + "description": "

Perform a search across resources.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + }, + { + "name": "query", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The search string to look for.

" + }, + { + "name": "type", + "type": "SearchType!", + "id": "searchtype", + "kind": "enums", + "href": "/graphql/reference/enums#searchtype", + "description": "

The types of search items to search within.

" + } + ] + }, + { + "name": "securityAdvisories", + "type": "SecurityAdvisoryConnection!", + "kind": "objects", + "id": "securityadvisoryconnection", + "href": "/graphql/reference/objects#securityadvisoryconnection", + "description": "

GitHub Security Advisories.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "classifications", + "type": "[SecurityAdvisoryClassification!]", + "id": "securityadvisoryclassification", + "kind": "enums", + "href": "/graphql/reference/enums#securityadvisoryclassification", + "description": "

A list of classifications to filter advisories by.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + }, + { + "name": "publishedSince", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime", + "description": "

Filter advisories to those published since a time in the past.

" + }, + { + "name": "updatedSince", + "type": "DateTime", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime", + "description": "

Filter advisories to those updated since a time in the past.

" + } + ] + }, + { + "name": "securityAdvisory", + "type": "SecurityAdvisory", + "kind": "objects", + "id": "securityadvisory", + "href": "/graphql/reference/objects#securityadvisory", + "description": "

Fetch a Security Advisory by its GHSA ID.

", + "args": [ + { + "name": "ghsaId", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

GitHub Security Advisory ID.

" + } + ] + }, + { + "name": "securityVulnerabilities", + "type": "SecurityVulnerabilityConnection!", + "kind": "objects", + "id": "securityvulnerabilityconnection", + "href": "/graphql/reference/objects#securityvulnerabilityconnection", + "description": "

Software Vulnerabilities documented by GitHub Security Advisories.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "classifications", + "type": "[SecurityAdvisoryClassification!]", + "id": "securityadvisoryclassification", + "kind": "enums", + "href": "/graphql/reference/enums#securityadvisoryclassification", + "description": "

A list of advisory classifications to filter vulnerabilities by.

" + }, + { + "name": "ecosystem", + "type": "SecurityAdvisoryEcosystem", + "id": "securityadvisoryecosystem", + "kind": "enums", + "href": "/graphql/reference/enums#securityadvisoryecosystem", + "description": "

An ecosystem to filter vulnerabilities by.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + }, + { + "name": "package", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A package name to filter vulnerabilities by.

" + }, + { + "name": "severities", + "type": "[SecurityAdvisorySeverity!]", + "id": "securityadvisoryseverity", + "kind": "enums", + "href": "/graphql/reference/enums#securityadvisoryseverity", + "description": "

A list of severities to filter vulnerabilities by.

" + } + ] + }, + { + "name": "topic", + "type": "Topic", + "kind": "objects", + "id": "topic", + "href": "/graphql/reference/objects#topic", + "description": "

Look up a topic by name.

", + "args": [ + { + "name": "name", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The topic's name.

" + } + ] + }, + { + "name": "user", + "type": "User", + "kind": "objects", + "id": "user", + "href": "/graphql/reference/objects#user", + "description": "

Lookup a user by login.

", + "args": [ + { + "name": "login", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

The user's login.

" + } + ] + }, + { + "name": "users", + "type": "UserConnection!", + "kind": "objects", + "id": "userconnection", + "href": "/graphql/reference/objects#userconnection", + "description": "

A list of users.

", + "args": [ + { + "name": "after", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come after the specified cursor.

" + }, + { + "name": "before", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

Returns the elements in the list that come before the specified cursor.

" + }, + { + "name": "first", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the first n elements from the list.

" + }, + { + "name": "last", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int", + "description": "

Returns the last n elements from the list.

" + } + ] + }, + { + "name": "viewer", + "type": "User!", + "kind": "objects", + "id": "user", + "href": "/graphql/reference/objects#user", + "description": "

The currently authenticated user.

", + "args": [] + } + ], "mutations": [ { "name": "abortQueuedMigrations", @@ -75678,7 +75674,7 @@ }, { "name": "Boolean", - "description": "Represents `true` or `false` values.", + "description": "

Represents true or false values.

", "id": "boolean", "href": "/graphql/reference/scalars#boolean" }, @@ -75698,7 +75694,7 @@ }, { "name": "Float", - "description": "Represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).", + "description": "

Represents signed double-precision fractional values as specified by IEEE 754.

", "id": "float", "href": "/graphql/reference/scalars#float" }, @@ -75755,13 +75751,13 @@ }, { "name": "ID", - "description": "Represents a unique identifier that is Base64 obfuscated. It is often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"VXNlci0xMA==\"`) or integer (such as `4`) input value will be accepted as an ID.", + "description": "

Represents a unique identifier that is Base64 obfuscated. It is often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as \"VXNlci0xMA==\") or integer (such as 4) input value will be accepted as an ID.

", "id": "id", "href": "/graphql/reference/scalars#id" }, { "name": "Int", - "description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.", + "description": "

Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

", "id": "int", "href": "/graphql/reference/scalars#int" }, @@ -75774,7 +75770,7 @@ }, { "name": "String", - "description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text.", + "description": "

Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text.

", "id": "string", "href": "/graphql/reference/scalars#string" }, diff --git a/lib/graphql/validator.js b/lib/graphql/validator.js index 04504e9bce..a0f0ea9a9f 100644 --- a/lib/graphql/validator.js +++ b/lib/graphql/validator.js @@ -129,9 +129,8 @@ delete corePropsNoType.properties.type const corePropsNoDescription = dup(coreProps) delete corePropsNoDescription.properties.description -// QUERY CONNECTIONS AND FIELDS -const queryConnections = corePropsPlusArgs -const queryFields = corePropsPlusArgs +// QUERIES +const queries = dup(corePropsPlusArgs) // MUTATIONS const mutations = dup(corePropsNoType) @@ -243,8 +242,7 @@ function dup(obj) { } export const schemaValidator = { - queryConnections, - queryFields, + queries, mutations, objects, interfaces, diff --git a/lib/rest/static/decorated/api.github.com.json b/lib/rest/static/decorated/api.github.com.json index 1def9a508d..3eaf0ae35c 100644 --- a/lib/rest/static/decorated/api.github.com.json +++ b/lib/rest/static/decorated/api.github.com.json @@ -282951,8 +282951,8 @@ } } ], + "descriptionHTML": "", "previews": [], - "descriptionHTML": "

Note: This was previously /gists/:gist_id/fork.

", "statusCodes": [ { "httpStatusCode": "201", diff --git a/lib/rest/static/decorated/ghes-3.2.json b/lib/rest/static/decorated/ghes-3.2.json index d0b8a29714..6f3855f240 100644 --- a/lib/rest/static/decorated/ghes-3.2.json +++ b/lib/rest/static/decorated/ghes-3.2.json @@ -214252,8 +214252,8 @@ } } ], + "descriptionHTML": "", "previews": [], - "descriptionHTML": "

Note: This was previously /gists/:gist_id/fork.

", "statusCodes": [ { "httpStatusCode": "201", diff --git a/lib/rest/static/decorated/ghes-3.3.json b/lib/rest/static/decorated/ghes-3.3.json index edf6f128f1..45828964de 100644 --- a/lib/rest/static/decorated/ghes-3.3.json +++ b/lib/rest/static/decorated/ghes-3.3.json @@ -215364,8 +215364,8 @@ } } ], + "descriptionHTML": "", "previews": [], - "descriptionHTML": "

Note: This was previously /gists/:gist_id/fork.

", "statusCodes": [ { "httpStatusCode": "201", diff --git a/lib/rest/static/decorated/ghes-3.4.json b/lib/rest/static/decorated/ghes-3.4.json index bd749b3459..46a9625837 100644 --- a/lib/rest/static/decorated/ghes-3.4.json +++ b/lib/rest/static/decorated/ghes-3.4.json @@ -223319,8 +223319,8 @@ } } ], + "descriptionHTML": "", "previews": [], - "descriptionHTML": "

Note: This was previously /gists/:gist_id/fork.

", "statusCodes": [ { "httpStatusCode": "201", diff --git a/lib/rest/static/decorated/ghes-3.5.json b/lib/rest/static/decorated/ghes-3.5.json index 12f09e8284..b771a9a269 100644 --- a/lib/rest/static/decorated/ghes-3.5.json +++ b/lib/rest/static/decorated/ghes-3.5.json @@ -233310,8 +233310,8 @@ } } ], + "descriptionHTML": "", "previews": [], - "descriptionHTML": "

Note: This was previously /gists/:gist_id/fork.

", "statusCodes": [ { "httpStatusCode": "201", diff --git a/lib/rest/static/decorated/ghes-3.6.json b/lib/rest/static/decorated/ghes-3.6.json index 2a66281da6..8fbf8fdf73 100644 --- a/lib/rest/static/decorated/ghes-3.6.json +++ b/lib/rest/static/decorated/ghes-3.6.json @@ -234588,8 +234588,8 @@ } } ], + "descriptionHTML": "", "previews": [], - "descriptionHTML": "

Note: This was previously /gists/:gist_id/fork.

", "statusCodes": [ { "httpStatusCode": "201", diff --git a/lib/rest/static/decorated/github.ae.json b/lib/rest/static/decorated/github.ae.json index b59b3335fd..4cd8b7a224 100644 --- a/lib/rest/static/decorated/github.ae.json +++ b/lib/rest/static/decorated/github.ae.json @@ -188787,8 +188787,8 @@ } } ], + "descriptionHTML": "", "previews": [], - "descriptionHTML": "

Note: This was previously /gists/:gist_id/fork.

", "statusCodes": [ { "httpStatusCode": "201", diff --git a/lib/rest/static/dereferenced/api.github.com.deref.json b/lib/rest/static/dereferenced/api.github.com.deref.json index 27b7115e31..1601df6798 100644 --- a/lib/rest/static/dereferenced/api.github.com.deref.json +++ b/lib/rest/static/dereferenced/api.github.com.deref.json @@ -37643,7 +37643,7 @@ }, "post": { "summary": "Fork a gist", - "description": "**Note**: This was previously `/gists/:gist_id/fork`.", + "description": "", "tags": [ "gists" ], diff --git a/lib/rest/static/dereferenced/ghes-3.2.deref.json b/lib/rest/static/dereferenced/ghes-3.2.deref.json index 6cbf9da19a..8a49b1343c 100644 --- a/lib/rest/static/dereferenced/ghes-3.2.deref.json +++ b/lib/rest/static/dereferenced/ghes-3.2.deref.json @@ -50267,7 +50267,7 @@ }, "post": { "summary": "Fork a gist", - "description": "**Note**: This was previously `/gists/:gist_id/fork`.", + "description": "", "tags": [ "gists" ], diff --git a/lib/rest/static/dereferenced/ghes-3.3.deref.json b/lib/rest/static/dereferenced/ghes-3.3.deref.json index 521ad86a46..78cd522afa 100644 --- a/lib/rest/static/dereferenced/ghes-3.3.deref.json +++ b/lib/rest/static/dereferenced/ghes-3.3.deref.json @@ -50561,7 +50561,7 @@ }, "post": { "summary": "Fork a gist", - "description": "**Note**: This was previously `/gists/:gist_id/fork`.", + "description": "", "tags": [ "gists" ], diff --git a/lib/rest/static/dereferenced/ghes-3.4.deref.json b/lib/rest/static/dereferenced/ghes-3.4.deref.json index 4258827edd..68e5b7271c 100644 --- a/lib/rest/static/dereferenced/ghes-3.4.deref.json +++ b/lib/rest/static/dereferenced/ghes-3.4.deref.json @@ -50803,7 +50803,7 @@ }, "post": { "summary": "Fork a gist", - "description": "**Note**: This was previously `/gists/:gist_id/fork`.", + "description": "", "tags": [ "gists" ], diff --git a/lib/rest/static/dereferenced/ghes-3.5.deref.json b/lib/rest/static/dereferenced/ghes-3.5.deref.json index 400452b044..d056b64af5 100644 --- a/lib/rest/static/dereferenced/ghes-3.5.deref.json +++ b/lib/rest/static/dereferenced/ghes-3.5.deref.json @@ -51173,7 +51173,7 @@ }, "post": { "summary": "Fork a gist", - "description": "**Note**: This was previously `/gists/:gist_id/fork`.", + "description": "", "tags": [ "gists" ], diff --git a/lib/rest/static/dereferenced/ghes-3.6.deref.json b/lib/rest/static/dereferenced/ghes-3.6.deref.json index 7481c3be07..528b01febd 100644 --- a/lib/rest/static/dereferenced/ghes-3.6.deref.json +++ b/lib/rest/static/dereferenced/ghes-3.6.deref.json @@ -51587,7 +51587,7 @@ }, "post": { "summary": "Fork a gist", - "description": "**Note**: This was previously `/gists/:gist_id/fork`.", + "description": "", "tags": [ "gists" ], diff --git a/lib/rest/static/dereferenced/github.ae.deref.json b/lib/rest/static/dereferenced/github.ae.deref.json index 3f75d597b2..8d46f73400 100644 --- a/lib/rest/static/dereferenced/github.ae.deref.json +++ b/lib/rest/static/dereferenced/github.ae.deref.json @@ -33504,7 +33504,7 @@ }, "post": { "summary": "Fork a gist", - "description": "**Note**: This was previously `/gists/:gist_id/fork`.", + "description": "", "tags": [ "gists" ], diff --git a/lib/search/indexes/github-docs-3.2-cn-records.json.br b/lib/search/indexes/github-docs-3.2-cn-records.json.br index 69fc6ef252..71819e4099 100644 --- a/lib/search/indexes/github-docs-3.2-cn-records.json.br +++ b/lib/search/indexes/github-docs-3.2-cn-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0a6877a3b154e7b5329e840ddb2aeb666f7e3e6e78866f74d9a71ab39a677d78 -size 791363 +oid sha256:d8a4fc55647c6be68cacf109e8fe608303a10520651033d79117a7fe44269bd0 +size 791370 diff --git a/lib/search/indexes/github-docs-3.2-cn.json.br b/lib/search/indexes/github-docs-3.2-cn.json.br index 514946b208..63d5c49aff 100644 --- a/lib/search/indexes/github-docs-3.2-cn.json.br +++ b/lib/search/indexes/github-docs-3.2-cn.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7324d359c2b5983634ff82b37b04f2f8e708ebb443ee1e9902505d933d173e82 -size 1622397 +oid sha256:e7e5d32bd81eee181279fe1d6ef29ec6bb80a7d817537e7cbe58bafe11f582b1 +size 1622104 diff --git a/lib/search/indexes/github-docs-3.2-en-records.json.br b/lib/search/indexes/github-docs-3.2-en-records.json.br index f8e5fa0c34..6e83babcbf 100644 --- a/lib/search/indexes/github-docs-3.2-en-records.json.br +++ b/lib/search/indexes/github-docs-3.2-en-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:63e60cc4bd3c895dbdcea3366f9b51f5632d556e75f72d5509a8ae6075af43e6 -size 1086864 +oid sha256:69a2991887121fba9bb074b5a9aad00f557ba6b29fa965d1325b5031bc2a1d40 +size 1086799 diff --git a/lib/search/indexes/github-docs-3.2-en.json.br b/lib/search/indexes/github-docs-3.2-en.json.br index 2ce0eeb1f7..9e77cc06a8 100644 --- a/lib/search/indexes/github-docs-3.2-en.json.br +++ b/lib/search/indexes/github-docs-3.2-en.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:dffdf5634e746adc0a4801a503c77d58e5a5c92a04387b52c7612ca84e193872 -size 4393689 +oid sha256:0fea321095961cf26c8a3a124ea397c2d0c78af1c8cca051009b6c6ba60a42df +size 4394644 diff --git a/lib/search/indexes/github-docs-3.2-es-records.json.br b/lib/search/indexes/github-docs-3.2-es-records.json.br index a82fec0b47..da276b6424 100644 --- a/lib/search/indexes/github-docs-3.2-es-records.json.br +++ b/lib/search/indexes/github-docs-3.2-es-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5d866749eaabd742f93a83542dc8caaa54e622f96cf38f45f0daa02c49208d3a -size 730965 +oid sha256:c1bf39df0af169eda4fdac5d8b2f6942f0fa2b5af6e250d360ed1981b4038927 +size 730863 diff --git a/lib/search/indexes/github-docs-3.2-es.json.br b/lib/search/indexes/github-docs-3.2-es.json.br index 6747674ff0..5e367cb1c8 100644 --- a/lib/search/indexes/github-docs-3.2-es.json.br +++ b/lib/search/indexes/github-docs-3.2-es.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d5b916a3c777e0ca34e710dc9bba4c2bddb2dfc1824becaa0a29da83656324b2 -size 3106136 +oid sha256:3e006faafbb5cc5892e4befd55d093b5ffb8a66221fbae4b88123654c1b737b9 +size 3106455 diff --git a/lib/search/indexes/github-docs-3.2-ja-records.json.br b/lib/search/indexes/github-docs-3.2-ja-records.json.br index f0a331b499..91af574249 100644 --- a/lib/search/indexes/github-docs-3.2-ja-records.json.br +++ b/lib/search/indexes/github-docs-3.2-ja-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e07d3a5a6c4256ce49df541fa332014412078a9aeefb6045d1798db49308e5de -size 805989 +oid sha256:aaa16c45885e286a1ebb8bde53ac6a2461f4627e675bf82ae68d3bc26e15046a +size 806007 diff --git a/lib/search/indexes/github-docs-3.2-ja.json.br b/lib/search/indexes/github-docs-3.2-ja.json.br index 3b6274cc4f..3f54336542 100644 --- a/lib/search/indexes/github-docs-3.2-ja.json.br +++ b/lib/search/indexes/github-docs-3.2-ja.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3a61ceac99e79ae8e1e985e5f85bafd9c1d90edf55c7ba1a31b3767aeee31414 -size 4421339 +oid sha256:975c98359e675a706a95da2728f0809fb76fbe725dc443ea9d3af6542a380db5 +size 4421442 diff --git a/lib/search/indexes/github-docs-3.2-pt-records.json.br b/lib/search/indexes/github-docs-3.2-pt-records.json.br index 2abde946eb..cca6a0bebc 100644 --- a/lib/search/indexes/github-docs-3.2-pt-records.json.br +++ b/lib/search/indexes/github-docs-3.2-pt-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2607f17c2f89c786ff815771b5d9f53eb1c97c9289ffcc511031acf94f9bef09 -size 719393 +oid sha256:c88aa543d7caabb4a4cad2b5ec52c6d5e0f20341f0ed4cdd888eadc96509f04e +size 719392 diff --git a/lib/search/indexes/github-docs-3.2-pt.json.br b/lib/search/indexes/github-docs-3.2-pt.json.br index 71caae8ffb..fbc9f88c9c 100644 --- a/lib/search/indexes/github-docs-3.2-pt.json.br +++ b/lib/search/indexes/github-docs-3.2-pt.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bfe4cbbc504d20af9e322f263febafada213cf8e1a82007ab485a41cb9434aa0 -size 3002247 +oid sha256:cc9c15c0eec68d17ca539f169194b16bd880878cd6e6ed65bdbf219c2559d5ff +size 3002303 diff --git a/lib/search/indexes/github-docs-3.3-cn-records.json.br b/lib/search/indexes/github-docs-3.3-cn-records.json.br index 09891080eb..4fb38f6302 100644 --- a/lib/search/indexes/github-docs-3.3-cn-records.json.br +++ b/lib/search/indexes/github-docs-3.3-cn-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:291ab3bc5580e24f1c86eb473e237ff055831ab6fda02cb05cdf34145fcd76e7 -size 816646 +oid sha256:5537b78a827817a35f830dcf974656ede904999e920e3a09a0ff00627f4e67d1 +size 816713 diff --git a/lib/search/indexes/github-docs-3.3-cn.json.br b/lib/search/indexes/github-docs-3.3-cn.json.br index 727ee00680..42f7ccb6df 100644 --- a/lib/search/indexes/github-docs-3.3-cn.json.br +++ b/lib/search/indexes/github-docs-3.3-cn.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:99a38839dcf33c7d6bf68294234ac8abdfcbd04b9cb5132fd4bbdd398ae235bf -size 1669617 +oid sha256:81f53142940b85cb3e7500c430595141f1dc3c3a6c2e8b58c89ca5082d219eba +size 1669030 diff --git a/lib/search/indexes/github-docs-3.3-en-records.json.br b/lib/search/indexes/github-docs-3.3-en-records.json.br index 3ac555475f..1c0a94caf7 100644 --- a/lib/search/indexes/github-docs-3.3-en-records.json.br +++ b/lib/search/indexes/github-docs-3.3-en-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b09e9a73210ce31bf26a8ae2c31a613547daca82fb350719df5d69445d10a36c -size 1121873 +oid sha256:8813302cd5e92243909ae3f7bb76c7674939cef4eb7c31e5ffd2bcd08cd3f317 +size 1121855 diff --git a/lib/search/indexes/github-docs-3.3-en.json.br b/lib/search/indexes/github-docs-3.3-en.json.br index 95b35cbe93..15bd49d83f 100644 --- a/lib/search/indexes/github-docs-3.3-en.json.br +++ b/lib/search/indexes/github-docs-3.3-en.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6a7d1ee4767440a99eeefbc0b82ba623b57ab611ccf2fb1afaa76a833e4c8658 -size 4496585 +oid sha256:e814de21e7479ca68043710989163fc4847e4699856c4af3fc5295df7f37fa31 +size 4496380 diff --git a/lib/search/indexes/github-docs-3.3-es-records.json.br b/lib/search/indexes/github-docs-3.3-es-records.json.br index 836962661a..b24d356b9f 100644 --- a/lib/search/indexes/github-docs-3.3-es-records.json.br +++ b/lib/search/indexes/github-docs-3.3-es-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f8b8632e5e068e1c67814c6281f65f30be7f5195b5c3b428b1e15c6e7009caae -size 751957 +oid sha256:52fb0308b034f17dadad97f3adecc0afe64b30293e0977d267c4ce9bddc09dbf +size 751809 diff --git a/lib/search/indexes/github-docs-3.3-es.json.br b/lib/search/indexes/github-docs-3.3-es.json.br index ecce0cde84..9fbdef49d9 100644 --- a/lib/search/indexes/github-docs-3.3-es.json.br +++ b/lib/search/indexes/github-docs-3.3-es.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d0a0e187021d968efef0e48082c5d2e07a353082c25f0dbe1f49355f26cd2b4e -size 3191021 +oid sha256:23e86801b20e1a68685cbf9b83ad9946616681d7b99e69aa036eb48d4c86bd28 +size 3191373 diff --git a/lib/search/indexes/github-docs-3.3-ja-records.json.br b/lib/search/indexes/github-docs-3.3-ja-records.json.br index a558cefb8f..f2b28a66d2 100644 --- a/lib/search/indexes/github-docs-3.3-ja-records.json.br +++ b/lib/search/indexes/github-docs-3.3-ja-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:85f67256b0383ddd99f5f5ddc8c781cf918d84587dc0fcac2bac00cd270cc8e7 -size 831170 +oid sha256:e924a987e2ce10f8f972459aa677bb4f38ccf1c825b24d4c1e1eb7965deaf849 +size 831153 diff --git a/lib/search/indexes/github-docs-3.3-ja.json.br b/lib/search/indexes/github-docs-3.3-ja.json.br index 9615c642ff..76e8674381 100644 --- a/lib/search/indexes/github-docs-3.3-ja.json.br +++ b/lib/search/indexes/github-docs-3.3-ja.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:69c263e25855e6dda5db3053c5d831e1f4bbc35e401c54fde97569c435ac8a07 -size 4555781 +oid sha256:3300a34db005ba61786a815aa2779867cb821d5ff22799f1a1774a1245bf5a43 +size 4555704 diff --git a/lib/search/indexes/github-docs-3.3-pt-records.json.br b/lib/search/indexes/github-docs-3.3-pt-records.json.br index 2e391d9edf..6834872504 100644 --- a/lib/search/indexes/github-docs-3.3-pt-records.json.br +++ b/lib/search/indexes/github-docs-3.3-pt-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:42631c361333df560fd9924e0e6d9133a2e91766184d6343723495aba02cb3cf -size 740763 +oid sha256:521b06eead9e6e7111d12347cdef65d7bd3b7b56217a830672bd60f319a788f8 +size 740816 diff --git a/lib/search/indexes/github-docs-3.3-pt.json.br b/lib/search/indexes/github-docs-3.3-pt.json.br index 18725ea63e..f9209bb68a 100644 --- a/lib/search/indexes/github-docs-3.3-pt.json.br +++ b/lib/search/indexes/github-docs-3.3-pt.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:31cd62254f310d87e1656fb93718ddf8ef447493b093e4e754bd432aa03acae1 -size 3086668 +oid sha256:7a9a8283d87f688ad880138349cc3c8cb4219690b597bdef811ad1d83b8e5cee +size 3086918 diff --git a/lib/search/indexes/github-docs-3.4-cn-records.json.br b/lib/search/indexes/github-docs-3.4-cn-records.json.br index e92c8948cd..d85b3b893c 100644 --- a/lib/search/indexes/github-docs-3.4-cn-records.json.br +++ b/lib/search/indexes/github-docs-3.4-cn-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:70d4b419122ea145648f2129a66835e97f57e346a4c4a23e992c7244364f145e -size 819194 +oid sha256:f58d2b2a7ce63d1a06af9317a497e3cb3aeec1b0ed674a31827c69eb7252e9b4 +size 819189 diff --git a/lib/search/indexes/github-docs-3.4-cn.json.br b/lib/search/indexes/github-docs-3.4-cn.json.br index 9b7fcaa848..1e53e76d64 100644 --- a/lib/search/indexes/github-docs-3.4-cn.json.br +++ b/lib/search/indexes/github-docs-3.4-cn.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6fca339b29a4328a3f6792816f00af9b972244d4535b2456100363c3da6041b2 -size 1684486 +oid sha256:4a6558e1e76f5628d0b44874f94dca3ab8f3941b02c4084fad15dcd5869107b5 +size 1684497 diff --git a/lib/search/indexes/github-docs-3.4-en-records.json.br b/lib/search/indexes/github-docs-3.4-en-records.json.br index 2d80713553..c3239fb489 100644 --- a/lib/search/indexes/github-docs-3.4-en-records.json.br +++ b/lib/search/indexes/github-docs-3.4-en-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:45371229fde387dfe6ff5e6d1c4d17b1fe2642425d5f6cf3b9bed49733ff2f08 -size 1133228 +oid sha256:fac14fcf07bbc908238cebfdf752c1834fe3e77b9253834074fba5bb11ca2760 +size 1133386 diff --git a/lib/search/indexes/github-docs-3.4-en.json.br b/lib/search/indexes/github-docs-3.4-en.json.br index a0f0345015..cc75517f76 100644 --- a/lib/search/indexes/github-docs-3.4-en.json.br +++ b/lib/search/indexes/github-docs-3.4-en.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9a59ce0ac840692c87191a873d3bda32ea35264d7b6666a7ddbd4079cc8077f8 -size 4553362 +oid sha256:a41be374f0a1c11508c523f5c933599a3c07378cdb5ada6d39b6ff9a7e89fc04 +size 4554095 diff --git a/lib/search/indexes/github-docs-3.4-es-records.json.br b/lib/search/indexes/github-docs-3.4-es-records.json.br index 4c01a9804d..b285d36b3a 100644 --- a/lib/search/indexes/github-docs-3.4-es-records.json.br +++ b/lib/search/indexes/github-docs-3.4-es-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:094e896d29155eb9784ee98c44ed6b59b86aabc59c1d8641cf96c2cd9a2c6a05 +oid sha256:b8c36a4c6c5bcc30fb8bc31bfdd883dec2d7aefd29cb0939b6f2f8679fc8597b size 756382 diff --git a/lib/search/indexes/github-docs-3.4-es.json.br b/lib/search/indexes/github-docs-3.4-es.json.br index 58d47db1a4..355047e2b7 100644 --- a/lib/search/indexes/github-docs-3.4-es.json.br +++ b/lib/search/indexes/github-docs-3.4-es.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4014b91481659cdee369c48037c5a359b9663966fa44a171fbd9208892d7ccf9 -size 3214152 +oid sha256:e640828e74399fbac04b0131b216b110b65925cc3d629d6948c2e9bc4a9b253b +size 3214099 diff --git a/lib/search/indexes/github-docs-3.4-ja-records.json.br b/lib/search/indexes/github-docs-3.4-ja-records.json.br index 3d0ed02de4..cb1e5cf860 100644 --- a/lib/search/indexes/github-docs-3.4-ja-records.json.br +++ b/lib/search/indexes/github-docs-3.4-ja-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6664c691c1264107e35ed85209d49d16a7d9c5e551ad5d418b215362df1082c2 -size 834662 +oid sha256:3d9d0aa32b6bb71f2007427096d89d2843cf682957628992f2ac9c6b58230c84 +size 834790 diff --git a/lib/search/indexes/github-docs-3.4-ja.json.br b/lib/search/indexes/github-docs-3.4-ja.json.br index 4ae350d07d..45011d36cc 100644 --- a/lib/search/indexes/github-docs-3.4-ja.json.br +++ b/lib/search/indexes/github-docs-3.4-ja.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:be916633f447d4f3bdffa182a56331006f04686f6b1b9dc54b832bc4aaa03451 -size 4590099 +oid sha256:8757ca8f0077adfcaa5c118368d8d06b0582277328f590631abc575cb6e253b4 +size 4589973 diff --git a/lib/search/indexes/github-docs-3.4-pt-records.json.br b/lib/search/indexes/github-docs-3.4-pt-records.json.br index 2a9f50a012..d5dd1dadcd 100644 --- a/lib/search/indexes/github-docs-3.4-pt-records.json.br +++ b/lib/search/indexes/github-docs-3.4-pt-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0289a6ea067352ea5a5d9f0869b8c36798d77f785d92e0bf85be2bfaa9082e8b -size 745064 +oid sha256:ae85c2eb63aceaacd807801da48b3c0cdb8d0328b3439d4f5682e53d19518753 +size 745030 diff --git a/lib/search/indexes/github-docs-3.4-pt.json.br b/lib/search/indexes/github-docs-3.4-pt.json.br index c77e208eee..07e759458e 100644 --- a/lib/search/indexes/github-docs-3.4-pt.json.br +++ b/lib/search/indexes/github-docs-3.4-pt.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:73d36e993e659623bb15f0ab738dac7e7e6735d990b7d651eebd998a8c4809d6 -size 3110224 +oid sha256:ad5908e8cf0b7b06f203eba3f248172c479dfb2a7a8683d271c2f7c9ead5c3c8 +size 3110603 diff --git a/lib/search/indexes/github-docs-3.5-cn-records.json.br b/lib/search/indexes/github-docs-3.5-cn-records.json.br index 937e7ebf0c..c37ab5f658 100644 --- a/lib/search/indexes/github-docs-3.5-cn-records.json.br +++ b/lib/search/indexes/github-docs-3.5-cn-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3c58583830241a9ff18c022440e681c892b903430c5ba63a87eb8ba706aa01f4 -size 848693 +oid sha256:5cad54bbaf798633358998f0c25567abfbbfe681b858f3d7f892c92e0fc93894 +size 848725 diff --git a/lib/search/indexes/github-docs-3.5-cn.json.br b/lib/search/indexes/github-docs-3.5-cn.json.br index 227c4f782f..18cf1a1a2a 100644 --- a/lib/search/indexes/github-docs-3.5-cn.json.br +++ b/lib/search/indexes/github-docs-3.5-cn.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a32b3feaf0ce3d0a2d679fa3a8b4b2c83b685958b010a4e8bf8a638ad1e3e753 -size 1744319 +oid sha256:53960726fa66f3003daa48fd2303518908928cb32e7d398aa3681c9e3956e520 +size 1744223 diff --git a/lib/search/indexes/github-docs-3.5-en-records.json.br b/lib/search/indexes/github-docs-3.5-en-records.json.br index 5e7c31f6c0..54478eb6a1 100644 --- a/lib/search/indexes/github-docs-3.5-en-records.json.br +++ b/lib/search/indexes/github-docs-3.5-en-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3cc9bc74422dc39410d8594a61e771f2bfad293ea26d7dfcb4503408761e0d1a -size 1170700 +oid sha256:53a491789a3420089844d9a094f22b8a4fec2d6424ae1a5f62a49ce995ab7eac +size 1170813 diff --git a/lib/search/indexes/github-docs-3.5-en.json.br b/lib/search/indexes/github-docs-3.5-en.json.br index d8fa583a1a..9c6a422d8c 100644 --- a/lib/search/indexes/github-docs-3.5-en.json.br +++ b/lib/search/indexes/github-docs-3.5-en.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ea4fddc43c0cf053f0dcd49d0e0c4a058386bfcd037b4a444881f1fcf629a4af -size 4712029 +oid sha256:1ee8f66a3711753e99011a945695cfec575276a679211afe4b2ab458f19cd2c2 +size 4712774 diff --git a/lib/search/indexes/github-docs-3.5-es-records.json.br b/lib/search/indexes/github-docs-3.5-es-records.json.br index a3bfbc9dab..9675701c41 100644 --- a/lib/search/indexes/github-docs-3.5-es-records.json.br +++ b/lib/search/indexes/github-docs-3.5-es-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3e5bfe5918f79e07f90c2fd5afb9f213d08a9cceae8e516c2ae2249afe625a55 -size 779327 +oid sha256:25baac0076e9ce10761ca5823f8b28f4a535e16d3df62ca5974b5d82901e960a +size 779453 diff --git a/lib/search/indexes/github-docs-3.5-es.json.br b/lib/search/indexes/github-docs-3.5-es.json.br index 7c0eb7b401..b022383aa1 100644 --- a/lib/search/indexes/github-docs-3.5-es.json.br +++ b/lib/search/indexes/github-docs-3.5-es.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:735796f758a7c1ed494e3d6779fe0669bff0b13ad0394b963c07b83df9c60f87 -size 3324896 +oid sha256:7f6fdfd3f0387a3261d404b71e914b0e49d493707d41d2c568fabc9e959b4219 +size 3324549 diff --git a/lib/search/indexes/github-docs-3.5-ja-records.json.br b/lib/search/indexes/github-docs-3.5-ja-records.json.br index 249ea2a733..8171f23e44 100644 --- a/lib/search/indexes/github-docs-3.5-ja-records.json.br +++ b/lib/search/indexes/github-docs-3.5-ja-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6f14dc12ad4194aeb6c6a7e9e6231819c7980fc9f440c161e389dd90daab9859 -size 861610 +oid sha256:7930096d8c6f241bcc10b27e988c09df6b4c41a9411614aa8161241f825594ff +size 861662 diff --git a/lib/search/indexes/github-docs-3.5-ja.json.br b/lib/search/indexes/github-docs-3.5-ja.json.br index 6e998f2697..86c6e9985e 100644 --- a/lib/search/indexes/github-docs-3.5-ja.json.br +++ b/lib/search/indexes/github-docs-3.5-ja.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:24c2a2338c59c022b6db899f92b3baf67c9317343fda28a9576830b94930c8e2 -size 4753109 +oid sha256:5e3a18831e14d7edc5a2230338c7dee0cc8f8d7e2e55dc60fb18fe4be717a301 +size 4753112 diff --git a/lib/search/indexes/github-docs-3.5-pt-records.json.br b/lib/search/indexes/github-docs-3.5-pt-records.json.br index 84e2affb4b..ce7a6d090b 100644 --- a/lib/search/indexes/github-docs-3.5-pt-records.json.br +++ b/lib/search/indexes/github-docs-3.5-pt-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:763ea537abb72705b81329e79550d54a84e07df92ce9e29f17fb0ad9da23d6a0 -size 767680 +oid sha256:1e1af7f6470d985d19d47d21b1e8dfb16bf28ca73a8eb22165bd1d6035e0c981 +size 767720 diff --git a/lib/search/indexes/github-docs-3.5-pt.json.br b/lib/search/indexes/github-docs-3.5-pt.json.br index 4af149cdec..45347e7cfe 100644 --- a/lib/search/indexes/github-docs-3.5-pt.json.br +++ b/lib/search/indexes/github-docs-3.5-pt.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:186d816447828c51fd4ba9a9f806c9e1956de4498bf9ec06eee73216f1943a03 -size 3218420 +oid sha256:10d8fec40f8bed65aa320ceada03e87fd3fcefa5bd60ab0e1abcb0ae05d201b3 +size 3218221 diff --git a/lib/search/indexes/github-docs-3.6-cn-records.json.br b/lib/search/indexes/github-docs-3.6-cn-records.json.br index 8c4550b35a..172b1223e9 100644 --- a/lib/search/indexes/github-docs-3.6-cn-records.json.br +++ b/lib/search/indexes/github-docs-3.6-cn-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d5e6e00de1000e5104cbb0e799b105341a7afd70251d056a58278fd4aee5b462 -size 871105 +oid sha256:1257cdfc1ef11ba2a191069a22e03c05b1ec817ad997e868cb6859467c7d5118 +size 871379 diff --git a/lib/search/indexes/github-docs-3.6-cn.json.br b/lib/search/indexes/github-docs-3.6-cn.json.br index 2b19b5c89c..a4ce9349d0 100644 --- a/lib/search/indexes/github-docs-3.6-cn.json.br +++ b/lib/search/indexes/github-docs-3.6-cn.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f22c504e73774831e0b1a31403545fb57f5a961945fb5b210fd94ad141110415 -size 1791906 +oid sha256:31cefaae130820e92557087b4999dcc0a1ad2f0bc4187a4d8890469d858dcaf7 +size 1792431 diff --git a/lib/search/indexes/github-docs-3.6-en-records.json.br b/lib/search/indexes/github-docs-3.6-en-records.json.br index 712611018b..f9450903c8 100644 --- a/lib/search/indexes/github-docs-3.6-en-records.json.br +++ b/lib/search/indexes/github-docs-3.6-en-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:60e8bfcc5c4da73b0eb3e096d7f6d0de45b7096216a120de7c9039d9ba69cf76 -size 1199498 +oid sha256:6c032c57804459e88434facdeef0ca351cd0e5c89ac2eb5be92e0343a00583f3 +size 1199836 diff --git a/lib/search/indexes/github-docs-3.6-en.json.br b/lib/search/indexes/github-docs-3.6-en.json.br index 9bfbc0fef8..cb9ccbf895 100644 --- a/lib/search/indexes/github-docs-3.6-en.json.br +++ b/lib/search/indexes/github-docs-3.6-en.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:66d264a789a6f31f9f2c6b6715de97893f7f214437b2f23f0cb37dfad1b7de8f -size 4827422 +oid sha256:ce71c5500d7c87f4c707a5c7dfb342c06c0b0c29ff463738b0f1402c0355041c +size 4826285 diff --git a/lib/search/indexes/github-docs-3.6-es-records.json.br b/lib/search/indexes/github-docs-3.6-es-records.json.br index 5f11159299..df7653ca45 100644 --- a/lib/search/indexes/github-docs-3.6-es-records.json.br +++ b/lib/search/indexes/github-docs-3.6-es-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ced32b64e5c5b01e83e2496f2c76946aab450d2607d716923e61aa2e84d49c25 -size 799872 +oid sha256:754ce9ceab44e89ded8e91923a9098dea24aaece00b95d9639d57701f1a14eb4 +size 799936 diff --git a/lib/search/indexes/github-docs-3.6-es.json.br b/lib/search/indexes/github-docs-3.6-es.json.br index 4479b2c190..2ed7153aa6 100644 --- a/lib/search/indexes/github-docs-3.6-es.json.br +++ b/lib/search/indexes/github-docs-3.6-es.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7127284e1326500ded5a3e67d3bbfcb82593c4d5d4939a47d7a2bf3e6fb969af -size 3424588 +oid sha256:85046b9a4433fa7edea6cd78ff94548d1dbb7ce4217326f22bc8a9e30df336bb +size 3424766 diff --git a/lib/search/indexes/github-docs-3.6-ja-records.json.br b/lib/search/indexes/github-docs-3.6-ja-records.json.br index 990f045308..0f77b77293 100644 --- a/lib/search/indexes/github-docs-3.6-ja-records.json.br +++ b/lib/search/indexes/github-docs-3.6-ja-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b2f210410f8d56d9d7df5a1734629f5f9f4f4c27006d73b2bc95a50e50ea6023 -size 884051 +oid sha256:12f341bc6776314da8f60fb605169b0cbe07506f7043568f0786e163266f7fe8 +size 884045 diff --git a/lib/search/indexes/github-docs-3.6-ja.json.br b/lib/search/indexes/github-docs-3.6-ja.json.br index 7f01a9a9f7..001e9b73b3 100644 --- a/lib/search/indexes/github-docs-3.6-ja.json.br +++ b/lib/search/indexes/github-docs-3.6-ja.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3723fea0922a4c3c652a84790a1fbf1b656ab89176cbd37076110d2c32d33768 -size 4884191 +oid sha256:6055b5e252c37a71a42aaa535f6e723a75d02f5ab82a08d107ac9dad61a2cd44 +size 4884136 diff --git a/lib/search/indexes/github-docs-3.6-pt-records.json.br b/lib/search/indexes/github-docs-3.6-pt-records.json.br index 1e65a5e6a7..60d3a10745 100644 --- a/lib/search/indexes/github-docs-3.6-pt-records.json.br +++ b/lib/search/indexes/github-docs-3.6-pt-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:367439a70574289705a6441c3d20e3c197fe4e016fb8140bb99e1a186c542416 -size 788020 +oid sha256:b778f281e3a7a0bfdc721c108d0c9c2306c233d1d1a7d47fb34fd74d0888057f +size 787987 diff --git a/lib/search/indexes/github-docs-3.6-pt.json.br b/lib/search/indexes/github-docs-3.6-pt.json.br index b6c215a26a..626712b81f 100644 --- a/lib/search/indexes/github-docs-3.6-pt.json.br +++ b/lib/search/indexes/github-docs-3.6-pt.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f9afc72cfe8ffde8db22ff33fa34d1dfe6eed3f3a95a5e8f3e7454e5bccbb94d -size 3314099 +oid sha256:44e794a3004eaaef3c8960cd96729ea6ff9a96e5f172e1e21c7ded881a983bbf +size 3314509 diff --git a/lib/search/indexes/github-docs-dotcom-cn-records.json.br b/lib/search/indexes/github-docs-dotcom-cn-records.json.br index a552bd66d2..9d3a977d59 100644 --- a/lib/search/indexes/github-docs-dotcom-cn-records.json.br +++ b/lib/search/indexes/github-docs-dotcom-cn-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:67c195d5bc7033558244ea8afd73fc0b794a41b444a18a5412718b899a1848ef -size 1031810 +oid sha256:1594bb1556d40a044f08de939f3d270a4e6fcff9ef9a030c475a72e04313f7a2 +size 1031893 diff --git a/lib/search/indexes/github-docs-dotcom-cn.json.br b/lib/search/indexes/github-docs-dotcom-cn.json.br index 7f8f79b5b3..5b6933e26e 100644 --- a/lib/search/indexes/github-docs-dotcom-cn.json.br +++ b/lib/search/indexes/github-docs-dotcom-cn.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:031cb66e20ad29082aa77cc43308167289c4f5cef4c5c4fd2b519f6b53fd9cf9 -size 1823318 +oid sha256:bb7358156fcea30892af7d140accb25b457634709ba4e1f64e23f8e11e8399d1 +size 1823420 diff --git a/lib/search/indexes/github-docs-dotcom-en-records.json.br b/lib/search/indexes/github-docs-dotcom-en-records.json.br index 2ef4dfc35b..e349cd238a 100644 --- a/lib/search/indexes/github-docs-dotcom-en-records.json.br +++ b/lib/search/indexes/github-docs-dotcom-en-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:333a9f39b7ea8845db9dbb82938ba18adb07379a3a48d8ae216bbddebf50c44f -size 1442741 +oid sha256:1a1d8b93a5617738039e8f26105d63521618176fe58bdc751f6fc4f4f276ca65 +size 1442779 diff --git a/lib/search/indexes/github-docs-dotcom-en.json.br b/lib/search/indexes/github-docs-dotcom-en.json.br index aafb5b3d8b..8fe3e3f9f6 100644 --- a/lib/search/indexes/github-docs-dotcom-en.json.br +++ b/lib/search/indexes/github-docs-dotcom-en.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:991fa69e176fd9316cdd6f694c0e8d742d8303e41755b12a19300096b4132708 -size 5533641 +oid sha256:dda447491aab314d073c0acf61c37e8d0daaff162abe853e32ac0f96df2694fd +size 5533112 diff --git a/lib/search/indexes/github-docs-dotcom-es-records.json.br b/lib/search/indexes/github-docs-dotcom-es-records.json.br index 2fd1b8358c..404962b841 100644 --- a/lib/search/indexes/github-docs-dotcom-es-records.json.br +++ b/lib/search/indexes/github-docs-dotcom-es-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9db8d6f699f02cf6dd05d256d1dc296f5e4750710e3a57730e364525e3f70f97 -size 929544 +oid sha256:1d0f4cbfa4fbe32a3cc617fc7bcdf35c74660f75854d5f2c64a7830358fbe08c +size 929673 diff --git a/lib/search/indexes/github-docs-dotcom-es.json.br b/lib/search/indexes/github-docs-dotcom-es.json.br index 6359131950..ab8e916c64 100644 --- a/lib/search/indexes/github-docs-dotcom-es.json.br +++ b/lib/search/indexes/github-docs-dotcom-es.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d587b6d9053a1a285e48a214a581f242a74ceb8dc3a6eb9ed255b934b77ee5d4 -size 3851759 +oid sha256:3a9fe77435298bff08ee555eb7398bc352145555a23523e0a45cb701b5f2c495 +size 3852206 diff --git a/lib/search/indexes/github-docs-dotcom-ja-records.json.br b/lib/search/indexes/github-docs-dotcom-ja-records.json.br index 3ab45ce50f..4e011e974e 100644 --- a/lib/search/indexes/github-docs-dotcom-ja-records.json.br +++ b/lib/search/indexes/github-docs-dotcom-ja-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:730cf989fc1dc7ccd79af5d6c360e42c954e8df768635cc074db8d2eafcefabc -size 1038582 +oid sha256:dae804d0b5655e0f33d765fcb849e7d421baf8da1215c5986b9b704170a08120 +size 1038623 diff --git a/lib/search/indexes/github-docs-dotcom-ja.json.br b/lib/search/indexes/github-docs-dotcom-ja.json.br index 3b66b15427..09c659d1db 100644 --- a/lib/search/indexes/github-docs-dotcom-ja.json.br +++ b/lib/search/indexes/github-docs-dotcom-ja.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:51ab691e084044bb7cc17e8a07131aa433994873cc029e16efeafa7f4aa44502 -size 5570450 +oid sha256:53db697410237933f2d3e88a3c2db978faa3917e172c5b6d83a7110dacfcad7d +size 5570592 diff --git a/lib/search/indexes/github-docs-dotcom-pt-records.json.br b/lib/search/indexes/github-docs-dotcom-pt-records.json.br index 0996dc98c9..ef01ad268e 100644 --- a/lib/search/indexes/github-docs-dotcom-pt-records.json.br +++ b/lib/search/indexes/github-docs-dotcom-pt-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:dbdb96a35a7eefa2347a7073376306b0f91f03a14e84409a10f6f65eb59ac73d -size 918865 +oid sha256:587a5d6c308a65c7f33473e25b5de5f83bd34b55b929d92f4971df93c946ce1b +size 918581 diff --git a/lib/search/indexes/github-docs-dotcom-pt.json.br b/lib/search/indexes/github-docs-dotcom-pt.json.br index d74a9ea182..2a0bae4553 100644 --- a/lib/search/indexes/github-docs-dotcom-pt.json.br +++ b/lib/search/indexes/github-docs-dotcom-pt.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fc397941597ce659d18990feffdca2bd50c325c19055652c92fc27b7a5545203 -size 3762380 +oid sha256:d4b26acfd77539b7c21c9dc16d2d86a358c8f11809038fa731ed70cd808728af +size 3762202 diff --git a/lib/search/indexes/github-docs-ghae-cn-records.json.br b/lib/search/indexes/github-docs-ghae-cn-records.json.br index ce48e0e190..85c19c9bf2 100644 --- a/lib/search/indexes/github-docs-ghae-cn-records.json.br +++ b/lib/search/indexes/github-docs-ghae-cn-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a3ebf8623f55e9a98e4aa5dab319d2849a68f8b674ae3ec74edbd96ae2b13005 -size 657005 +oid sha256:ad526ebbaa3b3cee60286e36ab8aceb0463ab75345b5b0769af3084cca9080a3 +size 657052 diff --git a/lib/search/indexes/github-docs-ghae-cn.json.br b/lib/search/indexes/github-docs-ghae-cn.json.br index 8bc06396ef..2d48cbd79e 100644 --- a/lib/search/indexes/github-docs-ghae-cn.json.br +++ b/lib/search/indexes/github-docs-ghae-cn.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0524bae6902d4d722a2d926abfeca0c02dd03a6af952bada033752bf43d0be51 -size 1300071 +oid sha256:70ae4825eaf23487b51052a5e63e2f52c550e5c24268a968a71ddfb2862b80f0 +size 1299920 diff --git a/lib/search/indexes/github-docs-ghae-en-records.json.br b/lib/search/indexes/github-docs-ghae-en-records.json.br index e8aa83a395..996b1ca7d8 100644 --- a/lib/search/indexes/github-docs-ghae-en-records.json.br +++ b/lib/search/indexes/github-docs-ghae-en-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:83e331a1fdeee24df1c0102e3c7436b3693f6b5646077144d1c3a2500fd343ca -size 930895 +oid sha256:a7bd9d76e693826f1da6139cb9be0bf0f67c03aa8aa719d85ee2c03cf1f5cd30 +size 930842 diff --git a/lib/search/indexes/github-docs-ghae-en.json.br b/lib/search/indexes/github-docs-ghae-en.json.br index 25c72f05dc..a3f7b00147 100644 --- a/lib/search/indexes/github-docs-ghae-en.json.br +++ b/lib/search/indexes/github-docs-ghae-en.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:98b1b74b1e1a127299b64cc247ae5302e53c4751b7cc4e16572fde1efe19db4e -size 3677152 +oid sha256:26c12735a22ae96ff06d5fe0d281fce90ec7d3fec77c8bb2c1f1a5f22cfdcaca +size 3677868 diff --git a/lib/search/indexes/github-docs-ghae-es-records.json.br b/lib/search/indexes/github-docs-ghae-es-records.json.br index 196f21cccf..450f17e2a1 100644 --- a/lib/search/indexes/github-docs-ghae-es-records.json.br +++ b/lib/search/indexes/github-docs-ghae-es-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:864d09f170da20181ffb9f63f9014eb84db0e850fe5de1f6a3c9617b5a3aeda7 -size 611085 +oid sha256:3b46b7802fb49b7164474949e89d4f54f927d6d7e392c3e658cd8f728bd3c3b9 +size 611023 diff --git a/lib/search/indexes/github-docs-ghae-es.json.br b/lib/search/indexes/github-docs-ghae-es.json.br index a80ef3a2ff..58373b7433 100644 --- a/lib/search/indexes/github-docs-ghae-es.json.br +++ b/lib/search/indexes/github-docs-ghae-es.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:77ba07c44e117cc520107a5d25e73214af21d0e9661458311a85127f6d9f048c -size 2517530 +oid sha256:f93e36215e316bd5f1b2c1443773fd576c168b4496fc8dbfa530f0bbc4e41290 +size 2517503 diff --git a/lib/search/indexes/github-docs-ghae-ja-records.json.br b/lib/search/indexes/github-docs-ghae-ja-records.json.br index 0ac8baf804..9c0514d5ce 100644 --- a/lib/search/indexes/github-docs-ghae-ja-records.json.br +++ b/lib/search/indexes/github-docs-ghae-ja-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8e0526a9925051706875546a4e8cb6e79eb174bc12b259f0cc63c48dadb05b96 -size 670866 +oid sha256:cfd256ed8b3136d2be3db923ca1a188a8c1baf60d643b6531eccab2fb645941b +size 670839 diff --git a/lib/search/indexes/github-docs-ghae-ja.json.br b/lib/search/indexes/github-docs-ghae-ja.json.br index 23cca98a16..900e53d8f9 100644 --- a/lib/search/indexes/github-docs-ghae-ja.json.br +++ b/lib/search/indexes/github-docs-ghae-ja.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:544a66bfa59f562e02c865db39904a819b4fc020d03a823f23189f07fc0c4816 -size 3579056 +oid sha256:2593debe01abc234d7d76a62a0b3e7baea6444e67d4be3a56b742a11ef28096c +size 3578028 diff --git a/lib/search/indexes/github-docs-ghae-pt-records.json.br b/lib/search/indexes/github-docs-ghae-pt-records.json.br index 62d2a8c298..ff8a78ce7a 100644 --- a/lib/search/indexes/github-docs-ghae-pt-records.json.br +++ b/lib/search/indexes/github-docs-ghae-pt-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b3a93e091ad435d2f7a33fb7ffe8da4e7c22c7461ee004107e383276120ecc11 -size 602029 +oid sha256:c2e6fc38b0c07e3f1343a564a15a601713889e0ca350cf2cd0b58c422ca7f0eb +size 602094 diff --git a/lib/search/indexes/github-docs-ghae-pt.json.br b/lib/search/indexes/github-docs-ghae-pt.json.br index 2ace049893..ab3c6e0687 100644 --- a/lib/search/indexes/github-docs-ghae-pt.json.br +++ b/lib/search/indexes/github-docs-ghae-pt.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3b567ccc4520079027900737567971efeded1adf8567d436748bca320004f4aa -size 2412708 +oid sha256:10d1c9d4081805ac6a057253694966570d551732fda533695ec3397a0786906a +size 2412743 diff --git a/lib/search/indexes/github-docs-ghec-cn-records.json.br b/lib/search/indexes/github-docs-ghec-cn-records.json.br index 44629239a4..b789acfd69 100644 --- a/lib/search/indexes/github-docs-ghec-cn-records.json.br +++ b/lib/search/indexes/github-docs-ghec-cn-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:17f7b74a95e72b3c27d65368da0026f65916f38531c83a6822aa24c0d4dbf0f2 -size 1001069 +oid sha256:61f36ece518b80aa5a00889831fbd37a2c0d3f1cdc72cec5d4072eb5507e2226 +size 1001051 diff --git a/lib/search/indexes/github-docs-ghec-cn.json.br b/lib/search/indexes/github-docs-ghec-cn.json.br index 4358149d1e..53ea83c3b4 100644 --- a/lib/search/indexes/github-docs-ghec-cn.json.br +++ b/lib/search/indexes/github-docs-ghec-cn.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a640c3aac5c9ff16344a91fcba97b325fd3a15a4b516001ceafff626d2e6bffd -size 1944900 +oid sha256:d303793e0c5a013e5f7e3af6b3122e378c53902e0da65006c75b49cfd52b793a +size 1945099 diff --git a/lib/search/indexes/github-docs-ghec-en-records.json.br b/lib/search/indexes/github-docs-ghec-en-records.json.br index f0bc998a86..1b52d22d2d 100644 --- a/lib/search/indexes/github-docs-ghec-en-records.json.br +++ b/lib/search/indexes/github-docs-ghec-en-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:02eac4719ff8d356a3a57f6ab25f0f2192391dc27800eb98becfd067ea3541d6 -size 1366829 +oid sha256:b4e21eccf51793607974a93818421a11d2cc67e6a7573fd12cc0380e5c1c89cc +size 1366593 diff --git a/lib/search/indexes/github-docs-ghec-en.json.br b/lib/search/indexes/github-docs-ghec-en.json.br index 73876c5c10..d410c51582 100644 --- a/lib/search/indexes/github-docs-ghec-en.json.br +++ b/lib/search/indexes/github-docs-ghec-en.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:84fc68edd992dd7795748b45723c26690862b35c6a7a40ea5ef33fe59b464752 -size 5532245 +oid sha256:b11bf86a40d47c9b3f5b9965317176df57c369adebc5f2594269c568fda4559f +size 5531633 diff --git a/lib/search/indexes/github-docs-ghec-es-records.json.br b/lib/search/indexes/github-docs-ghec-es-records.json.br index b41a6b23f2..d39c0a1134 100644 --- a/lib/search/indexes/github-docs-ghec-es-records.json.br +++ b/lib/search/indexes/github-docs-ghec-es-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:57542b92586d9d2e6d7b6a2f66d7d982cc67116cc52565ad8f6c90f1283df9c6 -size 926464 +oid sha256:7f0c730cc05b46976672e2fe043fae307287edfca6d6bf3503c8260a5025ad11 +size 926476 diff --git a/lib/search/indexes/github-docs-ghec-es.json.br b/lib/search/indexes/github-docs-ghec-es.json.br index fcfc436006..ffd9060c43 100644 --- a/lib/search/indexes/github-docs-ghec-es.json.br +++ b/lib/search/indexes/github-docs-ghec-es.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:599e8907a255278c1802dc9442baf5a58c9752e8ea93b225a0ae774556175d95 -size 3983047 +oid sha256:e76feac9eee71099e68573192bd7f7b9bc367fecb6fd010f422674f79a341da6 +size 3983365 diff --git a/lib/search/indexes/github-docs-ghec-ja-records.json.br b/lib/search/indexes/github-docs-ghec-ja-records.json.br index efb5538856..261c0b7e29 100644 --- a/lib/search/indexes/github-docs-ghec-ja-records.json.br +++ b/lib/search/indexes/github-docs-ghec-ja-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:185514deda6d600c3697709b7d77eb00983ba4c8dbe1f9d512c9c5f4eea1b625 -size 1013641 +oid sha256:a7070598c1c0083da0a2f761c8e2d80a4044641cf3a653381398f1ce6b486b06 +size 1013861 diff --git a/lib/search/indexes/github-docs-ghec-ja.json.br b/lib/search/indexes/github-docs-ghec-ja.json.br index d9c9c0ec0c..3e5d2f9a70 100644 --- a/lib/search/indexes/github-docs-ghec-ja.json.br +++ b/lib/search/indexes/github-docs-ghec-ja.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3bbb0be11bfb6005a89aea490d2d52d12537a361c55e408aacc3de10158e46fc -size 5653028 +oid sha256:fc3101284c4c144d0173a413a878455f376265ee957b9e8a78e59a45c10064e1 +size 5652865 diff --git a/lib/search/indexes/github-docs-ghec-pt-records.json.br b/lib/search/indexes/github-docs-ghec-pt-records.json.br index 969a4e44e8..6054fe3637 100644 --- a/lib/search/indexes/github-docs-ghec-pt-records.json.br +++ b/lib/search/indexes/github-docs-ghec-pt-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8c748bccdc64927f59b3caf9ad4c1945cc6729f7a41d4a17136529a360a0e1c3 -size 914080 +oid sha256:025349041b88c676aa66f5872286a703406fa4bc71c70ea75d184b4b7162eaac +size 914088 diff --git a/lib/search/indexes/github-docs-ghec-pt.json.br b/lib/search/indexes/github-docs-ghec-pt.json.br index 56de91b587..2ca6cb91aa 100644 --- a/lib/search/indexes/github-docs-ghec-pt.json.br +++ b/lib/search/indexes/github-docs-ghec-pt.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6ac3662316ee04bf771ee8d70c5120a89421c924dba137461670e6ab7962cecd -size 3877753 +oid sha256:18f87c276c4ea0899d3082e9eab2c009d3fd99125de901b413a69967f1179d49 +size 3878014 diff --git a/middleware/cache-full-rendering.js b/middleware/cache-full-rendering.js deleted file mode 100644 index ab1af2cde6..0000000000 --- a/middleware/cache-full-rendering.js +++ /dev/null @@ -1,138 +0,0 @@ -import zlib from 'zlib' - -import cheerio from 'cheerio' -import QuickLRU from 'quick-lru' - -import statsd from '../lib/statsd.js' - -const HEADER_NAME = 'x-middleware-cache' -const HEADER_VALUE_HIT = 'hit' -const HEADER_VALUE_MISS = 'miss' -const HEADER_VALUE_DISABLED = 'disabled' -const HEADER_VALUE_TRANSFERRING = 'transferring' - -const DISABLE_RENDERING_CACHE = Boolean(JSON.parse(process.env.DISABLE_RENDERING_CACHE || 'false')) - -// NOTE: Apr 20, when storing about 200 cheerio instances, the total -// heap size becomes about 2.3GB. -const CHEERIO_CACHE_MAXSIZE = parseInt(process.env.CHEERIO_CACHE_MAXSIZE || 100, 10) - -const GZIP_CACHE_MAXSIZE = parseInt(process.env.GZIP_CACHE_MAXSIZE || 1000, 10) - -const cheerioCache = new QuickLRU({ - maxSize: CHEERIO_CACHE_MAXSIZE, - // Don't use arrow function so we can access `this`. - onEviction: function onEviction() { - const { heapUsed } = process.memoryUsage() - statsd.gauge('middleware.rendering_cache_cheerio', heapUsed, [`size:${this.size}`]) - }, -}) - -const gzipCache = new QuickLRU({ - maxSize: GZIP_CACHE_MAXSIZE, - // Don't use arrow function so we can access `this`. - onEviction: function onEviction() { - const { heapUsed } = process.memoryUsage() - statsd.gauge('middleware.rendering_cache_gzip', heapUsed, [`size:${gzipCache.size}`]) - }, -}) - -export default async function cacheFullRendering(req, res, next) { - // Even if you use `app.get('/*', myMiddleware)` in Express, the - // middleware will be executed for HEAD requests. - if (req.method !== 'GET') return next() - - // The req.pagePath will be identical if it's a regular HTML GET - // or one of those /_next/data/... URLs. - const key = req.url - - // We have 2 LRU caches. - // - Tuples of [cheerio object, headers] - // - Tuples of [html gzipped, headers] - // The reason for having two is that many cheerio objects will - // significantly bloat the heap memory. Where as storing the - // html strings as gzip buffers is tiny. - // The point of using cheerio objects, is to avoid deserializing the - // HTML on every warm hit (e.g. stampeding herd) and only pay - // for the mutation + serialization which is unavoidable. - // Since the gzip cache is larger than the cheerio cache, - // we elevate from one cache to the other. Like layers of caching. - - if (!cheerioCache.has(key) && gzipCache.has(key)) { - res.setHeader(HEADER_NAME, HEADER_VALUE_TRANSFERRING) - const [htmlBuffer, headers] = gzipCache.get(key) - setHeaders(headers, res) - const html = zlib.gunzipSync(htmlBuffer).toString() - const body = cheerio.load(html) - cheerioCache.set(key, [body, headers]) - mutateCheeriobodyByRequest(body, req) - return res.status(200).send(body.html()) - } else if (cheerioCache.has(key)) { - res.setHeader(HEADER_NAME, HEADER_VALUE_HIT) - const [$, headers] = cheerioCache.get(key) - setHeaders(headers, res) - mutateCheeriobodyByRequest($, req) - return res.status(200).send($.html()) - } else { - res.setHeader(HEADER_NAME, HEADER_VALUE_MISS) - } - - if (DISABLE_RENDERING_CACHE) { - res.setHeader(HEADER_NAME, HEADER_VALUE_DISABLED) - } else { - const originalEndFunc = res.end.bind(res) - res.end = function (body) { - // Can end the response to the user now - originalEndFunc(body) - - // After the response has been sent back to the user, - // take our time to store this in the cache. - if (body && res.statusCode === 200) { - // It's important to note that we only cache the HTML outputs. - // Why, because JSON outputs should be cached in the CDN. - // The only JSON outputs we have today is the search API - // and the NextJS data requests. These are not dependent on the - // request cookie, so they're primed for caching in the CDN. - const ct = res.get('content-type') - // We also don't want to bother caching this if it doesn't - // appear to be a NextJS HTML output with - // its ` - // - const primerData = $('script#__PRIMER_DATA__') - console.assert(primerData.length === 1, 'Not exactly 1') -} diff --git a/middleware/index.js b/middleware/index.js index e3074ed2e3..ea869bc838 100644 --- a/middleware/index.js +++ b/middleware/index.js @@ -55,7 +55,6 @@ import assetPreprocessing from './asset-preprocessing.js' import archivedAssetRedirects from './archived-asset-redirects.js' import favicons from './favicons.js' import setStaticAssetCaching from './static-asset-caching.js' -// import cacheFullRendering from './cache-full-rendering.js' import protect from './overload-protection.js' import fastHead from './fast-head.js' import fastlyCacheTest from './fastly-cache-test.js' @@ -275,10 +274,6 @@ export default function (app) { // full page rendering. app.head('/*', fastHead) - // For performance, this is before contextualizers if, on a cache hit, - // we can't reuse a rendered response without having to contextualize. - // app.get('/*', asyncMiddleware(instrument(cacheFullRendering, './cache-full-rendering'))) - // *** Preparation for render-page: contextualizers *** app.use(asyncMiddleware(instrument(releaseNotes, './contextualizers/release-notes'))) app.use(instrument(webhooks, './contextualizers/webhooks')) diff --git a/middleware/render-page.js b/middleware/render-page.js index 3eab5e07c5..f3b25b2add 100644 --- a/middleware/render-page.js +++ b/middleware/render-page.js @@ -9,11 +9,7 @@ import { isConnectionDropped } from './halt-on-dropped-connection.js' import { nextApp, nextHandleRequest } from './next.js' import { cacheControlFactory } from './cache-control.js' -const noCacheControl = cacheControlFactory(0) - -const htmlCacheControl = cacheControlFactory(60) -// We'll start with no cache, the increase to one minute (60), -// then five minutes (60 * 5), finally ten minutes (60 * 10) +const htmlCacheControl = cacheControlFactory(60 * 10) async function buildRenderedPage(req) { const { context } = req @@ -43,10 +39,10 @@ export default async function renderPage(req, res, next) { const { context } = req const { page } = context const path = req.pagePath || req.path + htmlCacheControl(res) // render a 404 page if (!page) { - noCacheControl(res) if (process.env.NODE_ENV !== 'test' && context.redirectNotFound) { console.error( `\nTried to redirect to ${context.redirectNotFound}, but that page was not found.\n` @@ -57,12 +53,9 @@ export default async function renderPage(req, res, next) { // Just finish fast without all the details like Content-Length if (req.method === 'HEAD') { - noCacheControl(res) return res.status(200).send('') } - htmlCacheControl(res) - // Updating the Last-Modified header for substantive changes on a page for engineering // Docs Engineering Issue #945 if (page.effectiveDate) { diff --git a/package-lock.json b/package-lock.json index 81963eb03d..218b5b27ca 100644 --- a/package-lock.json +++ b/package-lock.json @@ -58,7 +58,6 @@ "overload-protection": "^1.2.3", "parse5": "7.0.0", "port-used": "^2.0.8", - "quick-lru": "6.1.1", "react": "^17.0.2", "react-dom": "^17.0.2", "react-markdown": "^8.0.3", @@ -16390,16 +16389,6 @@ } ] }, - "node_modules/quick-lru": { - "version": "6.1.1", - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/random-bytes": { "version": "1.0.0", "license": "MIT", @@ -32038,9 +32027,6 @@ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", "dev": true }, - "quick-lru": { - "version": "6.1.1" - }, "random-bytes": { "version": "1.0.0" }, diff --git a/package.json b/package.json index b9b4123ab1..4652ab5556 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,6 @@ "overload-protection": "^1.2.3", "parse5": "7.0.0", "port-used": "^2.0.8", - "quick-lru": "6.1.1", "react": "^17.0.2", "react-dom": "^17.0.2", "react-markdown": "^8.0.3", diff --git a/pages/[versionId]/graphql/reference/[page].tsx b/pages/[versionId]/graphql/reference/[page].tsx index b9374af61d..ab33d5089b 100644 --- a/pages/[versionId]/graphql/reference/[page].tsx +++ b/pages/[versionId]/graphql/reference/[page].tsx @@ -4,7 +4,7 @@ import React from 'react' import { GraphqlPage } from 'components/graphql/GraphqlPage' import { getGraphqlSchema, getMiniToc } from 'lib/graphql/index.js' import { MainContextT, MainContext, getMainContext } from 'components/context/MainContext' -import type { ObjectT, QueryItemT, GraphqlT } from 'components/graphql/types' +import type { ObjectT, GraphqlT } from 'components/graphql/types' import { AutomatedPage } from 'components/article/AutomatedPage' import { AutomatedPageContext, @@ -59,24 +59,10 @@ export const getServerSideProps: GetServerSideProps = async (context) => // content/graphql/reference/* const automatedPageContext = getAutomatedPageContextFromRequest(req) - if (graphqlPageName === 'queries') { - const connectionItems = schema.connections.map((item: QueryItemT) => item.name) - const connectionMiniToc = await getMiniToc( - req.context, - 'connections', - connectionItems, - 3, - '## Connections\n' - ) - const fieldItems = schema.fields.map((item: QueryItemT) => item.name) - const fieldMiniToc = await getMiniToc(req.context, 'fields', fieldItems, 3, '## Fields\n') - automatedPageContext.miniTocItems.push(...connectionMiniToc, ...fieldMiniToc) - } else { - const items = schema.map((item: GraphqlT) => item.name) - const graphqlMiniTocItems = await getMiniToc(req.context, graphqlPageName, items) - // Update the existing context to include the miniTocItems from GraphQL - automatedPageContext.miniTocItems.push(...graphqlMiniTocItems) - } + const items = schema.map((item: GraphqlT) => item.name) + const graphqlMiniTocItems = await getMiniToc(req.context, graphqlPageName, items) + // Update the existing context to include the miniTocItems from GraphQL + automatedPageContext.miniTocItems.push(...graphqlMiniTocItems) return { props: { diff --git a/script/graphql/build-changelog.js b/script/graphql/build-changelog.js index b66f49619b..598356f6c9 100644 --- a/script/graphql/build-changelog.js +++ b/script/graphql/build-changelog.js @@ -2,7 +2,7 @@ import { diff, ChangeType } from '@graphql-inspector/core' import { loadSchema } from '@graphql-tools/load' import fs from 'fs' -import renderContent from '../../lib/render-content' +import renderContent from '../../lib/render-content/index.js' /** * Tag `changelogEntry` with `date: YYYY-mm-dd`, then prepend it to the JSON diff --git a/script/graphql/utils/process-schemas.js b/script/graphql/utils/process-schemas.js index 345924ca96..36fbcfd1a5 100755 --- a/script/graphql/utils/process-schemas.js +++ b/script/graphql/utils/process-schemas.js @@ -28,10 +28,7 @@ export default async function processSchemas(idl, previewsPerVersion) { const data = {} - data.queries = { - connections: [], - fields: [], - } + data.queries = [] data.mutations = [] data.objects = [] data.interfaces = [] @@ -84,12 +81,7 @@ export default async function processSchemas(idl, previewsPerVersion) { ) query.args = sortBy(queryArgs, 'name') - - // QUERY CONNECTIONS - // QUERY FIELDS - query.id.endsWith('connection') - ? data.queries.connections.push(query) - : data.queries.fields.push(query) + data.queries.push(query) }) ) @@ -449,8 +441,7 @@ export default async function processSchemas(idl, previewsPerVersion) { data.scalars = sortBy(data.scalars.concat(externalScalars), 'name') // sort all the types alphabetically - data.queries.connections = sortBy(data.queries.connections, 'name') - data.queries.fields = sortBy(data.queries.fields, 'name') + data.queries = sortBy(data.queries, 'name') data.mutations = sortBy(data.mutations, 'name') data.objects = sortBy(data.objects, 'name') data.interfaces = sortBy(data.interfaces, 'name') diff --git a/tests/content/graphql.js b/tests/content/graphql.js index 12df3ade59..a47d1daa35 100644 --- a/tests/content/graphql.js +++ b/tests/content/graphql.js @@ -32,32 +32,16 @@ describe('graphql json files', () => { graphqlVersions.forEach((version) => { const schemaJsonPerVersion = readJsonFile(`lib/graphql/static/schema-${version}.json`) // all graphql types are arrays except for queries - graphqlTypes - .filter((type) => type !== 'queries') - .forEach((type) => { - schemaJsonPerVersion[type].forEach((typeObj) => { - const key = JSON.stringify(typeObj) + type - if (typeObjsTested.has(key)) return - typeObjsTested.add(key) + graphqlTypes.forEach((type) => { + schemaJsonPerVersion[type].forEach((typeObj) => { + const key = JSON.stringify(typeObj) + type + if (typeObjsTested.has(key)) return + typeObjsTested.add(key) - const { valid, errors } = revalidator.validate(typeObj, schemaValidator[type]) - const errorMessage = JSON.stringify(errors, null, 2) - expect(valid, errorMessage).toBe(true) - }) + const { valid, errors } = revalidator.validate(typeObj, schemaValidator[type]) + const errorMessage = JSON.stringify(errors, null, 2) + expect(valid, errorMessage).toBe(true) }) - - // check query connections separately - schemaJsonPerVersion.queries.connections.forEach((connection) => { - const { valid, errors } = revalidator.validate(connection, schemaValidator.queryConnections) - const errorMessage = JSON.stringify(errors, null, 2) - expect(valid, errorMessage).toBe(true) - }) - - // check query fields separately - schemaJsonPerVersion.queries.fields.forEach((field) => { - const { valid, errors } = revalidator.validate(field, schemaValidator.queryFields) - const errorMessage = JSON.stringify(errors, null, 2) - expect(valid, errorMessage).toBe(true) }) }) }) diff --git a/tests/rendering/render-caching.js b/tests/rendering/render-caching.js deleted file mode 100644 index 89347d29b3..0000000000 --- a/tests/rendering/render-caching.js +++ /dev/null @@ -1,31 +0,0 @@ -import { expect, jest, test } from '@jest/globals' - -import { get } from '../helpers/e2etest.js' -// import { PREFERRED_LOCALE_COOKIE_NAME } from '../../middleware/detect-language.js' - -describe.skip('in-memory render caching', () => { - jest.setTimeout(30 * 1000) - - test('second render should be a cache hit', async () => { - // Light mode first - const res1 = await get('/en') - // Because these are effectively end-to-end tests, you can't expect - // the first request to be a cache miss because another end-to-end - // test might have "warmed up" this endpoint. - expect(res1.headers['x-middleware-cache']).toBeTruthy() - - const res2 = await get('/en') - expect(res2.headers['x-middleware-cache']).toBeTruthy() - }) - - test('second render should be cache hit with different __PRIMER_DATA__', async () => { - await get('/en') // first render to assert the next render comes from cache - - const res = await get('/en') - expect(res.headers['x-middleware-cache']).toBeTruthy() - - // Now do it all over again but with a light color mode - const res2 = await get('/en') - expect(res2.headers['x-middleware-cache']).toBeTruthy() - }) -}) diff --git a/tests/rendering/server.js b/tests/rendering/server.js index 0cfe7ca7d9..8803be3d49 100644 --- a/tests/rendering/server.js +++ b/tests/rendering/server.js @@ -129,9 +129,9 @@ describe('server', () => { expect(csp.get('style-src').includes("'unsafe-inline'")).toBe(true) }) - test.skip('sets Fastly cache control headers to bypass pages', async () => { + test('sets Fastly cache control headers to bypass pages', async () => { const res = await get('/en') - expect(res.headers['cache-control']).toBe('private, no-store') + expect(res.headers['cache-control']).toBe('public, max-age=600') expect(res.headers['surrogate-key']).toBe(SURROGATE_ENUMS.DEFAULT) }) diff --git a/translations/es-ES/content/actions/examples/using-concurrency-expressions-and-a-test-matrix.md b/translations/es-ES/content/actions/examples/using-concurrency-expressions-and-a-test-matrix.md index 0f1489bb30..dc5233534a 100644 --- a/translations/es-ES/content/actions/examples/using-concurrency-expressions-and-a-test-matrix.md +++ b/translations/es-ES/content/actions/examples/using-concurrency-expressions-and-a-test-matrix.md @@ -1,5 +1,5 @@ --- -title: 'Using concurrency, expressions, and a test matrix' +title: 'Utilizar concurrencia, expresiones y una matriz de pruebas' shortTitle: 'Utilizar concurrencia, expresiones y una matriz de pruebas' intro: 'Cómo utilizar características avanzadas de {% data variables.product.prodname_actions %} para la integración continua (IC).' versions: @@ -34,7 +34,7 @@ topics: {% data reusables.actions.cron-table-entry %} {% data reusables.actions.permissions-table-entry %} {% data reusables.actions.concurrency-table-entry %} -| Running the job on different runners, depending on the repository: | [`runs-on`](/actions/using-jobs/choosing-the-runner-for-a-job)| +| Ejecutar el job en ejecutores diferentes, dependiendo del repositorio: | [`runs-on`](/actions/using-jobs/choosing-the-runner-for-a-job)| {% data reusables.actions.if-conditions-table-entry %} | Using a matrix to create different test configurations: | [`matrix`](/actions/using-jobs/using-a-build-matrix-for-your-jobs)| {% data reusables.actions.checkout-action-table-entry %} @@ -69,7 +69,7 @@ on: pull_request: push: branches: - - gh-readonly-queue/main/** + - main permissions: contents: read @@ -244,7 +244,7 @@ on: -The `on` keyword lets you define the events that trigger when the workflow is run. You can define multiple events here. For more information, see "[Triggering a workflow](/actions/using-workflows/triggering-a-workflow#using-events-to-trigger-workflows)." +La palabra clave `on` te permite definir los eventos que se activan cuando se ejecuta el flujo de trabajo. Puedes definir eventos múltiples aquí. Para obtener más información, consulta la sección "[Activar un flujo de trabajo](/actions/using-workflows/triggering-a-workflow#using-events-to-trigger-workflows)". @@ -268,7 +268,7 @@ Add the `workflow_dispatch` event if you want to be able to manually run this wo -Add the `pull_request` event, so that the workflow runs automatically every time a pull request is created or updated. For more information, see [`pull_request`](/actions/using-workflows/events-that-trigger-workflows#pull_request). +Agrega el evento `pull_request` para que el flujo de trabajo se ejecute automáticamente cada que se cree o actualice una solicitud de cambios. Para obtener más información, consulta [`pull_request`](/actions/using-workflows/events-that-trigger-workflows#pull_request). @@ -277,12 +277,12 @@ Add the `pull_request` event, so that the workflow runs automatically every time ```yaml{:copy} push: branches: - - gh-readonly-queue/main/** + - main ``` -Add the `push` event, so that the workflow runs automatically every time a commit is pushed to a branch matching the filter `gh-readonly-queue/main/**`. For more information, see [`push`](/actions/using-workflows/events-that-trigger-workflows#push). +Add the `push` event, so that the workflow runs automatically every time a commit is pushed to a branch matching the filter `main`. Para obtener más información, consulta [`push`](/actions/using-workflows/events-that-trigger-workflows#push). @@ -310,7 +310,7 @@ concurrency: -Creates a concurrency group for specific events, and uses the `||` operator to define fallback values. For more information, see "[Using concurrency](/actions/using-jobs/using-concurrency)." +Crea un grupo de concurrencia para los eventos específicos y utiliza el operador `||` para definir los valores de reserva. Para obtener más información, consulta la sección "[Utilizar concurrencia](/actions/using-jobs/using-concurrency)". @@ -322,7 +322,7 @@ Creates a concurrency group for specific events, and uses the `||` operator to d -Cancels any currently running job or workflow in the same concurrency group. +Cancela cualquier job o flujo de trabajo concurrentes en el mismo grupo de concurrencia. @@ -358,7 +358,7 @@ Defines a job with the ID `test` that is stored within the `jobs` key. -Configures the job to run on a {% data variables.product.prodname_dotcom %}-hosted runner or a self-hosted runner, depending on the repository running the workflow. In this example, the job will run on a self-hosted runner if the repository is named `docs-internal` and is within the `github` organization. If the repository doesn't match this path, then it will run on an `ubuntu-latest` runner hosted by {% data variables.product.prodname_dotcom %}. For more information on these options see "[Choosing the runner for a job](/actions/using-jobs/choosing-the-runner-for-a-job)." +Configura el job para ejecutarse en un ejecutor hospedado en {% data variables.product.prodname_dotcom %} o en un ejecutor auto-hospedado, dependiendo del repositorio que ejecuta el flujo de trabajo. En este ejemplo, el job se ejecutará en un ejecutor auto-hospedado si se nombra al repositorio `docs-internal` y está dentro de la organización `github`. Si el repositorio no empata con esta ruta, entonces se ejecutará en un ejecutor `ubuntu-latest` hospedado por {% data variables.product.prodname_dotcom %}. Para obtener más información sobre estas opciones, consulta la sección "[Elegir el ejecutor para un job](/actions/using-jobs/choosing-the-runner-for-a-job)". @@ -428,7 +428,7 @@ Creates a matrix named `test-group`, with an array of test groups. These values -Groups together all the steps that will run as part of the `test` job. Each job in a workflow has its own `steps` section. +Groups together all the steps that will run as part of the `test` job. Cada job en un flujo de trabajo tiene su propia sección de `steps`. @@ -552,7 +552,7 @@ This step runs a command to check out LFS objects from the repository. -This step uses the `trilom/file-changes-action` action to gather the files changed in the pull request, so they can be analyzed in the next step. This example is pinned to a specific version of the action, using the `a6ca26c14274c33b15e6499323aac178af06ad4b` SHA. +This step uses the `trilom/file-changes-action` action to gather the files changed in the pull request, so they can be analyzed in the next step. Este ejemplo se fija a una versión específica de la acción utilizando el SHA `a6ca26c14274c33b15e6499323aac178af06ad4b`. diff --git a/translations/es-ES/content/actions/using-workflows/events-that-trigger-workflows.md b/translations/es-ES/content/actions/using-workflows/events-that-trigger-workflows.md index fc54ce4459..2ebd33c564 100644 --- a/translations/es-ES/content/actions/using-workflows/events-that-trigger-workflows.md +++ b/translations/es-ES/content/actions/using-workflows/events-that-trigger-workflows.md @@ -381,6 +381,34 @@ on: types: [created, deleted] ``` +{% ifversion fpt or ghec %} + +### `merge_group` + +| Carga del evento Webhook | Tipos de actividad | `GITHUB_SHA` | `GITHUB_REF` | +| -------------------------------------------------------------------------------------------------- | ------------------ | ---------------------- | ---------------------- | +| [`merge_group`](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads/#merge_group) | `checks_requested` | SHA of the merge group | Ref of the merge group | + +{% data reusables.pull_requests.merge-queue-beta %} + +{% note %} + +**Note**: {% data reusables.developer-site.multiple_activity_types %} Although only the `checks_requested` activity type is supported, specifying the activity type will keep your workflow specific if more activity types are added in the future. For information about each activity type, see "[Webhook events and payloads](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#merge_group)." {% data reusables.developer-site.limit_workflow_to_activity_types %} + +{% endnote %} + +Runs your workflow when a pull request is added to a merge queue, which adds the pull request to a merge group. For more information see "[Merging a pull request with a merge queue](/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/merging-a-pull-request-with-a-merge-queue)". + +For example, you can run a workflow when the `checks_requested` activity has occurred. + +```yaml +on: + merge_group: + types: [checks_requested] + +``` + +{% endif %} ### `hito` | Carga del evento Webhook | Tipos de actividad | `GITHUB_SHA` | `GITHUB_REF` | @@ -399,7 +427,7 @@ Ejecuta tu flujo de trabajo cuando se crea o modifica un hito en el repositorio Si quieres ejecutar tu flujo de trabajo cuando se agregue o elimine una propuesta de un hito, utiliza los tipos de actividad `milestoned` o `demilestoned` para el evento [`issues`](#issues) en su lugar. -Por ejemplo, puedes ejecutar un flujo de trabajo cuando un hito ha sido `abierto` o `eliminado`. +Por ejemplo, puedes ejecutar un flujo de trabajo cuando un hito ha sido `opened` o `deleted`. ```yaml on: @@ -415,7 +443,7 @@ on: {% data reusables.actions.branch-requirement %} -Ejecuta tu flujo de trabajo cuando alguien sube información a una rama que sea la fuente de publicación de {% data variables.product.prodname_pages %} si {% data variables.product.prodname_pages %} se encuentra habilitado para el repositorio. Para obtener más información sobre las fuentes de publicación de {% data variables.product.prodname_pages %}, consulta la sección "[Cojnfigurar una fuente de publicación para tu sitio de GitHub Pages](/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)". Para obtener información acerca de la API de REST, consulta la sección "[Páginas](/rest/reference/repos#pages)". +Ejecuta tu flujo de trabajo cuando alguien sube información a una rama que sea la fuente de publicación de {% data variables.product.prodname_pages %} si {% data variables.product.prodname_pages %} se encuentra habilitado para el repositorio. For more information about {% data variables.product.prodname_pages %} publishing sources, see "[Configuring a publishing source for your GitHub Pages site](/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." Para obtener información acerca de la API de REST, consulta la sección "[Páginas](/rest/reference/repos#pages)". Por ejemplo, puedes ejecutar un flujo de trabajo cuando se produzca el evento `page_build`. @@ -447,14 +475,14 @@ on: {% ifversion fpt or ghec %} {% note %} -**Note**: This event only occurs for {% data variables.product.prodname_projects_v1 %}. +**Nota**: Este evento solo ocurre para {% data variables.product.prodname_projects_v1 %}. {% endnote %} {% endif %} Ejecuta tu flujo de trabajo cuando se crea o modifica un tablero de proyecto. Para encontrar actividad relacionada con tarjetas o columnas en un tablero de proyecto, utiliza los eventos [`project_card`](#project_card) o [`project_column`](#project_column) en su lugar. Para obtener más información acerca de los tableros de proyecto, consulta la sección "[Acerca de los tableros de proyecto](/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)". Para obtener más información sobre las API de tablero de proyecto, consulta la sección de "[Proyecto](/graphql/reference/objects#project)" en la documentación de la API de GraphQL o "[Proyectos](/rest/reference/projects)" en la documentación de la API de REST. -Por ejemplo, puedes ejecutar un flujo de trabajo cuando un proyecto ha sido `creado` o `eliminado`. +Por ejemplo, puedes ejecutar un flujo de trabajo cuando un proyecto ha sido `created` o `deleted`. ```yaml on: @@ -485,7 +513,7 @@ on: {% ifversion fpt or ghec %} {% note %} -**Note**: This event only occurs for {% data variables.product.prodname_projects_v1 %}. +**Nota**: Este evento solo ocurre para {% data variables.product.prodname_projects_v1 %}. {% endnote %} {% endif %} @@ -523,7 +551,7 @@ on: {% ifversion fpt or ghec %} {% note %} -**Note**: This event only occurs for {% data variables.product.prodname_projects_v1 %}. +**Nota**: Este evento solo ocurre para {% data variables.product.prodname_projects_v1 %}. {% endnote %} {% endif %} @@ -548,7 +576,7 @@ on: Ejecuta tu flujo de trabajo cuando el repositorio de tu flujo de trabajo cambia de privado a público. Para obtener más información acerca de la API de REST, consulta la sección "[Editar repositorios](/rest/reference/repos#edit)". -Por ejemplo, puedes ejecutar un flujo de trabajo cuando se produzca el evento `público`. +Por ejemplo, puedes ejecutar un flujo de trabajo cuando se produzca el evento `public`. ```yaml on: @@ -612,7 +640,7 @@ on: pull_request: types: - opened - branches: + branches: - 'releases/**' ``` @@ -625,7 +653,7 @@ on: pull_request: types: - opened - branches: + branches: - 'releases/**' paths: - '**.js' @@ -670,7 +698,7 @@ on: pull_request: types: - opened - branches: + branches: - 'releases/**' paths: - '**.js' @@ -809,7 +837,7 @@ on: pull_request_target: types: - opened - branches: + branches: - 'releases/**' ``` @@ -822,7 +850,7 @@ on: pull_request_target: types: - opened - branches: + branches: - 'releases/**' paths: - '**.js' @@ -867,7 +895,7 @@ on: pull_request_target: types: - opened - branches: + branches: - 'releases/**' paths: - '**.js' @@ -896,13 +924,13 @@ jobs: ### `subir` -| Carga del evento Webhook | Tipos de actividad | `GITHUB_SHA` | `GITHUB_REF` | -| ------------------------------------------------------------------------------------- | ------------------ | -------------------------------------------------------------------------------------------------------------------------------- | --------------- | -| [`subir`](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads/#push) | n/a | When you delete a branch, the SHA in the workflow run (and its associated refs) reverts to the default branch of the repository. | Ref actualizado | +| Carga del evento Webhook | Tipos de actividad | `GITHUB_SHA` | `GITHUB_REF` | +| ------------------------------------------------------------------------------------- | ------------------ | -------------------------------------------------------------------------------------------------------------------------------- | ---------------------- | +| [`subir`](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads/#push) | n/a | When you delete a branch, the SHA in the workflow run (and its associated refs) reverts to the default branch of the repository. | Referencia actualizada | {% note %} -**Nota:** La carga disponible del webhook para las Acciones de GitHub no incluye los atributos `añadidos`, `eliminados`, y `modificados` en el objeto de `confirmación`. Puedes recuperar el objeto de confirmación completo utilizando la API. Para obtener información, consulta la sección "[Confirmación](/graphql/reference/objects#commit)" en la documentación de la API de GraphQL o "[Obtén una confirmación](/rest/reference/commits#get-a-commit)" en la documentación de la API de REST. +**Nota:** La carga disponible del webhook para las acciones de GitHub no incluye los atributos `added`, `removed` y `modified` en el objeto `commit`. Puedes recuperar el objeto de confirmación completo utilizando la API. Para obtener información, consulta la sección "[Confirmación](/graphql/reference/objects#commit)" en la documentación de la API de GraphQL o "[Obtén una confirmación](/rest/reference/commits#get-a-commit)" en la documentación de la API de REST. {% endnote %} @@ -929,26 +957,26 @@ on: #### Ejecutar tu flujo de trabajo solo cuando ocurra una subida de información a ramas específicas -Puedes utilizar el filtro `branches` o `branches-ignore` para configurar tu flujo de trabajo para que solo se ejecute cuando se suben ramas específicas. Para obtener más información, consulta la sección "[Sintaxis de flujo de trabajo para las GitHub Actions](/actions/learn-github-actions/workflow-syntax-for-github-actions#onpushbranchestagsbranches-ignoretags-ignore)". +Puedes utilizar el filtro `branches` o `branches-ignore` para configurar tu flujo de trabajo para que solo se ejecute cuando se suben ramas específicas. Para obtener más información, consultala sección "[Sintaxis de flujo de trabajo para GitHub Actions](/actions/learn-github-actions/workflow-syntax-for-github-actions#onpushbranchestagsbranches-ignoretags-ignore)". Por ejemplo, este flujo de trabajo se ejecutará cuando alguien suba información a la rama `main` o a alguna que inicie con `releases/`. ```yaml on: push: - branches: + branches: - 'main' - 'releases/**' ``` {% note %} -**Nota:** {% data reusables.actions.branch-paths-filter %} Por ejemplo, el siguiente flujo de trabajo solo se ejecutará cuando se suba información que incluya un cambio a un archivo de JavaScript (`.js`) en una rama cuyo nombre inicie con `releases/`: +**Nota:** {% data reusables.actions.branch-paths-filter %} Por ejemplo, el siguiente flujo de trabajo solo se ejecutará cuando se haga una subida que incluya un cambio a un archivo de JavaScript (`.js`) a una rama cuyo nombre inicie con `releases/`: ```yaml on: push: - branches: + branches: - 'releases/**' paths: - '**.js' @@ -958,14 +986,14 @@ on: #### Ejecutar tu flujo de trabajo únicamente cuando ocurra una subida de etiquetas específicas -Puedes utilizar el filtro `tags` o `tags-ignore` para configurar tu flujo de trabajo para que solo se ejecute cuando se suban etiquetas específicas. Para obtener más información, consulta la sección "[Sintaxis de flujo de trabajo para las GitHub Actions](/actions/learn-github-actions/workflow-syntax-for-github-actions#onpushbranchestagsbranches-ignoretags-ignore)". +Puedes utilizar el filtro `tags` o `tags-ignore` para configurar tu flujo de trabajo para que solo se ejecute cuando se suban etiquetas específicas. Para obtener más información, consultala sección "[Sintaxis de flujo de trabajo para GitHub Actions](/actions/learn-github-actions/workflow-syntax-for-github-actions#onpushbranchestagsbranches-ignoretags-ignore)". Por ejemplo, este flujo de trabajo se ejecutará cuando alguien suba una etiqueta que inicie con `v1.`. ```yaml on: push: - tags: + tags: - v1.** ``` @@ -984,12 +1012,12 @@ on: {% note %} -**Nota:** {% data reusables.actions.branch-paths-filter %} Por ejemplo, el siguiente flujo de trabajo solo se ejecutará cuando se suba información que incluya un cambio a un archivo de JavaScript (`.js`) en una rama cuyo nombre inicie con `releases/`: +**Nota:** {% data reusables.actions.branch-paths-filter %} Por ejemplo, el siguiente flujo de trabajo solo se ejecutará cuando se haga una subida que incluya un cambio a un archivo de JavaScript (`.js`) a una rama cuyo nombre inicie con `releases/`: ```yaml on: push: - branches: + branches: - 'releases/**' paths: - '**.js' @@ -1035,7 +1063,7 @@ on: {% note %} -**Nota:** Los flujos de trabajo no se ejecutan para los tipos de actividad `created`, `edited`, o `deleted` en los borradores de lanzamiento. Cuando creas tu lanzamiento mediante el la IU del buscador de {% data variables.product.product_name %}, este podría guardarse automáticamente como borrador. +**Nota:** Los flujos de trabajo no se ejecutan para los tipos de actividad `created`, `edited` o `deleted` en los borradores de lanzamiento. Cuando creas tu lanzamiento mediante el la IU del buscador de {% data variables.product.product_name %}, este podría guardarse automáticamente como borrador. {% endnote %} @@ -1047,7 +1075,7 @@ on: Ejecuta tu flujo de trabajo cuando ocurre una actividad de lanzamiento en tu repositorio. Para obtener más información sobre las API de lanzamiento, consulta la sección de "[Lanzamiento](/graphql/reference/objects#release)" en la documentación de la API de GraphQL o "[Lanzamientos](/rest/reference/releases)" en la documentación de la API de REST. -Por ejemplo, puedes ejecutar un flujo de trabajo cuando un lanzamiento ha sido `publish`. +Por ejemplo, puedes ejecutar un flujo de trabajo cuando un lanzamiento está como `published`. ```yaml on: @@ -1110,9 +1138,9 @@ jobs: ### `programación` -| Carga del evento Webhook | Tipos de actividad | `GITHUB_SHA` | `GITHUB_REF` | -| ------------------------ | ------------------ | --------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| n/a | n/a | Última confirmación en la rama predeterminada | Rama por defecto | Cuando se establece la ejecución del flujo de trabajo programado. Un flujo de trabajo programado usa[sintaxis cron POSIX](https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_07). Para obtener más información, consulta "[Activar un flujo de trabajo con eventos](/articles/configuring-a-workflow/#triggering-a-workflow-with-events)". | +| Carga del evento Webhook | Tipos de actividad | `GITHUB_SHA` | `GITHUB_REF` | +| ------------------------ | ------------------ | --------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| n/a | n/a | Última confirmación en la rama predeterminada | Rama por defecto | Cuando se establece la ejecución del flujo de trabajo programado. Un flujo de trabajo programado usa [sintaxis cron POSIX](https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_07). Para obtener más información, consulta "[Activar un flujo de trabajo con eventos](/articles/configuring-a-workflow/#triggering-a-workflow-with-events)". | {% data reusables.actions.schedule-delay %} @@ -1120,7 +1148,7 @@ El evento `schedule` te permite activar un flujo de trabajo en una hora programa {% data reusables.repositories.actions-scheduled-workflow-example %} -La sintaxis de cron tiene cinco campos separados por un espacio, y cada campo representa una unidad de tiempo. +La sintaxis de cron tiene cinco campos separados por un espacio y cada campo representa una unidad de tiempo. ``` ┌───────────── minuto (0 - 59) @@ -1149,7 +1177,7 @@ Puedes utilizar estos operadores en cualquiera de los cinco campos: {% endnote %} -Puedes usar [contrab guru](https://crontab.guru/) para generar tu sintaxis de cron y confirmar a qué hora se ejecutará. Para que puedas comenzar, hay también una lista de [ejemplos de crontab guru](https://crontab.guru/examples.html). +Puedes utilizar [contrab guru](https://crontab.guru/) para generar tu sintaxis de cron y confirmar a qué hora se ejecutará. Para ayudarte a comenzar, también hay una lista de [ejemplos de crontab guru](https://crontab.guru/examples.html). Las notificaciones para los flujos de trabajo programados se envían al usuario que modificó por última vez la sintaxis de cron en el archivo de flujo de trabajo. Para obtener más información, consulta la sección "[Notificaciones para las ejecuciones de flujo de trabajo](/actions/monitoring-and-troubleshooting-workflows/notifications-for-workflow-runs)". @@ -1163,7 +1191,7 @@ Las notificaciones para los flujos de trabajo programados se envían al usuario Ejecuta tu flujo de trabajo cuando cambia el estado de una confirmación de Git. Por ejemplo, las confirmaciones pueden marcarse como `error`, `failure`, `pending` o `success`. Si quieres proporcionar más detalles sobre el cambio de estado, puede que quieras utilizar el evento [`check_run`](#check_run). Para obtener más información sobre las API de estado de confirmación, consulta la sección "[Estado](/graphql/reference/objects#statue)" en la documentación de la API de GraphQL o "[Estados](/rest/reference/commits#commit-statuses)" en la documentación de la API de REST. -Por ejemplo, puedes ejecutar un flujo de trabajo cuando se produzca el evento `status`. +Por ejemplo, puedes ejecutar un flujo de trabajo cuando se produzca el evento de `status`. ```yaml on: @@ -1192,7 +1220,7 @@ jobs: | Carga del evento Webhook | Tipos de actividad | `GITHUB_SHA` | `GITHUB_REF` | | ----------------------------------------------------------------------------------------- | ------------------ | --------------------------------------------- | ------------------- | -| [`observar`](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads/#watch) | - `started` | Última confirmación en la rama predeterminada | Rama predeterminada | +| [`observar`](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads/#watch) | - `comenzado` | Última confirmación en la rama predeterminada | Rama predeterminada | {% note %} @@ -1252,26 +1280,26 @@ Puedes configurar propiedades de entrada definidas personalmente, valores de ent Este ejemplo define las entradas llamadas `logLevel`, `tags` y `environment`. Pasarás los valores para estas entradas al flujo de trabajo cuando lo ejecutes. Entonces, este flujo de trabajo imprime los valores en la bitácora, utilizando las propiedades de contexto {% ifversion actions-unified-inputs %}`inputs.logLevel`, `inputs.tags` y `inputs.environment`{% else %}`github.event.inputs.logLevel`, `github.event.inputs.tags` y `github.event.inputs.environment`{% endif %}. ```yaml -on: +on: workflow_dispatch: inputs: logLevel: - description: 'Log level' + description: 'Log level' required: true - default: 'warning' + default: 'warning' type: choice options: - info - warning - - debug + - debug tags: description: 'Test scenario tags' - required: false + required: false type: boolean environment: description: 'Environment to run tests against' type: environment - required: true + required: true jobs: log-the-inputs: @@ -1373,7 +1401,7 @@ on: #### Ejecutar un flujo de trabajo con base en la conclusión de otro flujo de trabjo -Los flujos de trabajo se activan sin importar la conclusión del flujo previo. Si quieres ejecutar un job o paso con base en el resultado del flujo de trabajo desencadenante, puedes utilizar una condicional con la propiedad `github.event.workflow_run.conclusion`. Por ejemplo, esta ejecución de flujo de trabajo se ejecutará cada que otro flujo de nombre "Build" se complete, pero el job `on-success` solo se ejecutará si "Build" se completa con éxito y el job `on-failure` solo se ejecutará si el flujo de trabajo "Build" falla: +Los flujos de trabajo se activan sin importar la conclusión del flujo previo. Si quieres ejecutar un job o paso con base en el resultado del flujo de trabajo desencadenante, puedes utilizar una condicional con la propiedad `github.event.workflow_run.conclusion`. Por ejemplo, esta ejecución de flujo de trabajo se ejecutará cada que se complete otro flujo de nombre "Build", pero el job `on-success` solo se ejecutará si "Build" se completa con éxito y el job `on-failure` solo se ejecutará si el flujo de trabajo "Build" falla: ```yaml on: @@ -1396,7 +1424,7 @@ jobs: #### Ltimitar tu flujo de trabajo para que se ejecute con base a las ramas -Puedes utilizar el filtro `branches` o `branches-ignore` para especificar en qué ramas se debe ejecutar el flujo de trabajo activador para poder activar tu flujo de trabajo. Para obtener más información, consulta la sección "[Sintaxis de flujo de trabajo para las GitHub Actions](/actions/learn-github-actions/workflow-syntax-for-github-actions#onworkflow_runbranchesbranches-ignore)". Por ejemplo, un flujo de trabajo con el siguiente activador solo se ejecutará cuando el flujo de trabajo que se llama `Build` se ejecute en una rama llamada `canary`. +Puedes utilizar el filtro `branches` o `branches-ignore` para especificar en qué ramas se debe ejecutar el flujo de trabajo activador para poder activar tu flujo de trabajo. Para obtener más información, consulta la sección "[Sintaxis de flujo de trabajo para las GitHub Actions](/actions/learn-github-actions/workflow-syntax-for-github-actions#onworkflow_runbranchesbranches-ignore)". Por ejemplo, un flujo de trabajo con el siguiente activador solo se ejecutará cuando aquél que se llama `Build` se ejecute en una rama llamada `canary`. ```yaml on: @@ -1408,7 +1436,7 @@ on: #### Utilizar datos desde el flujo de trabajo llamante -Puedes acceder a la [carga útil del evento `workflow_run`](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_run) que corresponde al flujo de trabajo que activó el tuyo. Por ejemplo, si tu flujo de trabajo activador genera artefactos, los flujos de trabajo que se activen con el evento `workflow_run` podrán acceder a estos artefactos. +Puedes acceder a la [carga útil del evento `workflow_run`](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_run) que corresponde al flujo de trabajo que activó el tuyo. Por ejemplo, si tu flujo de trabajo activador genera artefactos, aquellos que se activen con el evento `workflow_run` podrán acceder a estos artefactos. El siguiente flujo de trabajo carga datos como un artefacto. (En este ejemplo simplificado, los datos son el número de la solicitud de cambios). @@ -1422,7 +1450,7 @@ jobs: upload: runs-on: ubuntu-latest - steps: + steps: - name: Save PR number env: PR_NUMBER: {% raw %}${{ github.event.number }}{% endraw %} @@ -1435,7 +1463,7 @@ jobs: path: pr/ ``` -Cuando se complete una ejecución del flujo de trabajo anterior, este activará una ejecución del siguiente. El siguiente flujo de trabajo utiliza el contexto `github.event.workflow_run` y la API de REST de {% data variables.product.product_name %} para descargar el artefacto que cargó el flujo de trabajo anterior, descomprime el artefacto descargado y comenta en la solicitud de cambios cuyo número se haya subido como un artefacto. +Cuando se complete una ejecución del flujo de trabajo anterior, esta activará una ejecución de la siguiente. El siguiente flujo de trabajo utiliza el contexto `github.event.workflow_run` y la API de REST de {% data variables.product.product_name %} para descargar el artefacto que cargó el flujo de trabajo anterior, descomprime el artefacto descargado y comenta en la solicitud de cambios cuyo número se haya subido como un artefacto. ```yaml name: Use the data diff --git a/translations/es-ES/content/admin/configuration/configuring-network-settings/configuring-dns-nameservers.md b/translations/es-ES/content/admin/configuration/configuring-network-settings/configuring-dns-nameservers.md index cb3e07f605..f3bb8d9e3c 100644 --- a/translations/es-ES/content/admin/configuration/configuring-network-settings/configuring-dns-nameservers.md +++ b/translations/es-ES/content/admin/configuration/configuring-network-settings/configuring-dns-nameservers.md @@ -31,7 +31,7 @@ Los servidores de nombres que especifiques deben resolver el nombre del host de {% data reusables.enterprise_installation.ssh-into-instance %} -2. To edit your nameservers, use the `ghe-setup-network` command in visual mode. Para obtener más información, consulta la sección "[Utilidades de línea de comandos](/admin/configuration/configuring-your-enterprise/command-line-utilities#ghe-setup-network)". +2. Para editar tus servidores de nombre, utiliza el comando `ghe-setup-network` en modo visual. Para obtener más información, consulta la sección "[Utilidades de línea de comandos](/admin/configuration/configuring-your-enterprise/command-line-utilities#ghe-setup-network)". ```shell ghe-setup-network -v diff --git a/translations/es-ES/content/codespaces/managing-your-codespaces/managing-encrypted-secrets-for-your-codespaces.md b/translations/es-ES/content/codespaces/managing-your-codespaces/managing-encrypted-secrets-for-your-codespaces.md index 61de8df1e6..b4be837c78 100644 --- a/translations/es-ES/content/codespaces/managing-your-codespaces/managing-encrypted-secrets-for-your-codespaces.md +++ b/translations/es-ES/content/codespaces/managing-your-codespaces/managing-encrypted-secrets-for-your-codespaces.md @@ -77,19 +77,19 @@ Puedes actualizar el valor de un secreto existente y puedes cambiar qué reposit ## Utilizar secretos -A secret is exported as an environment variable into the user's terminal session. +El secreto se exporta como una variable de ambiente en la sesión de la terminal del usuario. - ![Displaying the value of an exported secret in the terminal](/assets/images/help/codespaces/exported-codespace-secret.png) + ![Mostrar el valor de un secreto exportado en la terminal](/assets/images/help/codespaces/exported-codespace-secret.png) -You can use secrets in a codespace after the codespace is built and is running. For example, a secret can be used: +Puedes utilizar secretos en un codespace después de que este se compile y esté ejecutándose. Por ejemplo, un secreto puede utilizarse: -* When launching an application from the integrated terminal or ssh session. -* Within a dev container lifecycle script that is run after the codespace is running. For more information about dev container lifecycle scripts, see the documentation on containers.dev: [Specification](https://containers.dev/implementors/json_reference/#lifecycle-scripts). +* Al lanzar una aplicación desde la terminal integrada o sesión ssh. +* Dentro de un script de ciclo de vida de un contenedor dev que se ejecuta después de que el codespace esté en ejecución. Para obtener más información sobre los scripts de ciclo de vida de contenedor dev, consulta la documentación sobre containers.dev: [Especificación](https://containers.dev/implementors/json_reference/#lifecycle-scripts). -Codespace secrets cannot be used during: +Los secretos de los codespaces no pueden utilizarse durante: -* Codespace build time (that is, within a Dockerfile or custom entry point). -* Within a dev container feature. For more information, see the `features` attribute in the documentation on containers.dev: [Specification](https://containers.dev/implementors/json_reference/#general-properties). +* El tiempo de compilación de un codespace (es decir, dentro de un Dockerfile o punto de entrada personalizado). +* Dentro de una característica de contenedor dev. Para obtener más información, consulta el atributo de `features` en la documentación de containers.dev: [Especificación](https://containers.dev/implementors/json_reference/#general-properties). ## Leer más diff --git a/translations/es-ES/content/communities/documenting-your-project-with-wikis/adding-or-editing-wiki-pages.md b/translations/es-ES/content/communities/documenting-your-project-with-wikis/adding-or-editing-wiki-pages.md index e2d72ab4f2..2e286e1f85 100644 --- a/translations/es-ES/content/communities/documenting-your-project-with-wikis/adding-or-editing-wiki-pages.md +++ b/translations/es-ES/content/communities/documenting-your-project-with-wikis/adding-or-editing-wiki-pages.md @@ -34,7 +34,7 @@ shortTitle: Administrar las páginas de wiki {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-wiki %} 4. Desplázate hasta la página que deseas cambiar con la ayuda de la barra lateral wiki. En el ángulo superior derecho de la página, haz clic en **Edite** (Editar). ![Botón de la página para editar wikis](/assets/images/help/wiki/wiki_edit_page_button.png) -5. Use the text editor to edit the page's content. ![Wiki WYSIWYG](/assets/images/help/wiki/wiki_wysiwyg.png) +5. Utiliza el editor de texto para editar el contenido de la página. ![Wiki WYSIWYG](/assets/images/help/wiki/wiki_wysiwyg.png) 6. Escribe un mensaje de confirmación que describa tus cambios. ![Mensaje de confirmación de la wiki](/assets/images/help/wiki/wiki_commit_message.png) 7. Para confirmar tus cambios en la wiki, haz clic en **Guardar página**. diff --git a/translations/es-ES/content/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-personal-account.md b/translations/es-ES/content/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-personal-account.md index 284dadf664..7ba703f277 100644 --- a/translations/es-ES/content/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-personal-account.md +++ b/translations/es-ES/content/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-personal-account.md @@ -34,22 +34,22 @@ Cuando bloqueas a un usuario: - Se te elimina como colaborador en sus repositorios - Ya no contarás con su patrocinio - Cualquier invitación de sucesor de una cuenta o repositorio que se haga a o que provenga del usuario bloqueado se cancela -- The user is removed as a collaborator from all the projects and {% data variables.projects.projects_v1_boards %} owned by you -- You are removed as a collaborator from all the projects and {% data variables.projects.projects_v1_boards %} owned by the user +- El usuario se eliminó como un colaborador de todos los proyectos y {% data variables.projects.projects_v1_boards %} que te pertenecen +- Se te eliminó como colaborador de todos los proyectos y {% data variables.projects.projects_v1_boards %} que le pertenecen al usuario Después de que hayas bloqueado a un usuario, no podrá: - Enviarte notificaciones, incluso al [@mencionar](/articles/basic-writing-and-formatting-syntax/#mentioning-people-and-teams) tu nombre de usuario -- Los comentarios o ediciones a los informes de problemas o solicitudes de extracción que has creado +- Comentar en o editar las propuestas o solicitudes de cambios que hayas creado - Reaccionar a tus comentarios en reportes de problemas, solicitudes de extracción y confirmaciones - Seguir o ver tu contenido en el feed de sus actividades -- Se te asigna a los informes de problemas o solicitudes de extracción +- Asignarte a las propuestas o solicitudes de cambios - Invitarte para que seas colaborador en sus repositorios - Invitarte como colaborador en una asesoría de seguridad - Realizar referencias cruzadas con tus repositorios en comentarios - Bifurcar, observar, fijar o marcar con estrella a tus repositorios - Patrocinarte -- Add you as a collaborator on their projects and {% data variables.projects.projects_v1_boards %} -- Make changes to your public projects and {% data variables.projects.projects_v1_boards %} +- Agregarte como colaborador en sus proyectos y {% data variables.projects.projects_v1_boards %} +- Hacer cambios a tus proyectos públicos y {% data variables.projects.projects_v1_boards %} En los repositorios que te pertenecen, los usuarios bloqueados tampoco podrán: - Abrir propuestas diff --git a/translations/es-ES/content/developers/webhooks-and-events/webhooks/webhook-events-and-payloads.md b/translations/es-ES/content/developers/webhooks-and-events/webhooks/webhook-events-and-payloads.md index 13bc9ea541..00d8100cb1 100644 --- a/translations/es-ES/content/developers/webhooks-and-events/webhooks/webhook-events-and-payloads.md +++ b/translations/es-ES/content/developers/webhooks-and-events/webhooks/webhook-events-and-payloads.md @@ -17,13 +17,9 @@ topics: shortTitle: Eventos de webhook & cargas útiles --- -{% ifversion fpt or ghec %} - -{% endif %} - {% data reusables.webhooks.webhooks_intro %} -Puedes crear webhooks que se suscriban a los eventos listados en esta página. Cada evento de webhook incluye una descripción de las propiedades de dicho webhook y un ejemplo de carga útil. Para obtener más información, consulta "[Crear webhooks](/webhooks/creating/)". +Puedes crear webhooks que se suscriban a los eventos listados en esta página. Cada evento de webhook incluye una descripción de las propiedades de dicho webhook y un ejemplo de carga útil. Para obtener más información, consulta la sección "[Crear webhooks](/webhooks/creating/)". ## Propuiedades comunes del objeto de la carga útil del webhook @@ -101,7 +97,7 @@ También, el `User-Agent` para las solicitudes tendrá el prefijo `GitHub-Hooksh > } ``` -{% ifversion fpt or ghes > 3.2 or ghae or ghec %} +{% ifversion fpt or ghes > 3.3 or ghae or ghec %} ## branch_protection_rule Actividad relacionada con una regla de protección de rama. Para obtener más información, consulta la sección "[Acerca de las reglas de protección de rama](/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-rules)". @@ -219,7 +215,7 @@ Se sincronizó una Git ref exitosamente en una réplica de caché. Para obtener {% data reusables.webhooks.repo_desc %} {% data reusables.webhooks.org_desc %} {% data reusables.webhooks.app_desc %} -`sender` | `object` | Si la `action` está como `reopened_by_user` o `closed_by_user`, el objeto que sea el `sender` será el usuario que activó el evento. El objeto `sender` está {% ifversion fpt or ghec %}`github` {% elsif ghes or ghae %}`github-enterprise` {% else %}vacío{% endif %} para el resto de las acciones. +`sender` | `object` | Si la `action` está como `reopened_by_user` o `closed_by_user`, el objeto que sea el `sender` será el usuario que activó el evento. El objeto `sender` {% ifversion fpt or ghec %}es `github`{% elsif ghes or ghae %}es `github-enterprise`{% else %}está vacío{% endif %} para el resto de las acciones. ### Ejemplo de carga útil del webhook @@ -382,7 +378,7 @@ Los eventos de webhook se desencadenan basándose en la especificidad del domini | ---------------------------------- | ----------- | ----------------------------------------------------------------------------------------------- | | `Acción` | `secuencia` | La acción realizada. Puede ser `created`. | | `deployment_status` | `objeto` | El [estado del despliegue](/rest/reference/deployments#list-deployment-statuses). | -| `deployment_status["state"]` | `secuencia` | El nuevo estado. Puede ser `pending`, `success`, `failure`, o `error`. | +| `deployment_status["state"]` | `secuencia` | El estado nuevo. Puede ser `pending`, `success`, `failure`, o `error`. | | `deployment_status["target_url"]` | `secuencia` | El enlace opcional agregado al estado. | | `deployment_status["description"]` | `secuencia` | La descripción opcional legible para las personas que se agrega al estado. | | `deployment` | `objeto` | El [despliegue](/rest/reference/deployments#list-deployments) con el que se asocia este estado. | @@ -712,6 +708,41 @@ Para obtener una descripción detallada de esta carga útil y de aquella para ca {{ webhookPayloadsForCurrentVersion.membership.removed }} +{% ifversion fpt or ghec %} + +## merge_group + +{% data reusables.pull_requests.merge-queue-beta %} + +Relacionado activamente con grupos de fusión en una cola de fusión. El tipo de actividad se especifica en la propiedad de la acción del objeto de la carga útil. + + +### Disponibilidad + +- Webhooks de repositorio +- Webhooks de organización +- {% data variables.product.prodname_github_apps %} con el permiso `merge_queues` + +### Objeto de carga útil del webhook + +| Clave | Tipo | Descripción | +| ----------------------- | ----------- | ---------------------------------------------------------------------------- | +| `Acción` | `secuencia` | La acción que se realizó. Actualmente, solo puede ser `checks_requested`. | +| `merge_group` | `objeto` | El grupo de fusión. | +| `merge_group[head_sha]` | `secuencia` | El SHA del grupo de fusión. | +| `merge_group[head_ref]` | `secuencia` | La referencia completa del grupo de fusión. | +| `merge_group[base_ref]` | `secuencia` | La referencia completa de la rama a la cual se fusionará el grupo de fusión. | +{% data reusables.webhooks.repo_desc %} +{% data reusables.webhooks.org_desc %} +{% data reusables.webhooks.app_desc %} +{% data reusables.webhooks.sender_desc %} + +### Ejemplo de carga útil del webhook + +{{ webhookPayloadsForCurrentVersion.merge_group.checks_requested }} + +{% endif %} + ## meta Se eliminó el evento para el cual se configuró este webhook. Este evento únicamente escuchará los cambios del gancho particular en el cual se instaló. Por lo tanto, debe seleccionarse para cada gancho para el cual quieras recibir metaeventos. @@ -895,7 +926,7 @@ Actividad relacionada con el {% data variables.product.prodname_registry %}. {% {% ifversion projects-v2 %} {% note %} -**Note**: This event only occurs for {% data variables.product.prodname_projects_v1 %}. +**Nota**: Este evento solo ocurre para {% data variables.product.prodname_projects_v1 %}. {% endnote %} {% endif %} @@ -927,7 +958,7 @@ Actividad relacionada con el {% data variables.product.prodname_registry %}. {% {% ifversion projects-v2 %} {% note %} -**Note**: This event only occurs for {% data variables.product.prodname_projects_v1 %}. +**Nota**: Este evento solo ocurre para {% data variables.product.prodname_projects_v1 %}. {% endnote %} {% endif %} @@ -957,7 +988,7 @@ Actividad relacionada con el {% data variables.product.prodname_registry %}. {% {% ifversion projects-v2 %} {% note %} -**Note**: This event only occurs for {% data variables.product.prodname_projects_v1 %}. +**Nota**: Este evento solo ocurre para {% data variables.product.prodname_projects_v1 %}. {% endnote %} {% endif %} @@ -980,11 +1011,11 @@ Actividad relacionada con el {% data variables.product.prodname_registry %}. {% {% note %} -**Nota:** Los eventos de webhook para los {% data variables.projects.projects_v2 %} se encuentran actualmente en beta y están sujetos a cambios. To share feedback about {% data variables.projects.projects_v2 %} webhooks with {% data variables.product.product_name %}, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405). +**Nota:** Los eventos de webhook para los {% data variables.projects.projects_v2 %} se encuentran actualmente en beta y están sujetos a cambios. Para compartir la retroalimentación sobre {% data variables.projects.projects_v2 %} los webhooks con {% data variables.product.product_name %}, consulta el [Debate de retroalimentación de webhook de proyectos](https://github.com/orgs/community/discussions/17405). {% endnote %} -Activity related to items in a {% data variables.projects.project_v2 %}. {% data reusables.webhooks.action_type_desc %} For more information, see "[About {% data variables.projects.projects_v2 %}](/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)." +Actividad relacionada con los elementos en un {% data variables.projects.project_v2 %}. {% data reusables.webhooks.action_type_desc %} Para obtener más información, consulta la sección "[Acerca de los {% data variables.projects.projects_v2 %}](/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)". ### Disponibilidad @@ -1438,7 +1469,7 @@ Solo puedes crear un webhook de patrocinio en {% data variables.product.prodname | ------------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `id` | `número` | El identificador único del estado. | | `sha` | `secuencia` | El SHA de la confirmación. | -| `state` | `secuencia` | El nuevo estado. Puede ser `pending`, `success`, `failure`, o `error`. | +| `state` | `secuencia` | El estado nuevo. Puede ser `pending`, `success`, `failure`, o `error`. | | `descripción` | `secuencia` | La descripción opcional legible para las personas que se agrega al estado. | | `url_destino` | `secuencia` | El enlace opcional agregado al estado. | | `branches` | `arreglo` | Un conjunto de objetos de la rama que contiene el SHA del estado. Cada rama contiene el SHA proporcionado, pero éste puede ser o no el encabezado de la rama. El conjunto incluye un máximo de 10 ramas. | @@ -1547,7 +1578,7 @@ El actor del evento es el [usuario](/rest/reference/users) que marcó el reposit {% ifversion fpt or ghes or ghec %} ## workflow_dispatch -Este evento ocurre cuando alguien activa una ejecución de flujo de trabajo en GitHub o cuando envía una solicitud de tipo `POST` a la terminal [Crear un evento de envío de flujo de trabajo](/rest/reference/actions/#create-a-workflow-dispatch-event)". Para obtener más información, consulta "[Eventos que activan los flujos de trabajo](/actions/reference/events-that-trigger-workflows#workflow_dispatch)". +Este evento ocurre cuando alguien activa una ejecución de flujo de trabajo en GitHub o cuando envía una solicitud de tipo `POST` a la terminal [Crear un evento de envío de flujo de trabajo](/rest/reference/actions/#create-a-workflow-dispatch-event)". Para obtener más información, consulta la sección "[Eventos que activan flujos de trabajo](/actions/reference/events-that-trigger-workflows#workflow_dispatch)". ### Disponibilidad @@ -1596,7 +1627,7 @@ Este evento ocurre cuando alguien activa una ejecución de flujo de trabajo en G {% ifversion fpt or ghes or ghec %} ## workflow_run -Cuando una ejecución de flujo de trabajo de {% data variables.product.prodname_actions %} se solicita o se completa. Para obtener más información, consulta "[Eventos que activan los flujos de trabajo](/actions/reference/events-that-trigger-workflows#workflow_run)". +Cuando una ejecución de flujo de trabajo de {% data variables.product.prodname_actions %} se solicita o se completa. Para obtener más información, consulta la sección "[Eventos que activan flujos de trabajo](/actions/reference/events-that-trigger-workflows#workflow_run)". ### Disponibilidad diff --git a/translations/es-ES/content/discussions/collaborating-with-your-community-using-discussions/about-discussions.md b/translations/es-ES/content/discussions/collaborating-with-your-community-using-discussions/about-discussions.md index 898860ec9a..1a73a4aeba 100644 --- a/translations/es-ES/content/discussions/collaborating-with-your-community-using-discussions/about-discussions.md +++ b/translations/es-ES/content/discussions/collaborating-with-your-community-using-discussions/about-discussions.md @@ -21,7 +21,7 @@ Puedes utilizar los debates del repositorio para hablar sobre temas que sean esp No necesitas cerrar un debate de la misma forma en que cierras una propuesta o una solicitud de cambios. -If a repository administrator or project maintainer enables {% data variables.product.prodname_discussions %} for a repository, anyone who has access to the repository can create and participate in discussions for the repository. Si un propietario de organización habilita los {% data variables.product.prodname_discussions %} para esta, cualquiera que pueda ver el repositorio origen puede crear un debate de organización. +Si un administrador de repositorio o mantenedor de proyecto habilita los {% data variables.product.prodname_discussions %} para un repositorio, cualquiera que tenga acceso a él puede crear y participar en los debates del mismo. Si un propietario de organización habilita los {% data variables.product.prodname_discussions %} para esta, cualquiera que pueda ver el repositorio origen puede crear un debate de organización. Los administradores del repositorio y los mantenedores del proyecto pueden administrar los debates y las categorías de los mismos en un repositorio y fijarlos para incrementar la visibilidad de éstos. Los moderadores y colaboradores pueden marcar los comentarios como respuestas, fijar debates, y convertir las propuestas en debates. Del mismo modo, para los debates organizacionales, el rol de un usuario en el repositorio origen determinará cómo puede interactuar dicho usuario con los debates de la organización. Para obtener más información, consulta la sección "[Roles de repositorio para una organización](/organizations/managing-access-to-your-organizations-repositories/repository-roles-for-an-organization)". @@ -29,7 +29,7 @@ Para obtener más información sobre la administración de debates, consulta la ## Acerca de las encuestas -Puedes crear encuestas en la categoría de encuestas para medir el interés en las ideas nuevas y la dirección de los proyectos. Anyone with read access to your repository can create polls, vote in polls, and view their results.{% ifversion fpt or ghec %} Signed out users can view the results of polls in public repositories.{% endif %} +Puedes crear encuestas en la categoría de encuestas para medir el interés en las ideas nuevas y la dirección de los proyectos. Cualquiera con acceso de lectura a tu repositorio puede crear encuestas, votar en ellas y ver sus resultados.{% ifversion fpt or ghec %} Los usuarios que hayan cerrado sesión pueden ver los resultados de las encuestas en los repositorios públicos.{% endif %} Las encuestas requieren una pregunta y por lo menos dos opciones. Puedes agregar un máximo de ocho opciones y estas pueden contener un máximo de 128 caracteres. @@ -63,12 +63,12 @@ Puedes destacar los debates que contengan conversaciones importantes, útiles o ## Compartir retroalimentación -Puedes compartir tu retroalimentación sobre los {% data variables.product.prodname_discussions %} con {% data variables.product.company_short %}. To join the conversation, see [{% data variables.product.prodname_github_community %} discussions](https://github.com/orgs/community/discussions/categories/discussions). +Puedes compartir tu retroalimentación sobre los {% data variables.product.prodname_discussions %} con {% data variables.product.company_short %}. Para unirte a la conversación, consulta la sección [debates de {% data variables.product.prodname_github_community %}](https://github.com/orgs/community/discussions/categories/discussions). ## Leer más - "[Acerca de escribir y dar formato en {% data variables.product.prodname_dotcom %}](/github/writing-on-github/about-writing-and-formatting-on-github)" - "[Buscar debates](/search-github/searching-on-github/searching-discussions)" - "[Acerca de las notificaciones](/github/managing-subscriptions-and-notifications-on-github/about-notifications)" -- "[Moderating comments and conversations](/communities/moderating-comments-and-conversations)"{% ifversion fpt or ghec %} -- "[Maintaining your safety on {% data variables.product.prodname_dotcom %}](/communities/maintaining-your-safety-on-github)"{% endif %} +- "[Moderar los comentarios y las conversaciones](/communities/moderating-comments-and-conversations)"{% ifversion fpt or ghec %} +- "[Mantenier tu seguridad en {% data variables.product.prodname_dotcom %}](/communities/maintaining-your-safety-on-github)"{% endif %} diff --git a/translations/es-ES/content/discussions/collaborating-with-your-community-using-discussions/participating-in-a-discussion.md b/translations/es-ES/content/discussions/collaborating-with-your-community-using-discussions/participating-in-a-discussion.md index 1c8c50a738..3a2e939b6a 100644 --- a/translations/es-ES/content/discussions/collaborating-with-your-community-using-discussions/participating-in-a-discussion.md +++ b/translations/es-ES/content/discussions/collaborating-with-your-community-using-discussions/participating-in-a-discussion.md @@ -14,7 +14,7 @@ shortTitle: Participa en un debate Adicionalmente a comenzar a ver los debates y encuestas, puedes comentar como respuesta al comentario original del autor de dicho debate. También puedes crear un hilo de comentarios si respondes a un comentario individual que otro miembro de la comunidad haya hecho dentro del debate, y reaccionar a los comentarios con emojis. -{% ifversion fpt or ghec %}Puedes bloquear usuarios y reportar contenido ofensivo para mantener un ambiente seguro y agradable para ti mismo en {% data variables.product.product_name %}. For more information, see "[Maintaining your safety on {% data variables.product.prodname_dotcom %}](/communities/maintaining-your-safety-on-github)."{% endif %} +{% ifversion fpt or ghec %}Puedes bloquear usuarios y reportar contenido ofensivo para mantener un ambiente seguro y agradable para ti mismo en {% data variables.product.product_name %}. Para obtener más información, consulta la sección "[Mantener tu seguridad en {% data variables.product.prodname_dotcom %}](/communities/maintaining-your-safety-on-github)."{% endif %} ## Prerrequisitos diff --git a/translations/es-ES/content/discussions/managing-discussions-for-your-community/moderating-discussions.md b/translations/es-ES/content/discussions/managing-discussions-for-your-community/moderating-discussions.md index 7c892d87e3..bee76699aa 100644 --- a/translations/es-ES/content/discussions/managing-discussions-for-your-community/moderating-discussions.md +++ b/translations/es-ES/content/discussions/managing-discussions-for-your-community/moderating-discussions.md @@ -1,6 +1,6 @@ --- title: Moderar los debates -intro: 'You can promote healthy collaboration by marking comments as answers, locking or unlocking discussions, converting issues to discussions, and editing or deleting comments, discussions, and categories that don''t align with your{% ifversion fpt or ghec %} community''s code of conduct{% elsif ghes > 3.5 %} organization''s contribution guidelines{% endif %}.' +intro: 'Puedes promover una colaboración saludable si marcas los comentarios como respuestas, bloqueando o desbloqueando debates, convirtiendo las propuestas en debates y editando o borrando comentarios, debates y categorías que no se alineen con {% ifversion fpt or ghec %} el código de conducta de la comunidad{% elsif ghes > 3.5 %} los lineamientos de contribución de la organización{% endif %}.' permissions: People with triage access to a repository can moderate discussions in the repository. People with triage access to the source repository for organization discussions can moderate discussions in the organization. versions: feature: discussions @@ -9,7 +9,7 @@ versions: ## Acerca de moderar los debates -{% data reusables.discussions.about-discussions %} If you have triage permissions for a repository, you can help moderate that repository's discussions by marking comments as answers, locking discussions that are no longer useful or are damaging to the community, and converting issues to discussions when an idea is still in the early stages of development. De forma similar, si tienes permisos de clasificación para el repositorio origen para los debates de la organización, puedes moderarlos en esta. +{% data reusables.discussions.about-discussions %} Si tienes permisos de clasificación para un repositorio, puedes ayudar a moderar los debates del mismo si marcas los comentarios como respuestas, bloqueas los debates que ya no sean útiles o que dañen a la comunidad y conviertes las propuestas en debates cuando una idea está aún en las primeras etapas de desarrollo. De forma similar, si tienes permisos de clasificación para el repositorio origen para los debates de la organización, puedes moderarlos en esta. ## Marcar un comentario como una respuesta diff --git a/translations/es-ES/content/discussions/quickstart.md b/translations/es-ES/content/discussions/quickstart.md index 3e783568fe..142b40f720 100644 --- a/translations/es-ES/content/discussions/quickstart.md +++ b/translations/es-ES/content/discussions/quickstart.md @@ -10,13 +10,13 @@ shortTitle: Inicio Rápido ## Introducción -{% data variables.product.prodname_discussions %} is a collaborative communication forum for the community around an open source or internal project. Los debates existen para las conversaciones que necesitan ser transparentes y accesibles pero no necesitan rastrearse en un tablero de proyecto y no se relacionan con el código, a diferencia de los {% data variables.product.prodname_github_issues %}. Los debates habilitan las conversaciones abiertas y fluídas en un foro público. +{% data variables.product.prodname_discussions %} es un foro de comunicación colaborativa para la comunidad que circunda un proyecto de código abierto o interno. Los debates existen para las conversaciones que necesitan ser transparentes y accesibles pero no necesitan rastrearse en un tablero de proyecto y no se relacionan con el código, a diferencia de los {% data variables.product.prodname_github_issues %}. Los debates habilitan las conversaciones abiertas y fluídas en un foro público. Los debates proporcionan un espacio para que existan conversaciones colaborativas al conectar y asignar un área más centralizada para conectarse y encontrar información. ## Habilitar los {% data variables.product.prodname_discussions %} en tu repositorio -Repository owners and people with write access can enable {% data variables.product.prodname_discussions %} for a community on their public{% ifversion ghes > 3.5 %}, internal{% endif %} and private repositories. The visibility of a discussion is inherited from the repository the discussion is created in. +Los propietarios de los repositorios y las personas con acceso de escritura pueden habilitar los {% data variables.product.prodname_discussions %} para una comunidad en sus repositorios públicos{% ifversion ghes > 3.5 %}, internos{% endif %} y privados. La visibilidad de un debate se hereda del repositorio del debate en el que esta se crea. Cuando habilitas los {% data variables.product.prodname_discussions %} por primera vez, se te invitará a configurar una publicación de bienvenida. @@ -41,7 +41,7 @@ Puedes darles la bienvenida a tu comunidad y presentarles una forma nueva de com ## Configurar los lineamientos comunitarios para los contribuyentes -En el caso de los debates de repositorio, puedes configurar lineamientos de contribución para fomentar que los colaboradores tengan conversaciones útiles y significativas que sean relevantes para el repositorio. También puedes actualizar el archivo de README del repositorio para comunicar tus expectativas de cuándo deberían los colaboradores abrir una propuesta o un debate. For more information about providing guidelines for your project, see{% ifversion fpt or ghec %} "[Adding a code of conduct to your project](/communities/setting-up-your-project-for-healthy-contributions/adding-a-code-of-conduct-to-your-project)" and{% endif %} "[Setting up your project for healthy contributions](/communities/setting-up-your-project-for-healthy-contributions)." +En el caso de los debates de repositorio, puedes configurar lineamientos de contribución para fomentar que los colaboradores tengan conversaciones útiles y significativas que sean relevantes para el repositorio. También puedes actualizar el archivo de README del repositorio para comunicar tus expectativas de cuándo deberían los colaboradores abrir una propuesta o un debate. Para obtener más información sobre cómo proporcionar lineamientos para tu proyecto, consulta la sección{% ifversion fpt or ghec %} "[Agregar un código de conducta a tu proyecto](/communities/setting-up-your-project-for-healthy-contributions/adding-a-code-of-conduct-to-your-project)" y{% endif %} "[Configurar tu proyecto para que tenga contribuciones saludables](/communities/setting-up-your-project-for-healthy-contributions)". Para el caso de los debates, puedes compartir información sobre cómo participar en tu organización al crear un README de perfil para ella. Para obtener más información, consulta la sección "[Personalizar el perfil de tu organización ](/organizations/collaborating-with-groups-in-organizations/customizing-your-organizations-profile)". @@ -61,7 +61,7 @@ Cualquier usuario no autenticado que pueda ver un repositorio podrá crear una e Los propietarios de los repositorios y las personas con acceso de escritura en estos pueden crear categorías nuevas para mantener los debates organizados. De la misma manera, ya que los debates de las organizaciones se basan en un repositorio origen, los propietarios de los repositorios y las personas con acceso de escritura con acceso de escritura en el repositorio origen pueden crear categorías nuevas para estos debates. -Collaborators participating in and creating new discussions can group discussions into the most relevant existing categories. Los debates también pueden volver a categorizarse después de su creación. Para obtener más información, consulta la sección "[Administrar las categorías de los debates](/discussions/managing-discussions-for-your-community/managing-categories-for-discussions)". +Los colaboradores que participan en debates nuevos pueden agruparlos en las categorías existentes más relevantes. Los debates también pueden volver a categorizarse después de su creación. Para obtener más información, consulta la sección "[Administrar las categorías de los debates](/discussions/managing-discussions-for-your-community/managing-categories-for-discussions)". {% data reusables.discussions.you-can-label-discussions %} diff --git a/translations/es-ES/content/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards.md b/translations/es-ES/content/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards.md index bb85d5b443..3a956dd131 100644 --- a/translations/es-ES/content/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards.md +++ b/translations/es-ES/content/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards.md @@ -1,6 +1,6 @@ --- title: 'Acerca de las {% data variables.product.prodname_projects_v1 %}' -intro: '{% data variables.product.prodname_projects_v1_caps %} on {% data variables.product.product_name %} help you organize and prioritize your work. You can create {% data variables.projects.projects_v1_boards %} for specific feature work, comprehensive roadmaps, or even release checklists. With {% data variables.product.prodname_projects_v1 %}, you have the flexibility to create customized workflows that suit your needs.' +intro: '{% data variables.product.prodname_projects_v1_caps %} on {% data variables.product.product_name %} help you organize and prioritize your work. You can create {% data variables.projects.projects_v1_boards %} for specific feature work, comprehensive roadmaps, or even release checklists. Con {% data variables.product.prodname_projects_v1 %}, tienes la flexibilidad de crear flujos de trabajo personalizados que se acopñlen a tus necesidades.' redirect_from: - /github/managing-your-work-on-github/managing-project-boards/about-project-boards - /articles/about-projects @@ -15,11 +15,11 @@ allowTitleToDifferFromFilename: true {% data reusables.projects.project_boards_old %} -{% data variables.projects.projects_v1_boards_caps %} are made up of issues, pull requests, and notes that are categorized as cards in columns of your choosing. Puedes arrastrar y soltar o usar los atajos del teclado para reordenar las tarjetas dentro de una columna, mover tarjetas de columna a columna y cambiar el orden de las columnas. +Los {% data variables.projects.projects_v1_boards_caps %} se componen de propuestas, solicitudes de cambios y notas que se categorizan como tarjetas en las columnas de tu elección. Puedes arrastrar y soltar o usar los atajos del teclado para reordenar las tarjetas dentro de una columna, mover tarjetas de columna a columna y cambiar el orden de las columnas. -{% data variables.projects.projects_v1_board_caps %} cards contain relevant metadata for issues and pull requests, like labels, assignees, the status, and who opened it. {% data reusables.project-management.edit-in-project %} +Las tarjetas de los {% data variables.projects.projects_v1_board_caps %} contienen metadatos relevantes para las propuestas y solicitudes de cambios, como etiquetas, asignados, el estado y quién la abrió. {% data reusables.project-management.edit-in-project %} -You can create notes within columns to serve as task reminders, references to issues and pull requests from any repository on {% data variables.product.product_location %}, or to add information related to the {% data variables.projects.projects_v1_board %}. You can create a reference card for another {% data variables.projects.projects_v1_board %} by adding a link to a note. Si la nota no es suficiente para tus necesidades, puedes convertirla en una propuesta. For more information on converting notes to issues, see "[Adding notes to a {% data variables.product.prodname_project_v1 %}](/articles/adding-notes-to-a-project-board)." +Puedes crear notas dentro de las columnas para que sirvan como recordatorios de tareas, referencias a las propuestas y solicitudes de cambio de cualquier repositorio en {% data variables.product.product_location %} o para agregar la información relacionada con el {% data variables.projects.projects_v1_board %}. Puedes crear una tarjeta de referencia para otro {% data variables.projects.projects_v1_board %} si agregas un enlace a una nota. Si la nota no es suficiente para tus necesidades, puedes convertirla en una propuesta. For more information on converting notes to issues, see "[Adding notes to a {% data variables.product.prodname_project_v1 %}](/articles/adding-notes-to-a-project-board)." Tipos de tableros de proyecto: diff --git a/translations/es-ES/content/organizations/managing-access-to-your-organizations-project-boards/managing-team-access-to-an-organization-project-board.md b/translations/es-ES/content/organizations/managing-access-to-your-organizations-project-boards/managing-team-access-to-an-organization-project-board.md index 8895aa35f8..32d6f9ca5f 100644 --- a/translations/es-ES/content/organizations/managing-access-to-your-organizations-project-boards/managing-team-access-to-an-organization-project-board.md +++ b/translations/es-ES/content/organizations/managing-access-to-your-organizations-project-boards/managing-team-access-to-an-organization-project-board.md @@ -26,9 +26,9 @@ allowTitleToDifferFromFilename: true {% endwarning %} -## Giving a team access to a {% data variables.projects.projects_v1_board %} +## Otorgar acceso a un equipo para un {% data variables.projects.projects_v1_board %} -You can give an entire team the same permission level to a {% data variables.projects.projects_v1_board %}. +Puedes otorgar el mismo nivel de permiso para un {% data variables.projects.projects_v1_board %} a todo un equipo. {% note %} diff --git a/translations/es-ES/content/packages/working-with-a-github-packages-registry/migrating-to-the-container-registry-from-the-docker-registry.md b/translations/es-ES/content/packages/working-with-a-github-packages-registry/migrating-to-the-container-registry-from-the-docker-registry.md index 1db77cbf9e..b278bf0321 100644 --- a/translations/es-ES/content/packages/working-with-a-github-packages-registry/migrating-to-the-container-registry-from-the-docker-registry.md +++ b/translations/es-ES/content/packages/working-with-a-github-packages-registry/migrating-to-the-container-registry-from-the-docker-registry.md @@ -56,7 +56,7 @@ Después de la migración, ya no podrás utilizar la API de GraphQL para consult ## Acerca de la facturación para {% data variables.product.prodname_container_registry %} -For more information about billing for the {% data variables.product.prodname_container_registry %}, see "[About billing for {% data variables.product.prodname_registry %}](/billing/managing-billing-for-github-packages/about-billing-for-github-packages)." +Para obtener más información sobre la facturación del {% data variables.product.prodname_container_registry %}, consulta la sección "[Acerca de la facturación para el {% data variables.product.prodname_registry %}](/billing/managing-billing-for-github-packages/about-billing-for-github-packages)". {% endif %} @@ -64,6 +64,6 @@ For more information about billing for the {% data variables.product.prodname_co ## Leer más -- "[Migrating your enterprise to the {% data variables.product.prodname_container_registry %} from the Docker registry](/admin/packages/migrating-your-enterprise-to-the-container-registry-from-the-docker-registry)" +- "[Migrar tu empresa al {% data variables.product.prodname_container_registry %} desde el registro de Docker](/admin/packages/migrating-your-enterprise-to-the-container-registry-from-the-docker-registry)" {% endif %} diff --git a/translations/es-ES/content/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site.md b/translations/es-ES/content/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site.md index 80bbfd7f07..976dfd552d 100644 --- a/translations/es-ES/content/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site.md +++ b/translations/es-ES/content/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site.md @@ -1,6 +1,6 @@ --- title: Configurar una fuente de publicación para tu sitio de Páginas de GitHub -intro: '{% ifversion pages-custom-workflow %}You can configure your {% data variables.product.prodname_pages %} site to publish when changes are pushed to a specific branch, or you can write a {% data variables.product.prodname_actions %} workflow to publish your site.{% else%}If you use the default publishing source for your {% data variables.product.prodname_pages %} site, your site will publish automatically. You can also choose to publish your site from a different branch or folder.{% endif %}' +intro: '{% ifversion pages-custom-workflow %}Puedes configurar tu sitio de {% data variables.product.prodname_pages %} para que se publique cuando los cambios se suban a una rama específica o puedes escribir un flujo de trabajo de {% data variables.product.prodname_actions %} para publicar tu sitio.{% else%}Si utilizas una fuente de publicación predeterminada para tu sitio de {% data variables.product.prodname_pages %}, este se publicará automáticamente. También puedes elegir publicar tu sitio desde una rama o carpeta diferente.{% endif %}' redirect_from: - /articles/configuring-a-publishing-source-for-github-pages - /articles/configuring-a-publishing-source-for-your-github-pages-site @@ -17,21 +17,21 @@ topics: shortTitle: Configurar la fuenta de publicción --- -## About publishing sources +## Acerca de las fuentes de publicación {% data reusables.pages.pages-about-publishing-source %} {% data reusables.pages.private_pages_are_public_warning %} -## Publishing from a branch +## Publicar desde una rama -1. Make sure the branch you want to use as your publishing source already exists in your repository. +1. Asegúrate de que la rama que quieres utilizar como tu fuente de publicación ya exista en tu repositorio. {% data reusables.pages.navigate-site-repo %} {% data reusables.repositories.sidebar-settings %} {% data reusables.pages.sidebar-pages %} {% ifversion pages-custom-workflow %} -1. Under "Build and deployment", under "Source", select **Deploy from a branch**. -1. Under "Build and deployment", under "Branch", use the **None** or **Branch** drop-down menu and select a publishing source. +1. Debajo de "Compilación y despliegue", debajo de "Fuente", selecciona **Desplegar desde una rama**. +1. Debajo de "Compilación y despliegue", debajo de "Rama", utiliza los menús desplegables de **Ninguna** o de **Rama** y selecciona una fuente de publicación. ![Menú desplegable para seleccionar una fuente de publicación](/assets/images/help/pages/publishing-source-drop-down.png) {% else %} @@ -40,7 +40,7 @@ shortTitle: Configurar la fuenta de publicción 4. Opcionalmente, utiliza el menú desplegable para seleccionar una carpeta para tu fuente de publicación. ![Menú desplegable para seleccionar una carpeta para una fuente de publicación](/assets/images/help/pages/publishing-source-folder-drop-down.png) 5. Haz clic en **Save ** (guardar). ![Botón para guardar los cambios en la configuración de la fuente de publicación](/assets/images/help/pages/publishing-source-save.png) -### Troubleshooting publishing from a branch +### Solucionar problemas de publicación desde una rama {% data reusables.pages.admin-must-push %} @@ -62,42 +62,42 @@ Para encontrar errores potenciales en ya sea la compilación o el despliegue, pu {% ifversion pages-custom-workflow %} -## Publishing with a custom {% data variables.product.prodname_actions %} workflow +## Publicar con un flujo de trabajo de {% data variables.product.prodname_actions %} personalizado {% data reusables.pages.pages-custom-workflow-beta %} -To configure your site to publish with {% data variables.product.prodname_actions %}: +Para configurar tu sitio para que se publique con {% data variables.product.prodname_actions %}: {% data reusables.pages.navigate-site-repo %} {% data reusables.repositories.sidebar-settings %} {% data reusables.pages.sidebar-pages %} -1. Under "Build and deployment", under "Source", select **GitHub Actions**. -1. {% data variables.product.product_name %} will suggest several starter workflows. If you already have a workflow to publish your site, you can skip this step. Otherwise, choose one of the options to create a {% data variables.product.prodname_actions %} workflow. For more information about creating your custom workflow, see "[Creating a custom {% data variables.product.prodname_actions %} workflow to publish your site](#creating-a-custom-github-actions-workflow-to-publish-your-site)." +1. Debajo de "Compilación y despliegue", debajo de "Fuente", selecciona **GitHub Actions**. +1. {% data variables.product.product_name %} te sugerirá varios flujos de trabajo iniciales. Si ya tienes un flujo de trabajo para publicar tu sitio, puedes omitir este paso. De lo contrario, elige una de las opciones para crear un flujo de trabajo de {% data variables.product.prodname_actions %}. Para obtener más información sobre como crear tu flujo de trabajo personalizado, consulta la sección "[Crear un flujo de trabajo de {% data variables.product.prodname_actions %} personalizado para publicar tu sitio](#creating-a-custom-github-actions-workflow-to-publish-your-site)". - {% data variables.product.prodname_pages %} does not associate a specific workflow to the {% data variables.product.prodname_pages %} settings. However, the {% data variables.product.prodname_pages %} settings will link to the workflow run that most recently deployed your site. + {% data variables.product.prodname_pages %} no asocia un flujo de trabajo específico a los ajustes de {% data variables.product.prodname_pages %}. Sin embargo, los ajustes de {% data variables.product.prodname_pages %} se enlazarán con la ejecución de flujo de trabajo que haya desplegado tu sitio más recientemente. -### Creating a custom {% data variables.product.prodname_actions %} workflow to publish your site +### Crear un flujo de trabajo de {% data variables.product.prodname_actions %} personalizado para publicar tu sitio -For more information about {% data variables.product.prodname_actions %}, see "[Actions](/actions)." +Para obtener más información sobre {% data variables.product.prodname_actions %}, consulta la sección "[Acciones](/actions)". -When you configure your site to publish with {% data variables.product.prodname_actions %}, {% data variables.product.product_name %} will suggest starter workflows for common publishing scenarios. The general flow of a workflow is to: +Cuando configuras tu sitio para que se publique con {% data variables.product.prodname_actions %}, {% data variables.product.product_name %} sugerirá flujos de trabajo iniciales para los escenarios de publicación comunes. El flujo general de un flujo de trabajo es: -1. Trigger whenever there is a push to the default branch of the repository or whenever a pull request that targets the default branch is opened, reopened, or updated. -1. Use the [`actions/checkout`](https://github.com/actions/checkout) action to check out the repository contents. -1. If required by your site, build any static site files. -1. Use the [`actions/upload-pages-artifact`](https://github.com/actions/upload-pages-artifact) action to upload the static files as an artifact. -1. If the workflow was triggered by a push to the default branch, use the [`actions/deploy-pages`](https://github.com/actions/deploy-pages) action to deploy the artifact. This step is skipped if the workflow was triggered by a pull request. +1. Activarse cuando existe una subida a la rama predeterminada del repositorio o cuando una solicitud de cambios que apunta a la rama predeterminada se abre, se vuelve a abrir o se actualiza. +1. Utiliza la acción [`actions/checkout`](https://github.com/actions/checkout) para erificar el contenido del repositorio. +1. Si tu sitio lo requiere, compila cualquier archivo de sitio estático. +1. Utiliza la acción [`actions/upload-pages-artifact`](https://github.com/actions/upload-pages-artifact) para cargar los archivos estáticos como un artefacto. +1. Si el flujo de trabajo se activó mediante una subida a la rama predeterminada, utiliza la acción [`actions/deploy-pages`](https://github.com/actions/deploy-pages) para desplegar el artefacto. Este paso se omite si una solicitud de cambios activó el flujo de trabajo. -The starter workflows use a deployment environment called `github-pages`. If your repository does not already include an environment called `github-pages`, the environment will be created automatically. We recommend that you add an environment protection rule so that only the default branch can deploy to this environment. Para obtener más información, consulta la sección "[Utilizar ambientes para despliegue](/actions/deployment/targeting-different-environments/using-environments-for-deployment)". +Los flujos de trabajo iniciales utilizan un ambiente de despliegue llamado `github-pages`. Si tu repositorio aún no incluye un ambiente llamado `github-pages`, este se creará automáticamente. Recomendamos que agregues una regla de protección de ambiente para que solo la rama predeterminada pueda desplegar hacia este. Para obtener más información, consulta la sección "[Utilizar ambientes para despliegue](/actions/deployment/targeting-different-environments/using-environments-for-deployment)". {% note %} -**Note**: A `CNAME` file in your repository file does not automatically add or remove a custom domain. Instead, you must configure the custom domain through your repository settings or through the API. For more information, see "[Managing a custom domain for your GitHub Pages site](/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site#configuring-a-subdomain)" and the [Pages API reference documentation](/rest/pages#update-information-about-a-github-pages-site). +**Nota**: Un archivo de `CNAME` en tu archivo de repositorio no agrega ni elimina un dominio personalizado automáticamente. En su lugar, debes configurar el dominio personalizado mediante los ajustes de tu repositorio o mediante la API. Para obtener más información, consulta la sección "[Administrar un dominio personalizado para tu sitio de GitHub Pages](/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site#configuring-a-subdomain)" y la [documentación de referencia de la API de páginas](/rest/pages#update-information-about-a-github-pages-site). {% endnote %} -### Troubleshooting publishing with a custom {% data variables.product.prodname_actions %} workflow +### Solucionar problemas de publicación con un flujo de trabajo de {% data variables.product.prodname_actions %} personalizado -For information about how to troubleshoot your {% data variables.product.prodname_actions %} workflow, see "[About monitoring and troubleshooting](/actions/monitoring-and-troubleshooting-workflows/about-monitoring-and-troubleshooting)." +Para obtener más información sobre cómo solucionar los problemas de tu flujo de trabajo de {% data variables.product.prodname_actions %}, consulta la sección "[Acerca del monitoreo y la solución de problemas](/actions/monitoring-and-troubleshooting-workflows/about-monitoring-and-troubleshooting)". {% endif %} diff --git a/translations/es-ES/content/pages/getting-started-with-github-pages/unpublishing-a-github-pages-site.md b/translations/es-ES/content/pages/getting-started-with-github-pages/unpublishing-a-github-pages-site.md index c55397d6f7..2b5a60f4c5 100644 --- a/translations/es-ES/content/pages/getting-started-with-github-pages/unpublishing-a-github-pages-site.md +++ b/translations/es-ES/content/pages/getting-started-with-github-pages/unpublishing-a-github-pages-site.md @@ -22,13 +22,13 @@ shortTitle: Dejar de publicar el sitio de las páginas {% ifversion pages-custom-workflow %} -When you unpublish your site, the site will no longer be available. Any existing repository settings or content will not be affected. +Cuando dejes de publicar tu sitio, este ya no estará disponible. Cualquier ajuste o contenido de un repositorio existente seguirá sin afectación. {% data reusables.repositories.navigate-to-repo %} -1. Under **{% data variables.product.prodname_pages %}**, next to the **Your site is live at** message, click {% octicon "kebab-horizontal" aria-label="the horizontal kebab icon" %}. -1. In the menu that appears, select **Unpublish site**. +1. Debajo de **{% data variables.product.prodname_pages %}**, junto al mensaje de **Tu sitio está publicado en**, haz clic en el {% octicon "kebab-horizontal" aria-label="the horizontal kebab icon" %}. +1. En el menú que se muestra, selecciona **Dejar de publicar el sitio**. - ![Drop down menu to unpublish site](/assets/images/help/pages/unpublish-site.png) + ![Menú desplegable para dejar de publicar el sitio](/assets/images/help/pages/unpublish-site.png) {% else %} diff --git a/translations/es-ES/content/pages/setting-up-a-github-pages-site-with-jekyll/troubleshooting-jekyll-build-errors-for-github-pages-sites.md b/translations/es-ES/content/pages/setting-up-a-github-pages-site-with-jekyll/troubleshooting-jekyll-build-errors-for-github-pages-sites.md index 3c55bfe5d5..ce4ee91b56 100644 --- a/translations/es-ES/content/pages/setting-up-a-github-pages-site-with-jekyll/troubleshooting-jekyll-build-errors-for-github-pages-sites.md +++ b/translations/es-ES/content/pages/setting-up-a-github-pages-site-with-jekyll/troubleshooting-jekyll-build-errors-for-github-pages-sites.md @@ -43,12 +43,12 @@ Si Jekyll encuentra un error al compilar tu sitio de {% data variables.product.p Si recibiste un mensaje de error genérico, revisa los problemas comunes. - Estás usando plugins no compatibles. Para obtener más información, consulta "[Acerca de las {% data variables.product.prodname_pages %} y Jekyll](/articles/about-github-pages-and-jekyll#plugins)".{% ifversion fpt or ghec %} - Tu repositorio ha excedido nuestros límites de tamaño del repositorio. Para obtener más información, consulta "[¿Cuál es mi cuota de disco?](/articles/what-is-my-disk-quota)"{% endif %} -- Cambiaste el parámetro `fuente` de tu archivo *_config.yml*. {% ifversion pages-custom-workflow %}If you publish your site from a branch, {% endif %}{% data variables.product.prodname_pages %} overrides this setting during the build process. -- A filename in your published files contains a colon (`:`) which is not supported. +- Cambiaste el parámetro `fuente` de tu archivo *_config.yml*. {% ifversion pages-custom-workflow %}Si publicaste tu sitio desde una rama, {% endif %}{% data variables.product.prodname_pages %} anula este ajuste durante el proceso de compilación. +- Un nombre de archivo en tus archivos publicados contiene dos puntos (`:`), lo cual no es compatible. Si recibiste un mensaje de error específico, revisa la información de solución de problemas para el mensaje de error que aparece a continuación. -{% ifversion pages-custom-workflow %}After you've fixed any errors, trigger another build by pushing the changes to your site's source branch (if you are publishing from a branch) or by triggering your custom {% data variables.product.prodname_actions %} workflow (if you are publishing with {% data variables.product.prodname_actions %}).{% else %}After you've fixed any errors, push the changes to your site's publishing source to trigger another build on {% data variables.product.product_name %}.{% endif %} +{% ifversion pages-custom-workflow %}Después de que hayas corregido cualquier error, activa otra compilación subiendo los cambios a la rama origen de tu sitio (si estás publicando desde una rama) o activando tu flujo de trabajo de {% data variables.product.prodname_actions %} personalizado (si estás publicando con {% data variables.product.prodname_actions %}).{% else %}Después de que hayas corregido cualquier error, sube los cambios a la fuente de publicación de tu sitio o activa otra compilación en {% data variables.product.product_name %}.{% endif %} ## Error de archivo de configuración @@ -74,7 +74,7 @@ Este error significa que tu código hace referencia a un archivo que no existe e ## El archivo es un enlace simbólico -This error means that your code references a symlinked file that does not exist in the published files for your site. +Este error significa que tu código referencia un archivo con enlace simbólico que no existe en los archivos publicados para tu sitio. {% data reusables.pages.search-for-includes %} Si alguno de los archivos a los que has hecho referencia es un enlace simbólico, copia o mueve los archivos al directorio *_includes*. @@ -162,9 +162,9 @@ Para solucionar el problema, elimina la línea `relativa_permalinks` de tu archi ## El enlace simbólico no existe dentro del repositorio de tu sitio -This error means that your site includes a symbolic link (symlink) that does not exist in the published files for your site. Para obtener más información acerca de los enlaces simbólicos, consulta "[Enlace simbólico](https://en.wikipedia.org/wiki/Symbolic_link)" en Wikipedia. +Este error significa que tu sitio incluye un enlace simbólico (symlink) que no existe en los archivos publicados para tu sitio. Para obtener más información acerca de los enlaces simbólicos, consulta "[Enlace simbólico](https://en.wikipedia.org/wiki/Symbolic_link)" en Wikipedia. -Para solucionar el problema, determina si el archivo en el mensaje de error se utiliza para compilar tu sitio. De lo contrario, o si no quieres que el archivo sea un enlace simbólico, elimina el archivo. If the symlinked file is necessary to build your site, make sure the file or directory the symlink references is in the published files for your site. Para incluir activos externos, considera usar {% ifversion fpt or ghec %}`submódulo de git` o {% endif %}un administrador de paquetes de terceros como [Bower](https://bower.io/).{% ifversion fpt or ghec %} Para obtener más información, consulta "[Usar submódulos con las {% data variables.product.prodname_pages %}](/articles/using-submodules-with-github-pages)".{% endif %} +Para solucionar el problema, determina si el archivo en el mensaje de error se utiliza para compilar tu sitio. De lo contrario, o si no quieres que el archivo sea un enlace simbólico, elimina el archivo. Si el archivo de enlace simbólico es necesario para compilar tu sitio, asegúrate de que el archivo o directorio al cuál hace referencia el symlink esté en los archivos publicados para tu sitio. Para incluir activos externos, considera usar {% ifversion fpt or ghec %}`submódulo de git` o {% endif %}un administrador de paquetes de terceros como [Bower](https://bower.io/).{% ifversion fpt or ghec %} Para obtener más información, consulta "[Usar submódulos con las {% data variables.product.prodname_pages %}](/articles/using-submodules-with-github-pages)".{% endif %} ## Error de sintaxis en el bucle 'for' diff --git a/translations/es-ES/content/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue.md b/translations/es-ES/content/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue.md index 32189bd7ff..23b3d8b3da 100644 --- a/translations/es-ES/content/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue.md +++ b/translations/es-ES/content/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue.md @@ -19,20 +19,8 @@ redirect_from: {% data reusables.pull_requests.merge-queue-overview %} -La cola de fusión crea ramas temporales con un prefijo especial para validad cambios de las solicitudes de cambios. Los cambios en las solicitudes de cambios se agrupan entonces con la última versión de `base_branch`, así como con los cambios frente a ella en la cola. {% data variables.product.product_name %} fusionará todos estos cambios en la `base_branch` una vez que pasen las verificaciones que requieren las protecciones de rama de la `base_branch`. +La cola de fusión crea ramas temporales con un prefijo especial para validad cambios de las solicitudes de cambios. The changes in the pull request are then grouped into a `merge_group` with the latest version of the `base_branch` as well as changes ahead of it in the queue. {% data variables.product.product_name %} fusionará todos estos cambios en la `base_branch` una vez que pasen las verificaciones que requieren las protecciones de rama de la `base_branch`. -Podrías necesitar actualizar tu configuración de Integración Continua (IC) para activar compilaciones en los nombres de rama que inicien con el prefijo especial `gh-readonly-queue/{base_branch}` después de que se crea el grupo. - -Por ejemplo, con {% data variables.product.prodname_actions %}, un flujo de trabajo con el siguiente activador se ejecutará cada vez que una solicitud de cambios que apunte a la rama base `main` se ponga en cola de fusión. - -```yaml -on: - push: - branches: - - gh-readonly-queue/main/** -``` - -{% data reusables.pull_requests.merge-queue-merging-method %} Para obtener más información acerca de los métodos de fusión, consulta "[Acerca de la fusión de solicitudes de extracción](/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/about-pull-request-merges)." @@ -46,6 +34,24 @@ Para obtener más información acerca de los métodos de fusión, consulta "[Ace {% data reusables.pull_requests.merge-queue-reject %} +### Triggering merge group checks with {% data variables.product.prodname_actions %} + +You can use the `merge_group` event to trigger your {% data variables.product.prodname_actions %} workflow when a pull request is added to a merge queue. Note that this is a different event from the `pull_request` and `push` events. + +A workflow that reports a check which is required by the target branch's protections would look like this: + +```yaml +on: + pull_request: + merge_group: +``` + +For more information see "[Events that trigger workflows](/actions/using-workflows/events-that-trigger-workflows#merge-group)" + +### Triggering merge group checks with other CI providers + +With other CI providers, you may need to update your CI configuration to run when a branch that begins with the special prefix `gh-readonly-queue/{base_branch}` is created. + ## Administrar una cola de fusión Los administradores de repositorio pueden requerir una fusión habilitando el ajuste de protección de rama "Requerir cola de fusión" en las reglas de protección para la rama base. diff --git a/translations/es-ES/content/site-policy/privacy-policies/github-subprocessors-and-cookies.md b/translations/es-ES/content/site-policy/privacy-policies/github-subprocessors-and-cookies.md index 07f41e5fc7..9e45fd653f 100644 --- a/translations/es-ES/content/site-policy/privacy-policies/github-subprocessors-and-cookies.md +++ b/translations/es-ES/content/site-policy/privacy-policies/github-subprocessors-and-cookies.md @@ -16,6 +16,12 @@ topics: Fecha de entrada en vigor: **2 de abril de 2021** +{% note %} + +**Note:** Changes to the list of cookies on this page are currently pending. + +{% endnote %} + GitHub ofrece una gran cantidad de transparencia en cuanto a cómo usamos tus datos, cómo recopilamos tus datos y con quién los compartimos. Para este propósito, proporcionamos esta página, la cual detalla [nuestros subprocesadores](#github-subprocessors) y cómo utilizamos las [cookies](#cookies-on-github). ## Subprocesadores de GitHub @@ -78,4 +84,4 @@ Ya que la cantidad de nombres y cookies puede cambiar, la tabla siguiente se pod _*_ Las fechas de **vencimiento** para las cookies que se listan a continuación generalmente se aplican permanentemente. -(i) Por favor, ten encuenta que si bien limitamos nuestro uso de cookies de terceros a aquellas necesarias para proporcionar una funcionalidad externa cuando interpretamos el contenido externo, algunas páginas en nuestro sitio web podrían configurar otras cookies de terceros. Por ejemplo, es posible que insertamos contenido, como vídeos, desde otro sitio que establezca una cookie. Si bien tratamos de minimizar estas cookies de terceros, no siempre podemos controlar qué cookies establece este contenido de terceros. +(i) Por favor, ten encuenta que si bien limitamos nuestro uso de cookies de terceros a aquellas necesarias para proporcionar una funcionalidad externa cuando interpretamos el contenido externo, algunas páginas en nuestro sitio web podrían configurar otras cookies de terceros. Por ejemplo, es posible que insertemos contenido, como vídeos, desde otro sitio que establezca una cookie. Si bien tratamos de minimizar estas cookies de terceros, no siempre podemos controlar qué cookies configura dicho contenido. diff --git a/translations/es-ES/data/reusables/pages/test-locally.md b/translations/es-ES/data/reusables/pages/test-locally.md index dcceb61b5b..b7fc5f4c0b 100644 --- a/translations/es-ES/data/reusables/pages/test-locally.md +++ b/translations/es-ES/data/reusables/pages/test-locally.md @@ -1 +1 @@ -{% ifversion pages-custom-workflow %}If you are publishing from a branch, changes{% else %}Changes{% endif %} to your site are published automatically when the changes are merged into your site's publishing source. {% ifversion pages-custom-workflow %}If you are publishing from a custom {% data variables.product.prodname_actions %} workflow, changes are published whenever your workflow is triggered (typically by a push to the default branch). {% endif %}If you want to preview your changes first, you can make the changes locally instead of on {% data variables.product.product_name %}. Después, prueba tu sitio localmente. Para obtener más información, consulta "[Verificar tu sitio de {% data variables.product.prodname_pages %} localmente con Jekyll](/articles/testing-your-github-pages-site-locally-with-jekyll)". +{% ifversion pages-custom-workflow %}Si estás publicando desde una rama, los cambios{% else %}Los cambios{% endif %} a tu sitio se publicarán automáticamente cuando estos se fusionen en la fuente de publicación del mismo. {% ifversion pages-custom-workflow %}Si estás publicando desde un flujo de trabajo de {% data variables.product.prodname_actions %} personalizado, los cambios se publicarán cuando este se active (habitualmente mediante una subida a la rama predeterminada). {% endif %}Si quieres previsualizar tus cambios primero, puedes hacerlos localmente en vez de en {% data variables.product.product_name %}. Después, prueba tu sitio localmente. Para obtener más información, consulta "[Verificar tu sitio de {% data variables.product.prodname_pages %} localmente con Jekyll](/articles/testing-your-github-pages-site-locally-with-jekyll)". diff --git a/translations/es-ES/data/reusables/pull_requests/merge-queue-beta.md b/translations/es-ES/data/reusables/pull_requests/merge-queue-beta.md index 425b792e9e..1e03a45694 100644 --- a/translations/es-ES/data/reusables/pull_requests/merge-queue-beta.md +++ b/translations/es-ES/data/reusables/pull_requests/merge-queue-beta.md @@ -1,7 +1,7 @@ {% ifversion fpt %} {% note %} -**Nota:** La característica de cola de fusión para las solicitudes de cambios se encuentra actualmente en un beta público limitado y está sujeta a cambios. Los propietarios de las organizaciones pueden solicitar acceso temprano al beta si se unen a la [Lista de espera](https://github.com/features/merge-queue/signup). +**Nota:** La característica de cola de fusión para las solicitudes de cambios se encuentra actualmente en un beta público limitado y está sujeta a cambios. {% endnote %} diff --git a/translations/es-ES/data/reusables/secret-scanning/partner-secret-list-private-repo.md b/translations/es-ES/data/reusables/secret-scanning/partner-secret-list-private-repo.md index bd0497d637..93042d87d4 100644 --- a/translations/es-ES/data/reusables/secret-scanning/partner-secret-list-private-repo.md +++ b/translations/es-ES/data/reusables/secret-scanning/partner-secret-list-private-repo.md @@ -7,9 +7,9 @@ | Adobe | Token Web de JSON de Adobe | adobe_jwt | | Alibaba Cloud | Alibaba Cloud Access Key ID with Alibaba Cloud Access Key Secret | alibaba_cloud_access_key_id
alibaba_cloud_access_key_secret | {%- ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5845 %} -Amazon | Amazon OAuth Client ID with Amazon OAuth Client Secret | amazon_oauth_client_id
amazon_oauth_client_secret{% endif %} Amazon Web Services (AWS) | Amazon AWS Access Key ID with Amazon AWS Secret Access Key | aws_access_key_id
aws_secret_access_key +Amazon | ID de Cliente OAuth de Amazon con Secreto de Cliente OAuth de Amazon | amazon_oauth_client_id
amazon_oauth_client_secret{% endif %} Amazon Web Services (AWS) | ID de Llave de Acceso de Amazon AWS con Llave de Acceso del Secreto de Amazon AWS | aws_access_key_id
aws_secret_access_key {%- ifversion fpt or ghec or ghes > 3.2 or ghae %} -Amazon Web Services (AWS) | Amazon AWS Session Token with Amazon AWS Temporary Access Key ID and Amazon AWS Secret Access Key | aws_session_token
aws_temporary_access_key_id
aws_secret_access_key{% endif %} Asana | Asana Personal Access Token | asana_personal_access_token Atlassian | Atlassian API Token | atlassian_api_token Atlassian | Atlassian JSON Web Token | atlassian_jwt Atlassian | Bitbucket Server Personal Access Token | bitbucket_server_personal_access_token +Amazon Web Services (AWS) | Token de Sesión de Amazon AWS con ID de Llave de Acceso Temporal de Amazon AWS y Llave de Acceso Secreto de Amazon AWS | aws_session_token
aws_temporary_access_key_id
aws_secret_access_key{% endif %} Asana | Token de Acceso Personal a Asana | asana_personal_access_token Atlassian | Token de la API de Atlassian | atlassian_api_token Atlassian | Token Web JSON de Atlassian | atlassian_jwt Atlassian | Token de Acceso Personal al Servidor de Bitbucket Server | bitbucket_server_personal_access_token {%- ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5845 %} Azure | Secreto de la Aplicación de Azure Active Directory | azure_active_directory_application_secret{% endif %} {%- ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5845 %} @@ -27,15 +27,15 @@ FullStory | Llave de la API de FullStory | fullstory_api_key{% endif %} GitHub | {%- ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5845 %} GitLab | Token de Acceso a GitLab | gitlab_access_token{% endif %} GoCardless | Toekn de Acceso en Vivo a GoCardless | gocardless_live_access_token GoCardless | Token de Acceso de Prueba a GoCardless | gocardless_sandbox_access_token {%- ifversion fpt or ghec or ghes > 3.2 or ghae %} -Google | Firebase Cloud Messaging Server Key | firebase_cloud_messaging_server_key{% endif %} Google | Google API Key | google_api_key Google | Google Cloud Private Key ID | +Google | Llave del Servidor de Mensajería de Firebase Cloud | firebase_cloud_messaging_server_key{% endif %} Google | Llave de la API de Google | google_api_key Google | ID de Llave Privada de Google Cloud | {%- ifversion fpt or ghec or ghes > 3.2 or ghae %} -Google | Google Cloud Storage Service Account Access Key ID with Google Cloud Storage Access Key Secret | google_cloud_storage_service_account_access_key_id
google_cloud_storage_access_key_secret{% endif %} +Google | ID de Llave de Acceso a la Cuenta de Servicio de Almacenamiento de Google Cloud con Secreto de la Llave de Acceso para Almacenamiento de Google Cloud | google_cloud_storage_service_account_access_key_id
google_cloud_storage_access_key_secret{% endif %} {%- ifversion fpt or ghec or ghes > 3.2 or ghae %} -Google | Google Cloud Storage User Access Key ID with Google Cloud Storage Access Key Secret | google_cloud_storage_user_access_key_id
google_cloud_storage_access_key_secret{% endif %} +Google | ID de Llave de Acceso de Usuario al Almacenamiento de Google Cloud con Secreto de Llave de Acceso al Almacenamiento de Google Cloud | google_cloud_storage_user_access_key_id
google_cloud_storage_access_key_secret{% endif %} {%- ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5845 %} Google | Token de Acceso OAuth a Google | google_oauth_access_token{% endif %} {%- ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5845 %} -Google | Google OAuth Client ID with Google OAuth Client Secret | google_oauth_client_id
google_oauth_client_secret{% endif %} +Google | ID de Cliente OAuth de Google con Secreto de Cliente OAuth de Google | google_oauth_client_id
google_oauth_client_secret{% endif %} {%- ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5845 %} Google | Token de Actualización OAuth de Google | google_oauth_refresh_token{% endif %} Grafana | Llave de la API de Grafana | grafana_api_key HashiCorp | Token de la API de Terraform Cloud / Enterprise | terraform_api_token HashiCorp | Token de Lote de HashiCorp Vault | hashicorp_vault_batch_token HashiCorp | Token de Servicio HashiCorp Vault | hashicorp_vault_service_token Hubspot | Llave de la API de Hubspot | hubspot_api_key Intercom | Token de Acceso de Intercom | intercom_access_token Ionic | Token de Acceso Personal de Ionic | ionic_personal_access_token Ionic | Token de Actualización de Ionic | ionic_refresh_token {%- ifversion fpt or ghec or ghes > 3.4 or ghae-issue-6944 %} @@ -71,7 +71,7 @@ PlanetScale | Token de OAuth de PlanetScale | planetscale_oauth_token{% endif %} {%- ifversion fpt or ghec or ghes > 3.2 or ghae %} PlanetScale | Token de Servicio de PlanetScale | planetscale_service_token{% endif %} {%- ifversion fpt or ghec or ghes > 3.2 or ghae %} -Plivo | Plivo Auth ID with Plivo Auth Token | plivo_auth_id
plivo_auth_token{% endif %} Postman | Postman API Key | postman_api_key Proctorio | Proctorio Consumer Key | proctorio_consumer_key Proctorio | Proctorio Linkage Key | proctorio_linkage_key Proctorio | Proctorio Registration Key | proctorio_registration_key Proctorio | Proctorio Secret Key | proctorio_secret_key Pulumi | Pulumi Access Token | pulumi_access_token PyPI | PyPI API Token | pypi_api_token +Plivo | ID de Autenticación de Plivo con Token de Autenticación de Plivo | plivo_auth_id
plivo_auth_token{% endif %} Postman | Llave de la API de Postman | postman_api_key Proctorio | Llave de Consumidor de Proctorio | proctorio_consumer_key Proctorio | Llave de Enlace de Proctorio | proctorio_linkage_key Proctorio | Llave de Registro de Proctorio | proctorio_registration_key Proctorio | Llave de Secreto de Proctorio | proctorio_secret_key Pulumi | Token de Acceso de Pulumi | pulumi_access_token PyPI | Token de la API de PyPI | pypi_api_token {%- ifversion fpt or ghec or ghes > 3.5 or ghae-issue-7375 %} redirect.pizza | Token de la API de redirect.pizza | redirect_pizza_api_token{% endif %} RubyGems | Llave de la API de RubyGems | rubygems_api_key Samsara | Token de la API de Samsara | samsara_api_token Samsara | Token de Acceso OAuth de Samsara | samsara_oauth_access_token {%- ifversion fpt or ghec or ghes > 3.4 or ghae-issue-6944 %} diff --git a/translations/es-ES/data/reusables/support/connect-in-the-forum-bootcamp.md b/translations/es-ES/data/reusables/support/connect-in-the-forum-bootcamp.md index ebaba8a360..ecd1f685a0 100644 --- a/translations/es-ES/data/reusables/support/connect-in-the-forum-bootcamp.md +++ b/translations/es-ES/data/reusables/support/connect-in-the-forum-bootcamp.md @@ -1 +1 @@ -{% data variables.product.prodname_dotcom %} tiene una excelente comunidad de soporte en donde puedes pedir ayuda y hablar con las personas de todo el mundo. Join the conversation on [{% data variables.product.prodname_github_community %}](https://github.com/orgs/community/discussions). +{% data variables.product.prodname_dotcom %} tiene una excelente comunidad de soporte en donde puedes pedir ayuda y hablar con las personas de todo el mundo. Únete a la conversación en[{% data variables.product.prodname_github_community %}](https://github.com/orgs/community/discussions). diff --git a/translations/es-ES/data/reusables/support/help_resources.md b/translations/es-ES/data/reusables/support/help_resources.md index 529653950d..af7236b068 100644 --- a/translations/es-ES/data/reusables/support/help_resources.md +++ b/translations/es-ES/data/reusables/support/help_resources.md @@ -1,4 +1,4 @@ -Para las preguntas, reportes de errores y debates sobre las {% data variables.product.prodname_github_apps %}, {% data variables.product.prodname_oauth_apps %} y el desarrollo de la API, explora el {% data variables.product.prodname_support_forum_with_url %}. The discussions are moderated and maintained by {% data variables.product.company_short %} staff, but questions posted to the forum are not guaranteed to receive a reply from {% data variables.product.company_short %} staff. +Para las preguntas, reportes de errores y debates sobre las {% data variables.product.prodname_github_apps %}, {% data variables.product.prodname_oauth_apps %} y el desarrollo de la API, explora el {% data variables.product.prodname_support_forum_with_url %}. El personal de {% data variables.product.company_short %} modera y mantiene los debates, pero las preguntas que se publican en el foro no tienen ninguna garantía de recibir respuestas del personal de {% data variables.product.company_short %}. Considera contactar al [Soporte de GitHub](https://support.github.com/) directamente utilizando el formato de contacto para: - respuestas garantizadas del personal de {% data variables.product.product_name %} diff --git a/translations/pt-BR/content/actions/examples/using-concurrency-expressions-and-a-test-matrix.md b/translations/pt-BR/content/actions/examples/using-concurrency-expressions-and-a-test-matrix.md index 9230913a15..4216240f36 100644 --- a/translations/pt-BR/content/actions/examples/using-concurrency-expressions-and-a-test-matrix.md +++ b/translations/pt-BR/content/actions/examples/using-concurrency-expressions-and-a-test-matrix.md @@ -69,7 +69,7 @@ on: pull_request: push: branches: - - gh-readonly-queue/main/** + - main permissions: contents: read @@ -277,12 +277,12 @@ Adicione o evento "pull_request", para que o fluxo de trabalho seja executado au ```yaml{:copy} push: branches: - - gh-readonly-queue/main/** + - main ``` -Adicione o evento "push", de modo que o fluxo de trabalho seja executado automaticamente toda vez que um commit for enviado por push para um branch que corresponde ao filtro "gh-readonly-queue/main/**". Para obter mais informações, consulte ['push'](/actions/using-workflows/events-that-trigger-workflows#push). +Add the `push` event, so that the workflow runs automatically every time a commit is pushed to a branch matching the filter `main`. Para obter mais informações, consulte ['push'](/actions/using-workflows/events-that-trigger-workflows#push). diff --git a/translations/pt-BR/content/actions/using-workflows/events-that-trigger-workflows.md b/translations/pt-BR/content/actions/using-workflows/events-that-trigger-workflows.md index bfd2eed0e2..418662a8bb 100644 --- a/translations/pt-BR/content/actions/using-workflows/events-that-trigger-workflows.md +++ b/translations/pt-BR/content/actions/using-workflows/events-that-trigger-workflows.md @@ -381,6 +381,34 @@ on: types: [created, deleted] ``` +{% ifversion fpt or ghec %} + +### `merge_group` + +| Carga de evento webhook | Tipos de atividade | `GITHUB_SHA` | `GITHUB_REF` | +| -------------------------------------------------------------------------------------------------- | ------------------ | ---------------------- | ---------------------- | +| [`merge_group`](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads/#merge_group) | `checks_requested` | SHA of the merge group | Ref of the merge group | + +{% data reusables.pull_requests.merge-queue-beta %} + +{% note %} + +**Note**: {% data reusables.developer-site.multiple_activity_types %} Although only the `checks_requested` activity type is supported, specifying the activity type will keep your workflow specific if more activity types are added in the future. For information about each activity type, see "[Webhook events and payloads](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#merge_group)." {% data reusables.developer-site.limit_workflow_to_activity_types %} + +{% endnote %} + +Runs your workflow when a pull request is added to a merge queue, which adds the pull request to a merge group. For more information see "[Merging a pull request with a merge queue](/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/merging-a-pull-request-with-a-merge-queue)". + +For example, you can run a workflow when the `checks_requested` activity has occurred. + +```yaml +on: + merge_group: + types: [checks_requested] + +``` + +{% endif %} ### `marco` | Carga de evento webhook | Tipos de atividade | `GITHUB_SHA` | `GITHUB_REF` | @@ -415,7 +443,7 @@ on: {% data reusables.actions.branch-requirement %} -Executa o fluxo de trabalho quando alguém faz push em um branch que é a fonte de publicação para {% data variables.product.prodname_pages %}, se o {% data variables.product.prodname_pages %} estiver habilitado no repositório. Para obter mais informações sobre fontes de publicação {% data variables.product.prodname_pages %}, consulte "[Configurando uma fonte de publicação para o site do GitHub Pages](/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)". Para obter informações sobre a API REST, consulte "[Páginas](/rest/reference/repos#pages)". +Executa o fluxo de trabalho quando alguém faz push em um branch que é a fonte de publicação para {% data variables.product.prodname_pages %}, se o {% data variables.product.prodname_pages %} estiver habilitado no repositório. For more information about {% data variables.product.prodname_pages %} publishing sources, see "[Configuring a publishing source for your GitHub Pages site](/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)." Para obter informações sobre a API REST, consulte "[Páginas](/rest/reference/repos#pages)". Por exemplo, você pode executar um fluxo de trabalho quando o evento `page_build` ocorrer. @@ -563,7 +591,7 @@ on: {% note %} -**Observação**: {% data reusables.developer-site.multiple_activity_types %} Para obter informações sobre cada tipo de atividade, consulte "[Eventos de webhook e cargas](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request)". Por padrão, um fluxo de trabalho só é executado quando um tipo de atividade de um evento de `pull_request` é `opened,`, `sincronize` ou `reopened`. Para acionar fluxos de trabalho em diferentes tipos de atividade, use a palavra-chave `tipos`. Para obter mais informações, consulte "[Sintaxe de fluxo de trabalho para o {% data variables.product.prodname_actions %}](/articles/workflow-syntax-for-github-actions#onevent_nametypes)". +**Note**: {% data reusables.developer-site.multiple_activity_types %} For information about each activity type, see "[Webhook events and payloads](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request)." Por padrão, um fluxo de trabalho só é executado quando um tipo de atividade de um evento de `pull_request` é `opened,`, `sincronize` ou `reopened`. Para acionar fluxos de trabalho em diferentes tipos de atividade, use a palavra-chave `tipos`. Para obter mais informações, consulte "[Sintaxe de fluxo de trabalho para o {% data variables.product.prodname_actions %}](/articles/workflow-syntax-for-github-actions#onevent_nametypes)". {% endnote %} @@ -612,7 +640,7 @@ on: pull_request: types: - opened - branches: + branches: - 'releases/**' ``` @@ -625,7 +653,7 @@ on: pull_request: types: - opened - branches: + branches: - 'releases/**' paths: - '**.js' @@ -670,7 +698,7 @@ on: pull_request: types: - opened - branches: + branches: - 'releases/**' paths: - '**.js' @@ -809,7 +837,7 @@ on: pull_request_target: types: - opened - branches: + branches: - 'releases/**' ``` @@ -822,7 +850,7 @@ on: pull_request_target: types: - opened - branches: + branches: - 'releases/**' paths: - '**.js' @@ -867,7 +895,7 @@ on: pull_request_target: types: - opened - branches: + branches: - 'releases/**' paths: - '**.js' @@ -936,7 +964,7 @@ Por exemplo, este fluxo de trabalho será executado quando alguém fizer push pa ```yaml on: push: - branches: + branches: - 'main' - 'releases/**' ``` @@ -948,7 +976,7 @@ on: ```yaml on: push: - branches: + branches: - 'releases/**' paths: - '**.js' @@ -965,7 +993,7 @@ Por exemplo, este fluxo de trabalho será executado quando alguém fizer push de ```yaml on: push: - tags: + tags: - v1.** ``` @@ -989,7 +1017,7 @@ on: ```yaml on: push: - branches: + branches: - 'releases/**' paths: - '**.js' @@ -1252,26 +1280,26 @@ on: workflow_dispatch Este exemplo define as entradas chamadas `logLevel`, `tags` e `ambiente`. Você passa os valores destas entradas para o fluxo de trabalho quando o executa. Em seguida, esse fluxo de trabalho imprime os valores no log, usando as propriedades de contexto de {% ifversion actions-unified-inputs %}`inputs.logLevel`, `inputs.tags` e `inputs.environment`{% else %}`github.event.inputs.logLevel`, `github.event.inputs.tags` e `github.event.inputs.environment`{% endif %}. ```yaml -on: +on: workflow_dispatch: inputs: logLevel: - description: 'Log level' + description: 'Log level' required: true - default: 'warning' + default: 'warning' type: choice options: - info - warning - - debug + - debug tags: description: 'Test scenario tags' - required: false + required: false type: boolean environment: description: 'Environment to run tests against' type: environment - required: true + required: true jobs: log-the-inputs: @@ -1373,7 +1401,7 @@ on: #### Executando um fluxo de trabalho com base na conclusão de outro fluxo de trabalho -A execução de um fluxo de trabalho é acionada independentemente da conclusão do fluxo de trabalho anterior. Se você deseja executar um trabalho ou etapa com base no resultado do fluxo de trabalho acionado, você poderpa usar uma condição com a propriedade `github.event.workflow_run.conclusion`. Por exemplo, este fluxo de trabalho será executado sempre que um fluxo de trabalho chamado "Criação" for concluído, mas o trabalho `on-sucess` só será executado se a "Criação" for bem-sucedida e o trabalho `on-failed` só será executado se o fluxo de trabalho "Criação" falhar: +A execução de um fluxo de trabalho é acionada independentemente da conclusão do fluxo de trabalho anterior. Se você deseja executar um trabalho ou etapa com base no resultado do fluxo de trabalho acionado, você poderá usar uma condição com a propriedade `github.event.workflow_run.conclusion`. Por exemplo, este fluxo de trabalho será executado sempre que um fluxo de trabalho chamado "Criação" for concluído, mas o trabalho `on-sucess` só será executado se a "Criação" for bem-sucedida e o trabalho `on-failed` só será executado se o fluxo de trabalho "Criação" falhar: ```yaml on: @@ -1422,7 +1450,7 @@ jobs: upload: runs-on: ubuntu-latest - steps: + steps: - name: Save PR number env: PR_NUMBER: {% raw %}${{ github.event.number }}{% endraw %} diff --git a/translations/pt-BR/content/developers/webhooks-and-events/webhooks/webhook-events-and-payloads.md b/translations/pt-BR/content/developers/webhooks-and-events/webhooks/webhook-events-and-payloads.md index 8957101e1d..2be9759d0d 100644 --- a/translations/pt-BR/content/developers/webhooks-and-events/webhooks/webhook-events-and-payloads.md +++ b/translations/pt-BR/content/developers/webhooks-and-events/webhooks/webhook-events-and-payloads.md @@ -17,13 +17,9 @@ topics: shortTitle: Eventos webhook & cargas --- -{% ifversion fpt or ghec %} - -{% endif %} - {% data reusables.webhooks.webhooks_intro %} -Você pode criar webhooks que assinam os eventos listados nesta página. Cada evento de webhook inclui uma descrição das propriedades do webhook e uma carga de exemplo. Para obter mais informações, consulte "[Criar webhooks](/webhooks/creating/)." +Você pode criar webhooks que assinam os eventos listados nesta página. Cada evento de webhook inclui uma descrição das propriedades do webhook e uma carga de exemplo. For more information, see "[Creating webhooks](/webhooks/creating/)." ## Propriedades comuns do objeto da carga do webhook @@ -101,7 +97,7 @@ Além disso, o `User-Agent` para as solicitações terá o prefixo `GitHub-Hooks > } ``` -{% ifversion fpt or ghes > 3.2 or ghae or ghec %} +{% ifversion fpt or ghes > 3.3 or ghae or ghec %} ## branch_protection_rule Atividade relacionada a uma regra de proteção do branch. Para obter mais informações, consulte[Sobre as regras de proteção do branch](/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-rules)". @@ -219,7 +215,7 @@ Um ref do Git foi sincronizado com sucesso para uma réplica de cache. Para obte {% data reusables.webhooks.repo_desc %} {% data reusables.webhooks.org_desc %} {% data reusables.webhooks.app_desc %} -remetente`| objeto` | Se a de ação ` for reopened_by_user` ou `closed_by_user`, o objeto `remetente` será o usuário que ativou o evento. O objeto `sender` está {% ifversion fpt or ghec %}`github`{% elsif ghes or ghae %}`github-enterprise`{% else %}vazio{% endif %} para todas as outras ações. +remetente`| objeto` | Se a de ação ` for reopened_by_user` ou `closed_by_user`, o objeto `remetente` será o usuário que ativou o evento. The `sender` object is {% ifversion fpt or ghec %}`github`{% elsif ghes or ghae %}`github-enterprise`{% else %}empty{% endif %} for all other actions. ### Exemplo de carga de webhook @@ -712,6 +708,41 @@ Para obter uma descrição detalhada desta carga e da carga para cada tipo de `a {{ webhookPayloadsForCurrentVersion.membership.removed }} +{% ifversion fpt or ghec %} + +## merge_group + +{% data reusables.pull_requests.merge-queue-beta %} + +Activity related to merge groups in a merge queue. O tipo de atividade é especificado na propriedade ação do objeto da carga. + + +### Disponibilidade + +- Webhooks do repositório +- Webhooks da organização +- {% data variables.product.prodname_github_apps %} with the `merge_queues` permission + +### Objeto da carga do webhook + +| Tecla | Tipo | Descrição | +| ----------------------- | -------- | -------------------------------------------------------------------- | +| `Ação` | `string` | A ação que foi executada. Currently, can only be `checks_requested`. | +| `merge_group` | `objeto` | The merge group. | +| `merge_group[head_sha]` | `string` | The SHA of the merge group. | +| `merge_group[head_ref]` | `string` | The full ref of the merge group. | +| `merge_group[base_ref]` | `string` | The full ref of the branch the merge group will be merged into. | +{% data reusables.webhooks.repo_desc %} +{% data reusables.webhooks.org_desc %} +{% data reusables.webhooks.app_desc %} +{% data reusables.webhooks.sender_desc %} + +### Exemplo de carga de webhook + +{{ webhookPayloadsForCurrentVersion.merge_group.checks_requested }} + +{% endif %} + ## meta O webhook em que este evento está configurado em foi excluído. Este evento só ouvirá alterações no hook em que o evento está instalado. Portanto, deve ser selecionado para cada hook para o qual você gostaria de receber metaeventos. diff --git a/translations/pt-BR/content/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue.md b/translations/pt-BR/content/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue.md index ec347f260e..a13a9d7974 100644 --- a/translations/pt-BR/content/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue.md +++ b/translations/pt-BR/content/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue.md @@ -19,20 +19,8 @@ redirect_from: {% data reusables.pull_requests.merge-queue-overview %} -A fila de merge cria branches temporários com um prefixo especial para validar as alterações do pull request. As alterações no pull request são agrupadas com a versão mais recente do `base_branch` e também com as alterações na fila. {% data variables.product.product_name %} fará merge de todas essas alterações em `base_branch` uma vez que as verificações exigidas pelas proteções do branch de `base_branch` sejam aprovadas. +A fila de merge cria branches temporários com um prefixo especial para validar as alterações do pull request. The changes in the pull request are then grouped into a `merge_group` with the latest version of the `base_branch` as well as changes ahead of it in the queue. {% data variables.product.product_name %} fará merge de todas essas alterações em `base_branch` uma vez que as verificações exigidas pelas proteções do branch de `base_branch` sejam aprovadas. -Talvez você precise atualizar a sua configuração de Integração Contínua (CI) para acionar compilações em nomes de branches que começam com o prefixo especial `gh-readonly /{base_branch}` depois que o grupo é criado. - -Por exemplo, com {% data variables.product.prodname_actions %}, um fluxo de trabalho com o gatilho a seguir será executado cada vez que um pull request que visa ao branch base `main` for enfileirada para fazer merge. - -```yaml -on: - push: - branches: - - gh-readonly-queue/main/** -``` - -{% data reusables.pull_requests.merge-queue-merging-method %} Para obter informações sobre métodos de merge, consulte "[Sobre merges de pull requests](/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/about-pull-request-merges)". @@ -46,6 +34,24 @@ Para obter informações sobre métodos de merge, consulte "[Sobre merges de pul {% data reusables.pull_requests.merge-queue-reject %} +### Triggering merge group checks with {% data variables.product.prodname_actions %} + +You can use the `merge_group` event to trigger your {% data variables.product.prodname_actions %} workflow when a pull request is added to a merge queue. Note that this is a different event from the `pull_request` and `push` events. + +A workflow that reports a check which is required by the target branch's protections would look like this: + +```yaml +on: + pull_request: + merge_group: +``` + +For more information see "[Events that trigger workflows](/actions/using-workflows/events-that-trigger-workflows#merge-group)" + +### Triggering merge group checks with other CI providers + +With other CI providers, you may need to update your CI configuration to run when a branch that begins with the special prefix `gh-readonly-queue/{base_branch}` is created. + ## Gerenciando uma fila de merge Os administradores de repositório podem exigir um merge que permite a proteção do branch que configura "Exigir file de merge" nas regras de proteção para o branch base. diff --git a/translations/pt-BR/content/site-policy/privacy-policies/github-subprocessors-and-cookies.md b/translations/pt-BR/content/site-policy/privacy-policies/github-subprocessors-and-cookies.md index 22d9515986..515fd465ff 100644 --- a/translations/pt-BR/content/site-policy/privacy-policies/github-subprocessors-and-cookies.md +++ b/translations/pt-BR/content/site-policy/privacy-policies/github-subprocessors-and-cookies.md @@ -16,6 +16,12 @@ topics: Data de entrada em vigor: **2 de abril de 2021** +{% note %} + +**Note:** Changes to the list of cookies on this page are currently pending. + +{% endnote %} + O GitHub fornece um grande acordo de transparência em relação à forma como usamos seus dados, como os coletamos e com quem compartilhamos. Para essa finalidade, disponibilizamos esta página, que detalha os [nossos subprocessadores](#github-subprocessors) e como usamos [cookies](#cookies-on-github). ## Subprocessadores GitHub diff --git a/translations/pt-BR/data/reusables/pull_requests/merge-queue-beta.md b/translations/pt-BR/data/reusables/pull_requests/merge-queue-beta.md index 8e28b8ae80..d1f5f775e2 100644 --- a/translations/pt-BR/data/reusables/pull_requests/merge-queue-beta.md +++ b/translations/pt-BR/data/reusables/pull_requests/merge-queue-beta.md @@ -1,7 +1,7 @@ {% ifversion fpt %} {% note %} -**Note:** The pull request merge queue feature is currently in limited public beta and subject to change. Organizations owners can request early access to the beta by joining the [waitlist](https://github.com/features/merge-queue/signup). +**Note:** The pull request merge queue feature is currently in limited public beta and subject to change. {% endnote %}