Skip to content

Commit a5b3f85

Browse files
authored
Branch was updated using the 'autoupdate branch' Actions workflow.
2 parents 5f89d32 + 4702dcd commit a5b3f85

9 files changed

Lines changed: 159 additions & 6 deletions

File tree

content/github/finding-security-vulnerabilities-and-errors-in-your-code/troubleshooting-the-codeql-workflow.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ topics:
1616
{% data reusables.code-scanning.beta %}
1717
{% data reusables.code-scanning.not-available %}
1818

19+
### Producing detailed logs for debugging
20+
21+
To produce more detailed logging output, you can enable step debug logging. For more information, see "[Enabling debug logging](/actions/managing-workflow-runs/enabling-debug-logging#enabling-step-debug-logging)."
22+
1923
### Automatic build for a compiled language fails
2024

2125
If an automatic build of code for a compiled language within your project fails, try the following troubleshooting steps.

contributing/search.md

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,26 @@ To see all existing search-related issues and pull requests, visit [github.com/g
1414

1515
## How to search
1616

17-
The site search is part of every version of docs.github.com. On any page, you can use the search box to search the documents we've indexed.
18-
You can also query our search endpoint directly at: https://docs.github.com/search?version=dotcom&language=en&filters=topics:%27oauth%20apps%27+AND+topics:%27github%20apps%27&query=install
17+
The site search is part of every version of docs.github.com. This endpoint responds in JSON format, and fronts Algolia and Lunr. We recommend using this endpoint over directly integrating with Algolia or Lunr, as the endpoint will be more stable. On any page, you can use the search box to search the documents we've indexed.
18+
You can also query our search endpoint directly at:
19+
https://docs.github.com/search?version=<VERSION>&language=<LANGUAGE CODE>&filters=topics:<TOPIC>&query=<QUERY>
20+
21+
- The VERSION can be any numbered GitHub Enterprise Server version (e.g., `2.22`, `3.0`), GitHub AE (`ghae`), or the Free pro team plan (`dotcom`).
22+
- The LANGUAGE CODE can be: `cn`, `de`, `en`, `es`, `ja`, or `pt`.
23+
- TOPIC can be any topics in [the allowed list of topics](/data/allowed-topics.js). The values in the `topics` attribute are **not** case sensitive, so filtering on `GitHub actions` or `github actions` will return the same result. **Note:** Currently, the topics filter only works for the dotcom version in the English language. We plan to expand this search query to other languages and versions in the future.
24+
- Any search QUERY you'd like.
1925

20-
Using the attribute `topics` in your query will only return results that have the matching topic value. You can find a full list of topics in [the allowed topics file](/data/allowed-topics.js). The `topics` attribute is configured as a [`filter only` facet in Algolia](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/). When the topic contains spaces, you must use quotes. For Algolia, [here](https://www.algolia.com/doc/api-reference/api-parameters/filters/#handle-attributes-with-spaces) is an example for filters containing spaces. Algolia also requires [boolean operators](https://www.algolia.com/doc/api-reference/api-parameters/filters) to combine more than one filter.
26+
For example, to filter on the topic `ssh` and the query `passphrases`, you'd use this search query:
2127

22-
This endpoint responds in JSON format, and fronts Algolia and Lunr. We recommend using this endpoint over directly integrating with Algolia or Lunr, as the endpoint will be more stable.
28+
https://docs.github.com/search?version=dotcom&language=en&filters=topics:ssh&query=passphrases
29+
30+
To filter for the topics `oauth apps` and `github apps` and the query `install`, you'd use this search query:
31+
32+
https://docs.github.com/search?version=dotcom&language=en&filters=topics:'oauth apps'+AND+topics:'github apps'&query=install
33+
34+
### Using the topics search filter
35+
36+
Using the attribute `topics` in your query will only return results that have the matching topic value. The `topics` attribute is configured as a [`filter only` facet in Algolia](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/). When the topic contains spaces, you must use quotes. For Algolia, [here](https://www.algolia.com/doc/api-reference/api-parameters/filters/#handle-attributes-with-spaces) is an example for filters containing spaces. Algolia also requires [boolean operators](https://www.algolia.com/doc/api-reference/api-parameters/filters) to combine more than one filter.
2337

2438
## Production deploys
2539

data/graphql/ghae/schema.docs-ghae.graphql

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2132,6 +2132,16 @@ type CheckRun implements Node & UniformResourceLocatable {
21322132
externalId: String
21332133
id: ID!
21342134

2135+
"""
2136+
Whether this check run is required to pass before merging.
2137+
"""
2138+
isRequired(
2139+
"""
2140+
The pull request this check is required for
2141+
"""
2142+
pullRequestId: ID!
2143+
): Boolean!
2144+
21352145
"""
21362146
The name of the check for this check run.
21372147
"""
@@ -31869,6 +31879,16 @@ type StatusContext implements Node {
3186931879
description: String
3187031880
id: ID!
3187131881

31882+
"""
31883+
Whether this status is required to pass before merging.
31884+
"""
31885+
isRequired(
31886+
"""
31887+
The pull request this status is required for
31888+
"""
31889+
pullRequestId: ID!
31890+
): Boolean!
31891+
3187231892
"""
3187331893
The state of this status context.
3187431894
"""

data/graphql/schema.docs.graphql

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2222,6 +2222,16 @@ type CheckRun implements Node & UniformResourceLocatable {
22222222
externalId: String
22232223
id: ID!
22242224

2225+
"""
2226+
Whether this check run is required to pass before merging.
2227+
"""
2228+
isRequired(
2229+
"""
2230+
The pull request this check is required for
2231+
"""
2232+
pullRequestId: ID!
2233+
): Boolean!
2234+
22252235
"""
22262236
The name of the check for this check run.
22272237
"""
@@ -34802,6 +34812,16 @@ type StatusContext implements Node {
3480234812
description: String
3480334813
id: ID!
3480434814

34815+
"""
34816+
Whether this status is required to pass before merging.
34817+
"""
34818+
isRequired(
34819+
"""
34820+
The pull request this status is required for
34821+
"""
34822+
pullRequestId: ID!
34823+
): Boolean!
34824+
3480534825
"""
3480634826
The state of this status context.
3480734827
"""

data/release-notes/3-0/0.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ sections:
113113
- The format of several log files have changed, including the addition of a PID for different log types. This does not affect how GitHub Enterprise Support uses support bundles to troubleshoot issues.
114114
- A PATCH request to the webhook configuration API no longer erases the webhook secret.
115115
- Certain types of pre-receive hooks were failing.
116+
- 'The Packages NuGet service now normalizes semantic versions on publish. An invalid semantic version (for example: v1.0.0.0.0.0) is not downloadable by NuGet clients and therefore a NuGet service is expected to normalize those versions (for example: v1.0.0.0.0.0 --> v1.0.0). Any original, non-normalized, version will be available in the `verbatimVersion` field. No changes to client configurations are required.'
116117

117118
known_issues:
118119
- On a freshly set up {% data variables.product.prodname_ghe_server %} without any users, an attacker could create the first admin user.

lib/graphql/static/changelog.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
[
2+
{
3+
"schemaChanges": [
4+
{
5+
"title": "The GraphQL schema includes these changes:",
6+
"changes": [
7+
"Field `isRequired` was added to object type `CheckRun`",
8+
"Field `isRequired` was added to object type `StatusContext`"
9+
]
10+
}
11+
],
12+
"previewChanges": [],
13+
"upcomingChanges": [],
14+
"date": "2021-03-18"
15+
},
216
{
317
"schemaChanges": [
418
{

lib/graphql/static/prerendered-objects.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

lib/graphql/static/schema-dotcom.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8340,6 +8340,26 @@
83408340
"kind": "scalars",
83418341
"href": "/graphql/reference/scalars#string"
83428342
},
8343+
{
8344+
"name": "isRequired",
8345+
"description": "<p>Whether this check run is required to pass before merging.</p>",
8346+
"type": "Boolean!",
8347+
"id": "boolean",
8348+
"kind": "scalars",
8349+
"href": "/graphql/reference/scalars#boolean",
8350+
"arguments": [
8351+
{
8352+
"name": "pullRequestId",
8353+
"description": "<p>The pull request this check is required for.</p>",
8354+
"type": {
8355+
"name": "ID!",
8356+
"id": "id",
8357+
"kind": "scalars",
8358+
"href": "/graphql/reference/scalars#id"
8359+
}
8360+
}
8361+
]
8362+
},
83438363
{
83448364
"name": "name",
83458365
"description": "<p>The name of the check for this check run.</p>",
@@ -48997,6 +49017,26 @@
4899749017
"kind": "scalars",
4899849018
"href": "/graphql/reference/scalars#string"
4899949019
},
49020+
{
49021+
"name": "isRequired",
49022+
"description": "<p>Whether this status is required to pass before merging.</p>",
49023+
"type": "Boolean!",
49024+
"id": "boolean",
49025+
"kind": "scalars",
49026+
"href": "/graphql/reference/scalars#boolean",
49027+
"arguments": [
49028+
{
49029+
"name": "pullRequestId",
49030+
"description": "<p>The pull request this status is required for.</p>",
49031+
"type": {
49032+
"name": "ID!",
49033+
"id": "id",
49034+
"kind": "scalars",
49035+
"href": "/graphql/reference/scalars#id"
49036+
}
49037+
}
49038+
]
49039+
},
4900049040
{
4900149041
"name": "state",
4900249042
"description": "<p>The state of this status context.</p>",

lib/graphql/static/schema-ghae.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7527,6 +7527,26 @@
75277527
"kind": "scalars",
75287528
"href": "/graphql/reference/scalars#string"
75297529
},
7530+
{
7531+
"name": "isRequired",
7532+
"description": "<p>Whether this check run is required to pass before merging.</p>",
7533+
"type": "Boolean!",
7534+
"id": "boolean",
7535+
"kind": "scalars",
7536+
"href": "/graphql/reference/scalars#boolean",
7537+
"arguments": [
7538+
{
7539+
"name": "pullRequestId",
7540+
"description": "<p>The pull request this check is required for.</p>",
7541+
"type": {
7542+
"name": "ID!",
7543+
"id": "id",
7544+
"kind": "scalars",
7545+
"href": "/graphql/reference/scalars#id"
7546+
}
7547+
}
7548+
]
7549+
},
75307550
{
75317551
"name": "name",
75327552
"description": "<p>The name of the check for this check run.</p>",
@@ -45359,6 +45379,26 @@
4535945379
"kind": "scalars",
4536045380
"href": "/graphql/reference/scalars#string"
4536145381
},
45382+
{
45383+
"name": "isRequired",
45384+
"description": "<p>Whether this status is required to pass before merging.</p>",
45385+
"type": "Boolean!",
45386+
"id": "boolean",
45387+
"kind": "scalars",
45388+
"href": "/graphql/reference/scalars#boolean",
45389+
"arguments": [
45390+
{
45391+
"name": "pullRequestId",
45392+
"description": "<p>The pull request this status is required for.</p>",
45393+
"type": {
45394+
"name": "ID!",
45395+
"id": "id",
45396+
"kind": "scalars",
45397+
"href": "/graphql/reference/scalars#id"
45398+
}
45399+
}
45400+
]
45401+
},
4536245402
{
4536345403
"name": "state",
4536445404
"description": "<p>The state of this status context.</p>",

0 commit comments

Comments
 (0)