Skip to content

Commit c707eab

Browse files
committed
Change codeNavigation to 'supported' for C and C++
1 parent 11c574a commit c707eab

17 files changed

Lines changed: 18 additions & 811 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ jobs:
3030
runs-on: ubuntu-latest
3131
steps:
3232
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
33+
- name: Generate GitHub App token
34+
id: app-token
35+
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
36+
with:
37+
app-id: ${{ secrets.DOCS_BOT_APP_ID }}
38+
private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }}
39+
owner: github
40+
repositories: docs-engineering
3341

3442
- uses: github/codeql-action/init@e296a935590eb16afc0c0108289f68c87e2a89a5 # v4.30.7
3543
with:
@@ -42,16 +50,6 @@ jobs:
4250
with:
4351
slack_token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }}
4452

45-
- name: Generate GitHub App token
46-
if: ${{ failure() && github.event_name != 'pull_request' }}
47-
id: app-token
48-
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
49-
with:
50-
app-id: ${{ secrets.DOCS_BOT_APP_ID }}
51-
private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }}
52-
owner: github
53-
repositories: docs-engineering
54-
5553
- uses: ./.github/actions/create-workflow-failure-issue
5654
if: ${{ failure() && github.event_name != 'pull_request' }}
5755
with:

.github/workflows/purge-fastly.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ on:
2727

2828
permissions:
2929
contents: read
30-
deployments: read
3130

3231
# Serialize full-cache purges so two can't overlap and leave the cache in an
3332
# unknown state. Every other run (per-deploy, per-language) gets a unique group
@@ -105,20 +104,6 @@ jobs:
105104
fi
106105
npm run purge-fastly -- "${args[@]}"
107106
108-
- name: Hard-purge changed English content URLs
109-
# Prod deploys only. The soft purge above just marks `language:en` stale,
110-
# so stale-while-revalidate can keep serving the pre-deploy copy of a
111-
# just-changed page for a while. This evicts the specific English URLs
112-
# whose content/ files changed in this deploy, so the next request fetches
113-
# fresh. By the time the deploy succeeds the old pods are already gone, so
114-
# the refill is deterministically the new content. data/ changes stay
115-
# covered by the soft purge above (too many URLs to enumerate cheaply).
116-
if: ${{ github.event_name == 'deployment_status' }}
117-
env:
118-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
119-
HEAD_SHA: ${{ github.event.deployment.sha }}
120-
run: npm run purge-fastly-changed-content
121-
122107
- uses: ./.github/actions/slack-alert
123108
if: ${{ failure() && github.event_name != 'workflow_dispatch' }}
124109
with:

content/actions/get-started/understand-github-actions.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,6 @@ For a complete list of events that can be used to trigger workflows, see [Events
7171

7272
A **job** is a set of **steps** in a workflow that is executed on the same **runner**. Each step is either a shell script that will be executed, or an **action** that will be run. Steps are executed in order and are dependent on each other. Since each step is executed on the same runner, you can share data from one step to another. For example, you can have a step that builds your application followed by a step that tests the application that was built.
7373

74-
{% ifversion actions-nga %}
75-
Steps run in order by default, but you can also run selected steps concurrently when your workflow benefits from parallel execution, such as starting a long-running service while later steps continue. For more information, see [AUTOTITLE](/actions/reference/workflows-and-actions/workflow-syntax#jobsjob_idstepsbackground).
76-
{% endif %}
77-
7874
You can configure a job's dependencies with other jobs; by default, jobs have no dependencies and run in parallel. When a job takes a dependency on another job, it waits for the dependent job to complete before running.
7975

8076
You can also use a **matrix** to run the same job multiple times, each with a different combination of variables—like operating systems or language versions.

content/actions/reference/workflows-and-actions/workflow-syntax.md

Lines changed: 0 additions & 137 deletions
Original file line numberDiff line numberDiff line change
@@ -903,143 +903,6 @@ The maximum number of minutes to run the step before killing the process. Maximu
903903

904904
Fractional values are not supported. `timeout-minutes` must be a positive integer.
905905

906-
{% ifversion actions-nga %}
907-
908-
## `jobs.<job_id>.steps[*].background`
909-
910-
Runs a step asynchronously so the job continues to the next step without waiting for it to finish. Use `background: true` for long-running processes, such as databases, servers, or monitoring tasks, that need to run alongside other steps. You synchronize with background steps later using [`wait`](#jobsjob_idstepswait) or [`wait-all`](#jobsjob_idstepswait-all) or stop them with [`cancel`](#jobsjob_idstepscancel).
911-
912-
You can use `background` on steps that use `run` or `uses`. To reference a background step from [`wait`](#jobsjob_idstepswait) or [`cancel`](#jobsjob_idstepscancel), give it an [`id`](#jobsjob_idstepsid). A maximum of 10 background steps can run concurrently in a single job; additional background steps are queued until a slot is free.
913-
914-
Outputs and environment changes from a background step are only available after you run a `wait` or `wait-all` step that includes it. If a background step fails, the job fails at the next `wait` or `wait-all` that includes it (unless [`continue-on-error`](#jobsjob_idstepscontinue-on-error) is set on that step). An implicit `wait-all` runs before any post-job cleanup.
915-
916-
Use `background` when you need fine-grained control: starting a long-running process (like a server or database) that stays up while later steps run, referencing a specific step with [`wait`](#jobsjob_idstepswait) or [`cancel`](#jobsjob_idstepscancel), or interleaving background work with other steps. If you instead have a self-contained group of steps that should all finish before the job continues, [`parallel`](#jobsjob_idstepsparallel) is a more convenient shorthand.
917-
918-
### Example: Running a step in the background
919-
920-
```yaml
921-
steps:
922-
- name: Start server
923-
id: server
924-
run: npm start
925-
background: true
926-
927-
- name: Run tests against the server
928-
run: npm test
929-
930-
- name: Wait for the server step to finish
931-
wait: server
932-
```
933-
934-
## `jobs.<job_id>.steps[*].wait`
935-
936-
Pauses the job until one or more background steps complete. A `wait` step performs no work itself, it only blocks until the referenced background steps finish. Provide a single step `id` as a string, or multiple step `id`s as an array.
937-
938-
After a `wait` step completes, the outputs of the referenced background steps become available to subsequent steps. If a referenced background step failed, the `wait` step fails too.
939-
940-
### Example: Waiting for specific background steps
941-
942-
```yaml
943-
steps:
944-
- name: Build frontend
945-
id: build-frontend
946-
run: npm run build:frontend
947-
background: true
948-
949-
- name: Build backend
950-
id: build-backend
951-
run: npm run build:backend
952-
background: true
953-
954-
- name: Run linter while builds run
955-
run: npm run lint
956-
957-
- name: Wait for both builds to finish
958-
wait: [build-frontend, build-backend]
959-
960-
- name: Run tests
961-
run: npm test
962-
```
963-
964-
## `jobs.<job_id>.steps[*].wait-all`
965-
966-
Pauses the job until all active background steps complete. This is useful when several background steps are running and you want them all to finish before continuing. Like `wait`, the `wait-all` step fails if any of the background steps it waits on failed, unless you set [`continue-on-error`](#jobsjob_idstepscontinue-on-error) to `true`.
967-
968-
The `wait-all` keyword takes no arguments.
969-
970-
### Example: Waiting for all background steps
971-
972-
```yaml
973-
steps:
974-
- name: Start database
975-
id: db
976-
run: docker run -d postgres:15
977-
background: true
978-
979-
- name: Start cache
980-
id: cache
981-
run: docker run -d redis:7
982-
background: true
983-
984-
- name: Run integration tests
985-
run: npm run test:integration
986-
987-
- name: Wait for all services to stop
988-
wait-all:
989-
```
990-
991-
## `jobs.<job_id>.steps[*].cancel`
992-
993-
Gracefully terminates a running background step. The runner sends the step's process a termination signal (`SIGTERM`) so it can clean up, and forcibly stops it (`SIGKILL`) if it does not exit within a short grace period. The `cancel` keyword targets a single background step by its `id`.
994-
995-
### Example: Canceling a background step
996-
997-
```yaml
998-
steps:
999-
- name: Start long-running monitor
1000-
id: monitor
1001-
run: ./scripts/monitor.sh
1002-
background: true
1003-
1004-
- name: Run the main task
1005-
run: npm test
1006-
1007-
- name: Stop the monitor
1008-
cancel: monitor
1009-
```
1010-
1011-
## `jobs.<job_id>.steps[*].parallel`
1012-
1013-
Runs a group of steps concurrently, then waits for all of them to finish before continuing. The `parallel` keyword is shorthand: every step in the group runs as a background step, with an implicit `wait` at the end of the group. Use it when you have an independent group of steps that can run at the same time and you don't need to reference them individually.
1014-
1015-
Use `parallel` when you have a self-contained group of steps that should all finish before the job moves on, such as building several components at once. Use [`background`](#jobsjob_idstepsbackground) when you need finer control: starting a long-running process (like a server or database) that stays up while later steps run, referencing a specific step with [`wait`](#jobsjob_idstepswait) or [`cancel`](#jobsjob_idstepscancel), or interleaving background work with other steps. In short, `parallel` is more limited but more convenient for the "run this group at once" case, while `background` is the general-purpose primitive.
1016-
1017-
Each step in the group is subject to the same 10-step concurrency limit as other background steps.
1018-
1019-
### Example: Running steps in parallel
1020-
1021-
```yaml
1022-
steps:
1023-
- uses: {% data reusables.actions.action-checkout %}
1024-
1025-
- parallel:
1026-
- name: Build frontend
1027-
run: npm run build:frontend
1028-
1029-
- name: Build backend
1030-
run: npm run build:backend
1031-
1032-
- name: Build docs
1033-
run: npm run build:docs
1034-
1035-
- name: Run tests after all builds complete
1036-
run: npm test
1037-
```
1038-
1039-
The group above is equivalent to declaring each step with `background: true` followed by a `wait` step.
1040-
1041-
{% endif %}
1042-
1043906
## `jobs.<job_id>.timeout-minutes`
1044907

1045908
The maximum number of minutes to let a job run before {% data variables.product.prodname_dotcom %} automatically cancels it. Default: 360

content/actions/tutorials/migrate-to-github-actions/manual-migrations/migrate-from-jenkins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Jenkins uses directives to manage _Declarative Pipelines_. These directives defi
7676

7777
### Parallel job processing
7878

79-
{% ifversion actions-nga %}Jenkins can run the `stages` and `steps` in parallel. {% data variables.product.prodname_actions %} runs jobs in parallel and can also run steps concurrently within a job using step-level syntax. For more information, see [AUTOTITLE](/actions/reference/workflows-and-actions/workflow-syntax#jobsjob_idstepsbackground).{% else %}Jenkins can run the `stages` and `steps` in parallel, while {% data variables.product.prodname_actions %} currently only runs jobs in parallel.{% endif %}
79+
Jenkins can run the `stages` and `steps` in parallel, while {% data variables.product.prodname_actions %} currently only runs jobs in parallel.
8080

8181
| Jenkins Parallel | {% data variables.product.prodname_actions %} |
8282
| ------------- | ------------- |

content/copilot/how-tos/copilot-cli/cli-getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Use one of these commands:
4242
* **macOS/Linux (Homebrew)**
4343

4444
```bash copy
45-
brew install --cask copilot-cli
45+
brew install copilot-cli
4646
```
4747

4848
## Starting the CLI for the first time

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,3 @@ To revoke the OAuth app authorization on {% data variables.product.github %} and
194194
1. Click **Settings**.
195195
1. In the left sidebar, click **Applications**.
196196
1. Under **Authorized OAuth Apps**, click {% octicon "kebab-horizontal" aria-label="The horizontal kebab icon" %} next to **GitHub CLI** to expand the menu and select **Revoke**.
197-
198-
## Next steps
199-
200-
If you run into authentication problems, see [AUTOTITLE](/copilot/how-tos/copilot-cli/set-up-copilot-cli/troubleshoot-copilot-cli-auth).

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ winget install GitHub.Copilot.Prerelease
7272
### Installing with Homebrew (macOS and Linux)
7373

7474
```shell copy
75-
brew install --cask copilot-cli
75+
brew install copilot-cli
7676
```
7777

7878
To install the prerelease version:
7979

8080
```shell copy
81-
brew install --cask copilot-cli@prerelease
81+
brew install copilot-cli@prerelease
8282
```
8383

8484
### Installing with the install script (macOS and Linux)

data/tables/supported-code-languages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ features:
4141
languages:
4242
C:
4343
copilot: 'supported'
44-
codeNavigation: 'not-supported'
44+
codeNavigation: 'supported'
4545
codeScanning: 'supported'
4646
depGraph: 'not-supported'
4747
depUpdates: 'not-supported'
4848
actions: 'supported'
4949
packages: 'not-supported'
5050
C++:
5151
copilot: 'supported'
52-
codeNavigation: 'not-supported'
52+
codeNavigation: 'supported'
5353
codeScanning: 'supported'
5454
depGraph: 'not-supported'
5555
depUpdates: 'not-supported'

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@
8080
"prettier-check": "prettier -c \"**/*.{ts,tsx,scss,yml,yaml}\"",
8181
"prevent-pushes-to-main": "tsx src/workflows/prevent-pushes-to-main.ts",
8282
"purge-fastly": "tsx src/workflows/purge-fastly.ts",
83-
"purge-fastly-changed-content": "tsx src/workflows/purge-fastly-changed-content.ts",
8483
"readability-report": "tsx src/workflows/experimental/readability-report.ts",
8584
"ready-for-docs-review": "tsx src/workflows/ready-for-docs-review.ts",
8685
"release-banner": "tsx src/ghes-releases/scripts/release-banner.ts",

0 commit comments

Comments
 (0)