Skip to content

Commit a9cef94

Browse files
author
Muhamad Sazwan Bin Ismail
authored
Merge branch 'main' into patch-4
2 parents a753aed + 41efe77 commit a9cef94

File tree

18 files changed

+364
-96
lines changed

18 files changed

+364
-96
lines changed

.github/workflows/content-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ jobs:
181181
--body "$PR_BODY" \
182182
--base main \
183183
--head "$UPDATE_BRANCH" \
184-
--label "workflow-generated,content-pipeline-update,ready-for-doc-review"
184+
--label "workflow-generated,content-pipeline-update,ready-for-doc-review,skip FR board"
185185
fi
186186
187187
- uses: ./.github/actions/slack-alert

content/admin/managing-your-enterprise-account/changing-the-url-for-your-enterprise.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ If your company pays for {% data variables.product.prodname_ghe_cloud %} by cred
1616

1717
> [!NOTE]
1818
> If you pay for {% data variables.product.prodname_ghe_cloud %} via invoice, or if your enterprise uses {% data variables.product.prodname_emus %}, you must contact {% data variables.contact.contact_enterprise_sales %} to change your enterprise slug.
19+
> For enterprises hosted on {% data variables.enterprise.data_residency_site %}, changing the enterprise slug is not currently supported.
1920
2021
## Considerations when changing your enterprise slug
2122

content/code-security/concepts/supply-chain-security/about-dependabot-on-github-actions-runners.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,16 @@ Running {% data variables.product.prodname_dependabot %} on standard {% data var
4343

4444
{% data reusables.dependabot.vnet-arc-note %}
4545

46+
## How runner settings interact
47+
48+
The {% data variables.product.prodname_dependabot %} on {% data variables.product.prodname_actions %} runners and {% data variables.product.prodname_dependabot %} on self-hosted runners settings are interdependent:
49+
50+
* Enabling "{% data variables.product.prodname_dependabot %} on self-hosted runners" automatically enables "{% data variables.product.prodname_dependabot %} on {% data variables.product.prodname_actions %} runners". Disabling "{% data variables.product.prodname_dependabot %} on {% data variables.product.prodname_actions %} runners" automatically disables "{% data variables.product.prodname_dependabot %} on self-hosted runners".
51+
* When both settings are enabled, {% data variables.product.prodname_dependabot %} jobs run **only** on self-hosted runners or {% data variables.actions.hosted_runners %} with a `dependabot` label—not on standard {% data variables.product.prodname_dotcom %}-hosted runners.
52+
53+
> [!WARNING]
54+
> If both settings are enabled but no self-hosted runners or {% data variables.actions.hosted_runners %} with a `dependabot` label are available, {% data variables.product.prodname_dependabot %} jobs will remain queued indefinitely. Ensure runners with this label are configured before enabling "{% data variables.product.prodname_dependabot %} on self-hosted runners".
55+
4656
## Access and permissions
4757

4858
If you are transitioning to using {% data variables.product.prodname_dependabot %} on {% data variables.product.prodname_actions %} runners and you restrict access to your organization's or repository's private resources, you may need to update your list of allowed IP addresses. For example, if you currently limit access to your private resources to the IP addresses that {% data variables.product.prodname_dependabot %} uses, you should update your allowlist to use the {% data variables.product.prodname_dotcom %}-hosted runners IP addresses sourced from the meta API endpoint. For more information, see [AUTOTITLE](/rest/meta).

content/code-security/how-tos/secure-your-supply-chain/manage-your-dependency-security/configure-on-self-hosted-runners.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ contentType: how-tos
3636

3737
## Enabling self-hosted runners for {% data variables.product.prodname_dependabot_updates %}
3838

39+
> [!WARNING]
40+
> Before enabling "{% data variables.product.prodname_dependabot %} on self-hosted runners", ensure that your self-hosted runners or {% data variables.actions.hosted_runners %} are configured with the runner label used by {% data variables.product.prodname_dependabot %} (by default, `dependabot`). When this setting is enabled, {% data variables.product.prodname_dependabot %} jobs will only run on runners with this label. If no runners with this label are available, jobs will remain queued indefinitely. See [AUTOTITLE](/code-security/dependabot/working-with-dependabot/about-dependabot-on-github-actions-runners#how-runner-settings-interact).
41+
3942
Once you have configured self-hosted runners for {% data variables.product.prodname_dependabot_updates %}, you can enable or disable {% data variables.product.prodname_dependabot_updates %} on self-hosted runners at the organization or repository level.
4043

4144
> [!NOTE]

content/copilot/concepts/agents/copilot-cli/about-copilot-cli.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ You can also pass the CLI a single prompt directly on the command line. The CLI
4949
To use the CLI programmatically, include the `-p` or `--prompt` command-line option in your command. To allow {% data variables.product.prodname_copilot_short %} to modify and execute files you should also use one of the approval options described later in this article—see [Allowing tools to be used without manual approval](#allowing-tools-to-be-used-without-manual-approval) ). For example:
5050

5151
```bash copy
52-
copilot -p "Show me this week's commits and summarize them" --allow-tool 'shell(git)'
52+
copilot -p "Show me this week's commits and summarize them" --allow-tool='shell(git)'
5353
```
5454

5555
Alternatively, you can use a script to output command-line options and pipe this to `copilot`. For example:
@@ -245,22 +245,22 @@ The `--deny-tool` and `--allow-tool` options require one of the following argume
245245
For `git` and `gh` commands, you can specify a particular first-level subcommand to allow or deny. For example:
246246

247247
```shell
248-
copilot --deny-tool 'shell(git push)'
248+
copilot --deny-tool='shell(git push)'
249249
```
250250

251-
The tool specification is optional. For example, `copilot --allow-tool 'shell'` allows {% data variables.product.prodname_copilot_short %} to use any shell command without individual approval.
251+
The tool specification is optional. For example, `copilot --allow-tool='shell'` allows {% data variables.product.prodname_copilot_short %} to use any shell command without individual approval.
252252

253253
* `'write'`
254254

255255
This argument allows or denies tools—other than shell commands—permission to modify files.
256256

257-
For example, `copilot --allow-tool 'write'` allows {% data variables.product.prodname_copilot_short %} to edit files without your individual approval.
257+
For example, `copilot --allow-tool='write'` allows {% data variables.product.prodname_copilot_short %} to edit files without your individual approval.
258258

259259
* `'MCP_SERVER_NAME'`
260260

261261
This argument allows or denies tools from the specified MCP server, where `MCP_SERVER_NAME` is the name of an MCP server that you have configured. Tools from the server are specified in parentheses, using the tool name that is registered with the MCP server. Using the server name without specifying a tool allows or denies all tools from that server.
262262

263-
For example, `copilot --deny-tool 'My-MCP-Server(tool_name)'` prevents {% data variables.product.prodname_copilot_short %} from using the tool called `tool_name` from the MCP server called `My-MCP-Server`.
263+
For example, `copilot --deny-tool='My-MCP-Server(tool_name)'` prevents {% data variables.product.prodname_copilot_short %} from using the tool called `tool_name` from the MCP server called `My-MCP-Server`.
264264

265265
You can find an MCP server's name by entering `/mcp` in the CLI's interactive interface, then selecting the server from the list that's displayed.
266266

@@ -271,13 +271,13 @@ You can use a combination of approval options to determine exactly which tools {
271271
For example, to prevent {% data variables.product.prodname_copilot_short %} from using the `rm` and `git push` commands, but automatically allow all other tools, use:
272272

273273
```shell
274-
copilot --allow-all-tools --deny-tool 'shell(rm)' --deny-tool 'shell(git push)'
274+
copilot --allow-all-tools --deny-tool='shell(rm)' --deny-tool='shell(git push)'
275275
```
276276

277277
To prevent {% data variables.product.prodname_copilot_short %} from using the tool `tool_name` from the MCP server named `My-MCP-Server`, but allow all other tools from that server to be used without individual approval, use:
278278

279279
```shell
280-
copilot --allow-tool 'My-MCP-Server' --deny-tool 'My-MCP-Server(tool_name)'
280+
copilot --allow-tool='My-MCP-Server' --deny-tool='My-MCP-Server(tool_name)'
281281
```
282282

283283
#### Security implications of automatic tool approval

content/copilot/how-tos/copilot-cli/cli-best-practices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ To reset previously approved tools, use:
7676
You can also preconfigure allowed tools via CLI flags:
7777

7878
```bash
79-
copilot --allow-tool 'shell(git:*)' --deny-tool 'shell(git push)'
79+
copilot --allow-tool='shell(git:*)' --deny-tool='shell(git push)'
8080
```
8181

8282
**Common permission patterns:**

content/copilot/how-tos/copilot-cli/set-up-copilot-cli/configure-copilot-cli.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Use `--deny-tool` to prevent {% data variables.product.prodname_copilot_short %}
109109
* For example:
110110

111111
```shell
112-
copilot --deny-tool 'shell(git push)'
112+
copilot --deny-tool='shell(git push)'
113113
```
114114

115115
This option takes precedence over the `--allow-all-tools` and `--allow-tool` options.
@@ -121,7 +121,7 @@ Use `--allow-tool` to allow {% data variables.product.prodname_copilot_short %}
121121
* For example:
122122

123123
```shell
124-
copilot --allow-tool 'shell'
124+
copilot --allow-tool='shell'
125125
```
126126

127127
### Specifying which tool you want to allow or deny
@@ -139,18 +139,18 @@ Use `shell(COMMAND)` to allow or deny a specific shell command.
139139
* For example, to prevent {% data variables.product.prodname_copilot_short %} from using any `rm` command, use:
140140

141141
```shell
142-
copilot --deny-tool 'shell(rm)'
142+
copilot --deny-tool='shell(rm)'
143143
```
144144

145145
For `git` and `gh` commands, specify a particular first-level subcommand to allow or deny.
146146

147147
* For example, to prevent {% data variables.product.prodname_copilot_short %} from using `git push`, use:
148148

149149
```shell
150-
copilot --deny-tool 'shell(git push)'
150+
copilot --deny-tool='shell(git push)'
151151
```
152152

153-
The tool specification is optional. For example, `copilot --allow-tool 'shell'` allows {% data variables.product.prodname_copilot_short %} to use any shell command without individual approval.
153+
The tool specification is optional. For example, `copilot --allow-tool='shell'` allows {% data variables.product.prodname_copilot_short %} to use any shell command without individual approval.
154154

155155
#### Allowing or denying `'write'` tools
156156

@@ -159,7 +159,7 @@ Use `'write'` to allow or deny tools—other than shell commands—permission to
159159
* For example, to allow {% data variables.product.prodname_copilot_short %} to edit files without your individual approval, use:
160160

161161
```shell
162-
copilot --allow-tool 'write'
162+
copilot --allow-tool='write'
163163
```
164164

165165
#### Allowing or denying MCP server tools
@@ -169,7 +169,7 @@ Use `'MCP_SERVER_NAME'` to allow or deny a specific tool from the specified MCP
169169
* For example, to prevent {% data variables.product.prodname_copilot_short %} from using the tool called `tool_name` from the MCP server called `My-MCP-Server`, use:
170170

171171
```shell
172-
copilot --deny-tool 'My-MCP-Server(tool_name)'
172+
copilot --deny-tool='My-MCP-Server(tool_name)'
173173
```
174174

175175
`MCP_SERVER_NAME` is the name of an MCP server that you have configured.
@@ -187,13 +187,13 @@ To determine exactly which tools {% data variables.product.prodname_copilot_shor
187187
* To prevent {% data variables.product.prodname_copilot_short %} from using the `rm` and `git push` commands, but automatically allow all other tools, use:
188188

189189
```shell
190-
copilot --allow-all-tools --deny-tool 'shell(rm)' --deny-tool 'shell(git push)'
190+
copilot --allow-all-tools --deny-tool='shell(rm)' --deny-tool='shell(git push)'
191191
```
192192

193193
* To prevent {% data variables.product.prodname_copilot_short %} from using the tool `tool_name` from the MCP server named `My-MCP-Server`, but allow all other tools from that server to be used without individual approval, use:
194194

195195
```shell
196-
copilot --allow-tool 'My-MCP-Server' --deny-tool 'My-MCP-Server(tool_name)'
196+
copilot --allow-tool='My-MCP-Server' --deny-tool='My-MCP-Server(tool_name)'
197197
```
198198

199199
### Limiting available tools
@@ -246,15 +246,15 @@ To disable URL verification, use the `--allow-all-urls` flag.
246246

247247
### Pre-approving specific domains
248248

249-
To pre-approve specific domains, use `--allow-url <domain>`.
249+
To pre-approve specific domains, use `--allow-url=DOMAIN`.
250250

251-
* For example, `--allow-url github.com`.
251+
* For example, `--allow-url=github.com`.
252252

253253
### Denying specific domains
254254

255-
To deny specific domains, use `--deny-url <domain>`.
255+
To deny specific domains, use `--deny-url=DOMAIN`.
256256

257-
* For example, `--deny-url github.com`.
257+
* For example, `--deny-url=github.com`.
258258

259259
## Allowing all tools, paths, and URLs
260260

content/copilot/how-tos/use-copilot-agents/coding-agent/integrate-coding-agent-with-jira.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ The {% data variables.product.prodname_copilot %} integration in Jira allows you
2121
## Prerequisites
2222

2323
* You must have a {% data variables.product.github %} account with access to {% data variables.product.prodname_copilot_short %} through {% data variables.copilot.copilot_pro_short %}, {% data variables.copilot.copilot_pro_plus_short %}, {% data variables.copilot.copilot_business_short %}, or {% data variables.copilot.copilot_enterprise_short %}.
24-
* You must have a Jira Cloud account with [AI features enabled](https://support.atlassian.com/organization-administration/docs/activate-atlassian-intelligence-for-products).
24+
* You must have a Jira Cloud account with the following AI features enabled for your organization:
25+
* **Jira must be an AI-enabled app** and Rovo must be activated. See [Activate AI for apps](https://support.atlassian.com/organization-administration/docs/activate-atlassian-intelligence-for-products) in the Atlassian documentation.
26+
* **Beta AI features** must be turned on. See [Control access to beta AI features](https://support.atlassian.com/organization-administration/docs/control-access-to-beta-ai-features/) in the Atlassian documentation.<!-- markdownlint-disable-line GHD046 -->
2527
* Installation and authentication must be completed for both Jira and {% data variables.product.github %}.
2628

2729
## Installation
@@ -77,9 +79,17 @@ The first time you use {% data variables.copilot.copilot_coding_agent %} in Jira
7779

7880
Only users with **write** access to a repository can trigger {% data variables.copilot.copilot_coding_agent %} to work in that repository.
7981

82+
You can trigger {% data variables.copilot.copilot_coding_agent %} in three ways:
83+
84+
* **Assign** {% data variables.product.prodname_copilot %} to a work item using the Assignee field.
85+
* **Mention** `@{% data variables.product.prodname_copilot %}` in a comment on a work item.
86+
* **Add {% data variables.product.prodname_copilot_short %} to a workflow transition** so it is triggered automatically when a work item moves to a specific status. See [Collaborate on work items with AI agents](https://support.atlassian.com/jira-software-cloud/docs/collaborate-on-work-items-with-ai-agents/#Add-an-agent-to-workflow-transitions) for setup instructions.
87+
8088
> [!NOTE]
8189
> When you assign {% data variables.product.prodname_copilot_short %} to a Jira work item, the context the agent captures from Jira will be added to the pull request and **visible to everyone** if the repository is public.
8290
91+
### Example: Triggering {% data variables.copilot.copilot_coding_agent %} from a Jira work item
92+
8393
1. In Jira, open or create a work item that contains clear requirements you want to delegate to {% data variables.copilot.copilot_coding_agent %}.
8494
1. To specify a repository you want {% data variables.product.prodname_copilot_short %} to work in, mention it in the work item description or in a comment.
8595
1. Assign `{% data variables.product.prodname_copilot %}` to the work item, or mention `@{% data variables.product.prodname_copilot %}` in a comment. For example:
@@ -109,6 +119,13 @@ For more information, see [AUTOTITLE](/billing/concepts/product-billing/github-c
109119
110120
If you run into problems, try the following solutions.
111121
122+
### You can't see the {% data variables.copilot.copilot_coding_agent %} and it is not possible to assign it to a Jira work item
123+
124+
In Jira, check your Atlassian Administration settings for your organization are set as follows.
125+
126+
1. Jira is an AI-enabled app, see [Activate AI for apps](https://support.atlassian.com/organization-administration/docs/activate-atlassian-intelligence-for-products) in the Atlassian documentation.
127+
1. Beta AI features are enabled, see [Control access to beta AI features](https://support.atlassian.com/organization-administration/docs/control-access-to-beta-ai-features/) in the Atlassian documentation.<!-- markdownlint-disable-line GHD046 -->
128+
112129
### You can see the {% data variables.copilot.copilot_coding_agent %} but it is not possible to assign it to a Jira work item
113130
114131
Check that you have connected your personal account on {% data variables.product.github %} to the {% data variables.product.prodname_copilot %} for Jira app.

content/copilot/how-tos/use-copilot-agents/manage-agents.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ category:
1515
## 1. Select a repository and choose your agent
1616

1717
1. Start a new agent task.
18-
18+
1919
* Open the **{% octicon "agent" aria-label="The Agents icon" %} Agents** tab in a repository
2020
* Open the [Agents page](https://github.com/copilot/agents?ref_product=copilot&ref_type=engagement&ref_style=text)
2121
* Use the **Task** button or `/task` command from [{% data variables.copilot.copilot_chat_short %}](https://github.com/copilot?ref_product=copilot&ref_type=engagement&ref_style=text)
@@ -40,7 +40,7 @@ For more information on ways to start new agent tasks, see [AUTOTITLE](/copilot/
4040
4141
Once the agent starts working, it will continue to update the session log and overview with its progress and thought process.
4242
43-
Each session displays its status. Click on a session to open the session log, where you can monitor the agent's progress, see the tools it's using, and track how long the session has been running.
43+
Each session displays its status. Click on a session to open the session log, where you can monitor the agent's progress, see the tools it's using, and track how long the session has been running.
4444
4545
{% data variables.copilot.copilot_coding_agent %} sessions can also be tracked from the {% data variables.product.prodname_cli %}, {% data variables.product.prodname_mobile %}, {% data variables.product.prodname_vscode %}, Raycast, and JetBrains IDEs. For more information, see [AUTOTITLE](/copilot/how-tos/use-copilot-agents/coding-agent/track-copilot-sessions).
4646
@@ -68,14 +68,14 @@ In the prompt box under the agent session log, prompt {% data variables.product.
6868
You can guide the agent in your local development environment on further changes, or make any edits that require human expertise.
6969

7070
### {% data variables.product.prodname_vscode_shortname %}
71-
71+
7272
At the bottom of the agent session view, click the **{% octicon "vscode" aria-label="VS Code" %} Open in {% data variables.product.prodname_vscode_shortname %}** button to launch the session directly in {% data variables.product.prodname_vscode_shortname %}.
7373

7474
{% data reusables.copilot.coding-agent.use-latest-vscode %}
7575

7676
### {% data variables.copilot.copilot_cli %}
7777
1. At the bottom of the agent session view, click the dropdown list next to **{% octicon "vscode" aria-label="VS Code" %} Open in {% data variables.product.prodname_vscode_shortname %}**.
78-
1. Click **{% octicon "agent" aria-label="Agent" %} Continue in {% data variables.copilot.copilot_cli %}** to copy the `copilot --resume=<session ID>` command to your clipboard.
78+
1. Click **{% octicon "agent" aria-label="Agent" %} Continue in {% data variables.copilot.copilot_cli %}** to copy the `copilot --resume=SESSION-ID` command to your clipboard.
7979
![Screenshot of the session action dropdown list, "Continue in Copilot CLI" is highlighted with a dark orange outline.](/assets/images/help/copilot/coding-agent/open-agent-session-in-copilot-cli.png)
8080
1. In your terminal, paste and run the command to resume the agent session.
8181

@@ -85,7 +85,7 @@ Once the agent completes a session, you can navigate to the pull request to revi
8585

8686
## 6. Archive agent sessions
8787

88-
Sessions that have been stopped can be archived to remove them from the sessions list.
88+
Sessions that have been stopped can be archived to remove them from the sessions list.
8989

9090
1. Open the agent session you want to archive.
9191
1. In the top right corner, click **{% octicon "kebab-horizontal" aria-label="More actions" %}**, then click **{% octicon "inbox" aria-hidden="true" aria-label="inbox" %} Archive session**.

0 commit comments

Comments
 (0)