diff --git a/content/copilot/how-tos/copilot-cli/use-copilot-cli-in-actions.md b/content/copilot/how-tos/copilot-cli/use-copilot-cli-in-actions.md index c2ceef3c9518..d4aaa75901c6 100644 --- a/content/copilot/how-tos/copilot-cli/use-copilot-cli-in-actions.md +++ b/content/copilot/how-tos/copilot-cli/use-copilot-cli-in-actions.md @@ -55,7 +55,7 @@ jobs: - name: Run Copilot run: copilot --yolo -p "Summarize the changes in this commit" env: - GITHUB_TOKEN: ${{ github.token }} + GITHUB_TOKEN: {% raw %}${{ github.token }}{% endraw %} ``` Key details about this example: diff --git a/data/reusables/pages/sidebar-pages.md b/data/reusables/pages/sidebar-pages.md index 60e5efae95fc..b20560897564 100644 --- a/data/reusables/pages/sidebar-pages.md +++ b/data/reusables/pages/sidebar-pages.md @@ -1 +1 @@ -1. In the "Code and automation" section of the sidebar, click **{% octicon "browser" aria-hidden="true" aria-label="browser" %} Pages**. +1. In the{% ifversion fpt or ghec %} "Code, planning, and automation"{% elsif ghes %} "Code and automation"{% endif %} section of the sidebar, click **{% octicon "browser" aria-hidden="true" aria-label="browser" %} Pages**. diff --git a/src/graphql/data/fpt/category-map.json b/src/graphql/data/fpt/category-map.json index 4d426d9d6e8f..372140eb1444 100644 --- a/src/graphql/data/fpt/category-map.json +++ b/src/graphql/data/fpt/category-map.json @@ -1244,6 +1244,7 @@ "issuefielddatatype": "issues", "issuefieldorderfield": "issues", "issuefieldsingleselectoptioncolor": "issues", + "issuefieldupdateoperation": "issues", "issuefieldvisibility": "issues", "issueorderfield": "issues", "issuesearchtype": "issues", @@ -1595,6 +1596,7 @@ "issuefieldcreateorupdateinput": "issues", "issuefieldorder": "issues", "issuefieldsingleselectoptioninput": "issues", + "issuefieldupdateinput": "issues", "issuefieldvaluefilter": "issues", "issuefilters": "issues", "issueorder": "issues", diff --git a/src/graphql/data/fpt/changelog.json b/src/graphql/data/fpt/changelog.json index a012e77740cf..0db5ef1f20af 100644 --- a/src/graphql/data/fpt/changelog.json +++ b/src/graphql/data/fpt/changelog.json @@ -1,4 +1,26 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "

Type IssueFieldUpdateInput was added

", + "

Input field fieldName of type String! was added to input object type IssueFieldUpdateInput

", + "

Input field operation of type IssueFieldUpdateOperation! was added to input object type IssueFieldUpdateInput

", + "

Input field value of type String was added to input object type IssueFieldUpdateInput

", + "

Type IssueFieldUpdateOperation was added

", + "

Enum value ADD was added to enum IssueFieldUpdateOperation

", + "

Enum value CLEAR was added to enum IssueFieldUpdateOperation

", + "

Enum value REMOVE was added to enum IssueFieldUpdateOperation

", + "

Enum value SET was added to enum IssueFieldUpdateOperation

", + "

Input field issueFieldUpdates of type '[IssueFieldUpdateInput!]was added to input object typeUpdateIssueInput'

" + ] + } + ], + "previewChanges": [], + "upcomingChanges": [], + "date": "2026-08-24" + }, { "schemaChanges": [ { diff --git a/src/graphql/data/fpt/schema-issues.json b/src/graphql/data/fpt/schema-issues.json index 7dfefa34f677..e92ffa775e25 100644 --- a/src/graphql/data/fpt/schema-issues.json +++ b/src/graphql/data/fpt/schema-issues.json @@ -9950,6 +9950,32 @@ ], "category": "issues" }, + { + "name": "IssueFieldUpdateOperation", + "id": "issuefieldupdateoperation", + "href": "/graphql/reference/issues#enum-issuefieldupdateoperation", + "description": "

The operation to perform on an issue field value.

", + "isDeprecated": false, + "values": [ + { + "name": "ADD", + "description": "

Sets a scalar field or adds options to a multi-select field.

" + }, + { + "name": "CLEAR", + "description": "

Clears the field value.

" + }, + { + "name": "REMOVE", + "description": "

Removes options from a multi-select field.

" + }, + { + "name": "SET", + "description": "

Replaces the field value.

" + } + ], + "category": "issues" + }, { "name": "IssueFieldVisibility", "id": "issuefieldvisibility", @@ -12205,6 +12231,37 @@ ], "category": "issues" }, + { + "name": "IssueFieldUpdateInput", + "id": "issuefieldupdateinput", + "href": "/graphql/reference/issues#input-object-issuefieldupdateinput", + "description": "

Updates an issue field using its user-facing name.

", + "isDeprecated": false, + "inputFields": [ + { + "name": "fieldName", + "description": "

The name of the issue field.

", + "type": "String!", + "id": "string", + "href": "/graphql/reference/other#scalar-string" + }, + { + "name": "operation", + "description": "

The operation to perform.

", + "type": "IssueFieldUpdateOperation!", + "id": "issuefieldupdateoperation", + "href": "/graphql/reference/issues#enum-issuefieldupdateoperation" + }, + { + "name": "value", + "description": "

The value or comma-separated option names for the operation.

", + "type": "String", + "id": "string", + "href": "/graphql/reference/other#scalar-string" + } + ], + "category": "issues" + }, { "name": "IssueFieldValueFilter", "id": "issuefieldvaluefilter", @@ -13399,6 +13456,13 @@ "href": "/graphql/reference/other#scalar-id", "isDeprecated": false }, + { + "name": "issueFieldUpdates", + "description": "

Issue field updates resolved by field and option names.

", + "type": "[IssueFieldUpdateInput!]", + "id": "issuefieldupdateinput", + "href": "/graphql/reference/issues#input-object-issuefieldupdateinput" + }, { "name": "issueType", "description": "

The Issue Type to set on this issue, with optional rationale. Mutually exclusive with issueTypeId.

", diff --git a/src/graphql/data/fpt/schema.docs.graphql b/src/graphql/data/fpt/schema.docs.graphql index 29c6962045b0..023dc8bf1a84 100644 --- a/src/graphql/data/fpt/schema.docs.graphql +++ b/src/graphql/data/fpt/schema.docs.graphql @@ -22314,6 +22314,51 @@ type IssueFieldTimelineOption @docsCategory(name: "issues") { name: String! } +""" +Updates an issue field using its user-facing name. +""" +input IssueFieldUpdateInput @docsCategory(name: "issues") { + """ + The name of the issue field. + """ + fieldName: String! + + """ + The operation to perform. + """ + operation: IssueFieldUpdateOperation! + + """ + The value or comma-separated option names for the operation. + """ + value: String +} + +""" +The operation to perform on an issue field value. +""" +enum IssueFieldUpdateOperation @docsCategory(name: "issues") { + """ + Sets a scalar field or adds options to a multi-select field. + """ + ADD + + """ + Clears the field value. + """ + CLEAR + + """ + Removes options from a multi-select field. + """ + REMOVE + + """ + Replaces the field value. + """ + SET +} + """ Issue field values """ @@ -69937,6 +69982,11 @@ input UpdateIssueInput { """ id: ID! @possibleTypes(concreteTypes: ["Issue"]) + """ + Issue field updates resolved by field and option names. + """ + issueFieldUpdates: [IssueFieldUpdateInput!] + """ The Issue Type to set on this issue, with optional rationale. Mutually exclusive with `issueTypeId`. """ diff --git a/src/graphql/data/ghec/category-map.json b/src/graphql/data/ghec/category-map.json index 4d426d9d6e8f..372140eb1444 100644 --- a/src/graphql/data/ghec/category-map.json +++ b/src/graphql/data/ghec/category-map.json @@ -1244,6 +1244,7 @@ "issuefielddatatype": "issues", "issuefieldorderfield": "issues", "issuefieldsingleselectoptioncolor": "issues", + "issuefieldupdateoperation": "issues", "issuefieldvisibility": "issues", "issueorderfield": "issues", "issuesearchtype": "issues", @@ -1595,6 +1596,7 @@ "issuefieldcreateorupdateinput": "issues", "issuefieldorder": "issues", "issuefieldsingleselectoptioninput": "issues", + "issuefieldupdateinput": "issues", "issuefieldvaluefilter": "issues", "issuefilters": "issues", "issueorder": "issues", diff --git a/src/graphql/data/ghec/schema-issues.json b/src/graphql/data/ghec/schema-issues.json index 7dfefa34f677..e92ffa775e25 100644 --- a/src/graphql/data/ghec/schema-issues.json +++ b/src/graphql/data/ghec/schema-issues.json @@ -9950,6 +9950,32 @@ ], "category": "issues" }, + { + "name": "IssueFieldUpdateOperation", + "id": "issuefieldupdateoperation", + "href": "/graphql/reference/issues#enum-issuefieldupdateoperation", + "description": "

The operation to perform on an issue field value.

", + "isDeprecated": false, + "values": [ + { + "name": "ADD", + "description": "

Sets a scalar field or adds options to a multi-select field.

" + }, + { + "name": "CLEAR", + "description": "

Clears the field value.

" + }, + { + "name": "REMOVE", + "description": "

Removes options from a multi-select field.

" + }, + { + "name": "SET", + "description": "

Replaces the field value.

" + } + ], + "category": "issues" + }, { "name": "IssueFieldVisibility", "id": "issuefieldvisibility", @@ -12205,6 +12231,37 @@ ], "category": "issues" }, + { + "name": "IssueFieldUpdateInput", + "id": "issuefieldupdateinput", + "href": "/graphql/reference/issues#input-object-issuefieldupdateinput", + "description": "

Updates an issue field using its user-facing name.

", + "isDeprecated": false, + "inputFields": [ + { + "name": "fieldName", + "description": "

The name of the issue field.

", + "type": "String!", + "id": "string", + "href": "/graphql/reference/other#scalar-string" + }, + { + "name": "operation", + "description": "

The operation to perform.

", + "type": "IssueFieldUpdateOperation!", + "id": "issuefieldupdateoperation", + "href": "/graphql/reference/issues#enum-issuefieldupdateoperation" + }, + { + "name": "value", + "description": "

The value or comma-separated option names for the operation.

", + "type": "String", + "id": "string", + "href": "/graphql/reference/other#scalar-string" + } + ], + "category": "issues" + }, { "name": "IssueFieldValueFilter", "id": "issuefieldvaluefilter", @@ -13399,6 +13456,13 @@ "href": "/graphql/reference/other#scalar-id", "isDeprecated": false }, + { + "name": "issueFieldUpdates", + "description": "

Issue field updates resolved by field and option names.

", + "type": "[IssueFieldUpdateInput!]", + "id": "issuefieldupdateinput", + "href": "/graphql/reference/issues#input-object-issuefieldupdateinput" + }, { "name": "issueType", "description": "

The Issue Type to set on this issue, with optional rationale. Mutually exclusive with issueTypeId.

", diff --git a/src/graphql/data/ghec/schema.docs.graphql b/src/graphql/data/ghec/schema.docs.graphql index 29c6962045b0..023dc8bf1a84 100644 --- a/src/graphql/data/ghec/schema.docs.graphql +++ b/src/graphql/data/ghec/schema.docs.graphql @@ -22314,6 +22314,51 @@ type IssueFieldTimelineOption @docsCategory(name: "issues") { name: String! } +""" +Updates an issue field using its user-facing name. +""" +input IssueFieldUpdateInput @docsCategory(name: "issues") { + """ + The name of the issue field. + """ + fieldName: String! + + """ + The operation to perform. + """ + operation: IssueFieldUpdateOperation! + + """ + The value or comma-separated option names for the operation. + """ + value: String +} + +""" +The operation to perform on an issue field value. +""" +enum IssueFieldUpdateOperation @docsCategory(name: "issues") { + """ + Sets a scalar field or adds options to a multi-select field. + """ + ADD + + """ + Clears the field value. + """ + CLEAR + + """ + Removes options from a multi-select field. + """ + REMOVE + + """ + Replaces the field value. + """ + SET +} + """ Issue field values """ @@ -69937,6 +69982,11 @@ input UpdateIssueInput { """ id: ID! @possibleTypes(concreteTypes: ["Issue"]) + """ + Issue field updates resolved by field and option names. + """ + issueFieldUpdates: [IssueFieldUpdateInput!] + """ The Issue Type to set on this issue, with optional rationale. Mutually exclusive with `issueTypeId`. """