Skip to content

Commit 7ef012d

Browse files
authored
Merge pull request #44663 from github/repo-sync
Repo sync
2 parents e1d805c + c64d84d commit 7ef012d

543 files changed

Lines changed: 1284 additions & 1812362 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ updates:
3131
day: tuesday
3232
cooldown:
3333
default-days: 7
34+
groups:
35+
actions:
36+
patterns:
37+
- '*'
3438
ignore:
3539
- dependency-name: '*'
3640
update-types:

.github/workflows/content-pipelines.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,12 +161,20 @@ jobs:
161161
PR_BODY="_GitHub Copilot generated this pull request._"$'\n\n'
162162
PR_BODY+="> [!NOTE]"$'\n'
163163
PR_BODY+="> This PR is **automatically generated** by the [content pipeline update workflow](${{ github.server_url }}/${{ github.repository }}/actions/workflows/content-pipelines.yml). Each run adds a new commit with any documentation changes detected."$'\n\n'
164+
PR_BODY+="> [!WARNING]"$'\n'
165+
PR_BODY+="> **Review with care before merging.** The agent generally does a good job, but these PRs can contain:"$'\n'
166+
PR_BODY+="> * Information customers don't need to know"$'\n'
167+
PR_BODY+="> * Internal or feature-flagged details that shouldn't be public"$'\n'
168+
PR_BODY+="> * Excessive or low-value detail"$'\n'
169+
PR_BODY+=">"$'\n'
170+
PR_BODY+="> Cross-check changes against the source docs linked below. If in doubt, leave the review to a subject-matter expert on the docs team."$'\n\n'
164171
PR_BODY+="## What this does"$'\n\n'
165172
PR_BODY+="Runs the \`content-pipeline-update\` agent (${PIPELINE_ID}) against the latest source docs and updates official articles under \`content/\` that have fallen out of sync."$'\n\n'
166173
PR_BODY+="## Source changes"$'\n\n'
167174
PR_BODY+="${SOURCE_LINK}"$'\n\n'
168175
PR_BODY+="## Review"$'\n\n'
169-
PR_BODY+="* Review each commit for accuracy — the agent uses AI, so spot-check important changes"$'\n'
176+
PR_BODY+="* Review each commit for accuracy — the agent uses AI, so spot-check important changes against the source docs"$'\n'
177+
PR_BODY+="* Watch especially for invented examples, internal-only content, and excessive detail (see warning above)"$'\n'
170178
PR_BODY+="* To adjust agent behavior, see [Modifying results](${{ github.server_url }}/${{ github.repository }}/blob/main/src/content-pipelines/README.md#modifying-results)"$'\n'
171179
PR_BODY+="* Once satisfied, merge to keep docs up to date"$'\n'
172180
PR_BODY+="* A new PR will be created on the next run if there are further changes"

.github/workflows/sync-codeql-cli.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,22 @@ jobs:
9090
9191
branchname=codeql-cli-update-${{ steps.semmle-code.outputs.OPENAPI_COMMIT_SHA }}
9292
93-
branchCheckout=$(git checkout -b $branchname)
94-
if [[ ! $? -eq 0 ]]; then
95-
echo "Branch $branchname already exists in 'github/docs-internal'. Exiting..."
96-
exit 0
97-
fi
93+
git checkout -b $branchname
9894
git add .
9995
git commit -m "Update CodeQL CLI data"
100-
git push -u origin $branchname
96+
97+
# Force-push to handle reruns where the branch already exists on the
98+
# remote from a prior failed attempt. Plain --force is safe here
99+
# because these branches are exclusively managed by this workflow.
100+
git push --force -u origin $branchname
101+
102+
# If a PR already exists for this branch (e.g. a previous run
103+
# succeeded but the workflow still reported failure), skip creation.
104+
existing_pr=$(gh pr list --repo github/docs-internal --head "$branchname" --json number --jq '.[0].number')
105+
if [[ -n "$existing_pr" ]]; then
106+
echo "Pull request #$existing_pr already exists for branch $branchname. Skipping PR creation."
107+
exit 0
108+
fi
101109
102110
echo "Creating pull request..."
103111
gh pr create \
-158 KB
Binary file not shown.
-115 KB
Binary file not shown.

content/account-and-profile/how-tos/account-settings/index.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,11 @@ versions:
1717
children:
1818
- /managing-security-and-analysis-features
1919
- /managing-your-tab-size-rendering-preference
20-
- /permission-levels-for-a-project-board-owned-by-a-personal-account
2120
- /manage-cookie-preferences
2221
- /managing-accessibility-settings
2322
- /prepare-for-job-change
24-
- /managing-access-to-your-personal-accounts-project-boards
2523
- /integrating-jira-with-your-personal-projects
2624
- /set-your-hiring-status
2725
shortTitle: Account settings
2826
contentType: how-tos
2927
---
30-

content/account-and-profile/how-tos/account-settings/integrating-jira-with-your-personal-projects.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,5 @@ category:
2929

3030
## Next steps
3131

32-
{% ifversion projects-v1 %}
33-
* [AUTOTITLE](/organizations/managing-organization-settings/integrating-jira-with-your-organization-project-board){% endif %}
3432
* [Connect Jira Cloud to GitHub](https://confluence.atlassian.com/adminjiracloud/connect-jira-cloud-to-github-814188429.html) in the Atlassian documentation
3533
* For reference information, see [AUTOTITLE](/account-and-profile/reference/personal-account-reference).

content/account-and-profile/how-tos/account-settings/managing-access-to-your-personal-accounts-project-boards.md

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

content/account-and-profile/how-tos/account-settings/permission-levels-for-a-project-board-owned-by-a-personal-account.md

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

content/actions/reference/workflows-and-actions/events-that-trigger-workflows.md

Lines changed: 1 addition & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -428,73 +428,6 @@ on:
428428
page_build
429429
```
430430

431-
{% ifversion projects-v1 %}
432-
433-
## `project`
434-
435-
| Webhook event payload | Activity types | `GITHUB_SHA` | `GITHUB_REF` |
436-
| --------------------- | -------------- | ------------ | -------------|
437-
| [`project`](/webhooks-and-events/webhooks/webhook-events-and-payloads#project) | - `created`<br/>- `closed`<br/>- `reopened`<br/>- `edited`<br/>- `deleted`<br/> | Last commit on default branch | Default branch |
438-
439-
> [!NOTE]
440-
> * {% data reusables.developer-site.multiple_activity_types %} The `edited` activity type refers to when a {% data variables.projects.projects_v1_board %}, not a column or card on the {% data variables.projects.projects_v1_board %}, is edited. For information about each activity type, see [AUTOTITLE](/webhooks-and-events/webhooks/webhook-events-and-payloads#project). {% data reusables.developer-site.limit_workflow_to_activity_types %}
441-
> * {% data reusables.actions.branch-requirement %}
442-
> * This event only occurs for projects owned by the workflow's repository, not for organization-owned or user-owned projects or for projects owned by another repository.
443-
444-
Runs your workflow when a {% data variables.projects.projects_v1_board %} is created or modified. For activity related to cards or columns in a {% data variables.projects.projects_v1_board %}, use the [`project_card`](#project_card) or [`project_column`](#project_column) events instead. For more information about {% data variables.projects.projects_v1_boards %}, see [AUTOTITLE](/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards). For information about the {% data variables.projects.projects_v1_board %} APIs, see [AUTOTITLE](/graphql/reference/projects-classic#object-project) in the GraphQL API documentation or [AUTOTITLE](/rest/projects-classic).
445-
446-
For example, you can run a workflow when a project has been `created` or `deleted`.
447-
448-
```yaml
449-
on:
450-
project:
451-
types: [created, deleted]
452-
```
453-
454-
## `project_card`
455-
456-
| Webhook event payload | Activity types | `GITHUB_SHA` | `GITHUB_REF` |
457-
| --------------------- | -------------- | ------------ | -------------|
458-
| [`project_card`](/webhooks-and-events/webhooks/webhook-events-and-payloads#project_card) | - `created`<br/>- `moved`<br/>- `converted` to an issue<br/>- `edited`<br/>- `deleted` | Last commit on default branch | Default branch |
459-
460-
> [!NOTE]
461-
> * {% data reusables.developer-site.multiple_activity_types %} For information about each activity type, see [AUTOTITLE](/webhooks-and-events/webhooks/webhook-events-and-payloads#project_card). {% data reusables.developer-site.limit_workflow_to_activity_types %}
462-
> * {% data reusables.actions.branch-requirement %}
463-
> * This event only occurs for projects owned by the workflow's repository, not for organization-owned or user-owned projects or for projects owned by another repository.
464-
465-
Runs your workflow when a card on a {% data variables.projects.projects_v1_board %} is created or modified. For activity related to {% data variables.projects.projects_v1_boards %} or columns in a {% data variables.projects.projects_v1_board %}, use the [`project`](#project) or [`project_column`](#project_column) event instead. For more information about {% data variables.projects.projects_v1_boards %}, see [AUTOTITLE](/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards). For information about the project card APIs, see [AUTOTITLE](/graphql/reference/projects-classic#object-projectcard) in the GraphQL API documentation or [AUTOTITLE](/rest/projects-classic/cards).
466-
467-
For example, you can run a workflow when a project card has been `created` or `deleted`.
468-
469-
```yaml
470-
on:
471-
project_card:
472-
types: [created, deleted]
473-
```
474-
475-
## `project_column`
476-
477-
| Webhook event payload | Activity types | `GITHUB_SHA` | `GITHUB_REF` |
478-
| --------------------- | -------------- | ------------ | -------------|
479-
| [`project_column`](/webhooks-and-events/webhooks/webhook-events-and-payloads#project_column) | - `created`<br/>- `updated`<br/>- `moved`<br/>- `deleted` | Last commit on default branch | Default branch |
480-
481-
> [!NOTE]
482-
> * {% data reusables.developer-site.multiple_activity_types %} For information about each activity type, see [AUTOTITLE](/webhooks-and-events/webhooks/webhook-events-and-payloads#project_column). {% data reusables.developer-site.limit_workflow_to_activity_types %}
483-
> * {% data reusables.actions.branch-requirement %}
484-
> * This event only occurs for projects owned by the workflow's repository, not for organization-owned or user-owned projects or for projects owned by another repository.
485-
486-
Runs your workflow when a column on a {% data variables.projects.projects_v1_board %} is created or modified. For activity related to {% data variables.projects.projects_v1_boards %} or cards in a {% data variables.projects.projects_v1_board %}, use the [`project`](#project) or [`project_card`](#project_card) event instead. For more information about {% data variables.projects.projects_v1_boards %}, see [AUTOTITLE](/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards). For information about the project column APIs, see [AUTOTITLE](/graphql/reference/projects-classic#object-projectcolumn) in the GraphQL API documentation or [AUTOTITLE](/rest/projects-classic#columns).
487-
488-
For example, you can run a workflow when a project column has been `created` or `deleted`.
489-
490-
```yaml
491-
on:
492-
project_column:
493-
types: [created, deleted]
494-
```
495-
496-
{% endif %}
497-
498431
## `public`
499432

500433
| Webhook event payload | Activity types | `GITHUB_SHA` | `GITHUB_REF` |
@@ -845,7 +778,7 @@ jobs:
845778
> * The webhook payload available to GitHub Actions does not include the `added`, `removed`, and `modified` attributes in the `commit` object. You can retrieve the full commit object using the API. For information, see [AUTOTITLE](/graphql/reference/commits#object-commit) in the GraphQL API documentation or [AUTOTITLE](/rest/commits#get-a-commit).
846779
> * Events will not be created if more than 5,000 branches are pushed at once. Events will not be created for tags when more than three tags are pushed at once.
847780

848-
Runs your workflow when you push a commit or tag, or when you create a repository from a template. This includes workflows that are not merged into the default branch. For more information, see [AUTOTITLE](/actions/reference/workflows-and-actions/events-that-trigger-workflows#running-your-workflow-only-when-a-push-to-specific-branches-occurs).
781+
Runs your workflow when you push a commit or tag, or when you create a repository from a template. This includes workflows that are not merged into the default branch. For more information, see [AUTOTITLE](/actions/reference/workflows-and-actions/events-that-trigger-workflows#running-your-workflow-only-when-a-push-to-specific-branches-occurs).
849782

850783
For example, you can run a workflow when the `push` event occurs.
851784

0 commit comments

Comments
 (0)