Skip to content

Commit 1c34384

Browse files
authored
Merge pull request #39256 from github/repo-sync
Repo sync
2 parents ae429cb + 643224c commit 1c34384

File tree

11 files changed

+29
-98
lines changed

11 files changed

+29
-98
lines changed

content/copilot/concepts/about-copilot-coding-agent.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,11 @@ Users can include hidden messages in issues assigned to {% data variables.produc
111111
* **{% data variables.product.prodname_copilot_short %} doesn't account for content exclusions**. Content exclusions allow administrators to configure {% data variables.product.prodname_copilot_short %} to ignore certain files. When using {% data variables.copilot.copilot_coding_agent %}, {% data variables.product.prodname_copilot_short %} will not ignore these files, and will be able to see and update them. See [AUTOTITLE](/copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot).
112112
* **{% data variables.copilot.copilot_coding_agent %} is not available in {% data variables.enterprise.data_residency %}**. The agent is only available in {% data variables.product.prodname_dotcom_the_website %}.
113113

114+
## Hands-on practice
115+
116+
Try the [Expand your team with {% data variables.copilot.copilot_coding_agent %}](https://github.com/skills/expand-your-team-with-copilot/) Skills exercise for practical experience with {% data variables.copilot.copilot_coding_agent %}.
117+
114118
## Further reading
115119

116-
* **Hands-on practice**: Try the [Expand your team with {% data variables.copilot.copilot_coding_agent %}](https://github.com/skills/expand-your-team-with-copilot/) Skills course for practical experience with {% data variables.copilot.copilot_coding_agent %}.
117120
* [AUTOTITLE](/copilot/using-github-copilot/coding-agent) how-to articles
118121
* [AUTOTITLE](/copilot/responsible-use-of-github-copilot-features/responsible-use-of-copilot-coding-agent-on-githubcom)

content/copilot/tutorials/modernizing-legacy-code-with-github-copilot.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,10 @@ In this example, we looked at an account management system written in COBOL and
390390
* **Review the code before using it**: Make sure you understand the code that {% data variables.product.prodname_copilot_short %} provides before using it in your application. This will help you catch any potential issues and ensure that the code meets your requirements.
391391
* **Validate your changes**: After making changes to the code, it's important to validate that the application still works as expected. You can use the test plan generated by {% data variables.product.prodname_copilot_short %} to create unit and integration tests for the application.
392392
393+
## Hands-on practice
394+
395+
Try the [Modernizing your legacy code with {% data variables.product.prodname_copilot %}](https://github.com/skills/modernize-your-legacy-code-with-github-copilot) Skills exercise for practical experience updating a legacy codebase with {% data variables.product.prodname_copilot %}.
396+
393397
## Further reading
394398
395399
* [AUTOTITLE](/copilot/copilot-chat-cookbook/documenting-code/documenting-legacy-code)

src/archives/tests/deprecated-enterprise-versions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { describe, expect, test, vi } from 'vitest'
22

33
import enterpriseServerReleases from '@/versions/lib/enterprise-server-releases'
4-
import { get, getDOM } from '@/tests/helpers/e2etest-ts'
4+
import { get, getDOM } from '@/tests/helpers/e2etest'
55
import { SURROGATE_ENUMS } from '@/frame/middleware/set-fastly-surrogate-key'
66

77
describe('enterprise deprecation', () => {

src/fixtures/tests/images.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ describe('render Markdown image tags', () => {
3535
// When transformed as a source in a `<picture>` tag, it's automatically
3636
// injected with the `mw-XXXXX` virtual indicator in the URL that
3737
// resizes it on-the-fly.
38-
const image = sharp(res.body as Buffer)
38+
const image = sharp(Buffer.from(res.body as ArrayBuffer))
3939
const { width, height } = await image.metadata()
4040
expect(width).toBe(MAX_WIDTH)
4141
// The `_fixtures/screenshot.png` is 2000x1494.

src/search/tests/api-ai-search-autocomplete.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import { expect, test, vi } from 'vitest'
1515

1616
import { describeIfElasticsearchURL } from '@/tests/helpers/conditional-runs'
17-
import { get } from '@/tests/helpers/e2etest-ts'
17+
import { get } from '@/tests/helpers/e2etest'
1818

1919
import type { AutocompleteSearchResponse } from '@/search/types'
2020

src/search/tests/api-combined-search.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import { expect, test, vi } from 'vitest'
1515

1616
import { describeIfElasticsearchURL } from '@/tests/helpers/conditional-runs'
17-
import { get } from '@/tests/helpers/e2etest-ts'
17+
import { get } from '@/tests/helpers/e2etest'
1818

1919
import type { CombinedSearchResponse } from '@/search/types'
2020

src/search/tests/api-search.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
import { expect, test, vi } from 'vitest'
1515
import { describeIfElasticsearchURL } from '@/tests/helpers/conditional-runs'
16-
import { get } from '@/tests/helpers/e2etest-ts'
16+
import { get } from '@/tests/helpers/e2etest'
1717
import { GeneralSearchResponse, SearchResultAggregations, GeneralSearchHit } from '@/search/types'
1818

1919
if (!process.env.ELASTICSEARCH_URL) {

src/search/tests/rendering.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import { expect, test, vi } from 'vitest'
1515

1616
import { describeIfElasticsearchURL } from '@/tests/helpers/conditional-runs'
17-
import { get, getDOM } from '@/tests/helpers/e2etest-ts'
17+
import { get, getDOM } from '@/tests/helpers/e2etest'
1818
import { SURROGATE_ENUMS } from '@/frame/middleware/set-fastly-surrogate-key'
1919

2020
if (!process.env.ELASTICSEARCH_URL) {

src/search/tests/search.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { describe, expect, test, vi } from 'vitest'
2-
import { get, getDOM } from '@/tests/helpers/e2etest-ts'
2+
import { get, getDOM } from '@/tests/helpers/e2etest'
33

44
describe('search results page', () => {
55
vi.setConfig({ testTimeout: 60 * 1000 })

src/tests/helpers/e2etest.js

Lines changed: 0 additions & 81 deletions
This file was deleted.

0 commit comments

Comments
 (0)