Skip to content

Commit 3a63946

Browse files
authored
Merge pull request #45368 from github/repo-sync
Repo sync
2 parents ee5047f + 8fc69ba commit 3a63946

15 files changed

Lines changed: 38 additions & 107 deletions

File tree

content/actions/concepts/security/openid-connect.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ The following example OIDC token uses a subject (`sub`) that references a job en
8888
}
8989
```
9090

91+
> [!NOTE]
92+
> The `sub` claim in this example uses the previous format. Repositories created after July 15, 2026 use an immutable default subject format that includes owner and repository IDs (not available on {% data variables.product.prodname_ghe_server %}). For more information, see [AUTOTITLE](/actions/reference/security/oidc#immutable-subject-claims).
93+
9194
{% ifversion ghec %}
9295

9396
## Establishing OIDC trust with your cloud provider

content/code-security/concepts/supply-chain-security/automatic-dependabot-access-to-github-registries.md

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

content/code-security/concepts/supply-chain-security/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ versions:
88
contentType: concepts
99
redirect_from:
1010
- /code-security/supply-chain-security/understanding-your-software-supply-chain
11+
- /code-security/concepts/supply-chain-security/automatic-dependabot-access-to-github-registries
1112
children:
1213
- supply-chain-security
1314
- open-source-license-compliance
@@ -23,7 +24,6 @@ children:
2324
- dependabot-pull-requests
2425
- multi-ecosystem-updates
2526
- about-the-dependabot-yml-file
26-
- automatic-dependabot-access-to-github-registries
2727
- dependabot-auto-triage-rules
2828
- dependabot-on-actions
2929
- dependabot-job-logs

content/code-security/how-tos/secure-at-scale/configure-organization-security/manage-usage-and-access/giving-org-access-private-registries.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -81,19 +81,6 @@ Any private registries used by the build must also be accessible to the workflow
8181

8282
When you configure access to one or more private registries, {% data variables.product.prodname_dependabot %} can propose pull requests to upgrade a vulnerable dependency or to maintain a dependency, see [AUTOTITLE](/code-security/how-tos/secure-your-supply-chain/manage-your-dependency-security/configure-access-to-private-registries) and [AUTOTITLE](/code-security/how-tos/secure-your-supply-chain/manage-your-dependency-security/configure-private-registries).
8383

84-
{% ifversion org-automatic-registry-access %}
85-
86-
### Automatic access to {% data variables.product.github %}-hosted registries
87-
88-
For packages stored in {% data variables.product.prodname_registry %} and {% data variables.product.prodname_container_registry %}, {% data variables.product.prodname_dependabot %} can authenticate automatically without {% data variables.product.pat_generic_plural %} or `dependabot.yml` registry configuration.
89-
90-
{% data variables.product.prodname_dependabot %} uses its `GITHUB_TOKEN` to request read access, reusing the same package access grants that {% data variables.product.prodname_actions %} workflows use.
91-
92-
To enable this, grant the repository **Read** access to each package in the package settings. Once access is granted, {% data variables.product.prodname_dependabot %} can pull from those packages automatically, and you can remove any {% data variables.product.pat_generic %}-based registry entries you previously configured for them.
93-
94-
See [AUTOTITLE](/code-security/how-tos/secure-your-supply-chain/manage-your-dependency-security/configure-access-to-private-registries#configuring-private-github-hosted-registries).
95-
{% endif %}
96-
9784
{% ifversion org-private-registry-oidc %}
9885

9986
### Configuring OIDC authentication for a private registry

content/code-security/how-tos/secure-your-supply-chain/manage-your-dependency-security/configure-access-to-private-registries.md

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -29,41 +29,8 @@ For specific ecosystems, you can configure {% data variables.product.prodname_de
2929

3030
{% ifversion dependabot-on-actions-self-hosted %}To allow {% data variables.product.prodname_dependabot %} access to registries hosted privately or restricted to internal networks, configure {% data variables.product.prodname_dependabot %} to run on {% data variables.product.prodname_actions %} self-hosted runners. For more information, see [AUTOTITLE](/code-security/how-tos/secure-your-supply-chain/manage-your-dependency-security/configure-on-self-hosted-runners).{% endif %}
3131

32-
{% ifversion org-automatic-registry-access %}
33-
34-
## Configuring private {% data variables.product.github %}-hosted registries
35-
36-
For packages stored in {% data variables.product.prodname_registry %} or {% data variables.product.prodname_container_registry %}, {% data variables.product.prodname_dependabot %} can authenticate automatically using its `GITHUB_TOKEN`. This uses the same "Manage Actions access" grants that {% data variables.product.prodname_actions %} workflows use. No {% data variables.product.pat_generic_plural %} or `dependabot.yml` registry entries are required.
37-
38-
The `dependabot.yml` registry configuration using {% data variables.product.pat_generic_title_case %}-based registry entries and described in [Configuring private third-party registries](#configuring-private-third-party-registries) is still required for third-party private registries (such as Artifactory, Azure Artifacts, or Nexus).
39-
40-
To grant {% data variables.product.prodname_dependabot %} access to a private package:
41-
42-
{% data reusables.package_registry.package-settings-from-org-level %}
43-
{% data reusables.package_registry.package-settings-option %}
44-
{% data reusables.package_registry.package-settings-actions-access %}
45-
1. {% data reusables.package_registry.package-settings-add-repo %}.
46-
Search for the repository where {% data variables.product.prodname_dependabot %} runs, and select it.
47-
{% data reusables.package_registry.package-settings-actions-access-role-repo %}
48-
Select **Read** as the access level. {% data variables.product.prodname_dependabot %} only needs read access to pull packages.
49-
50-
You need to repeat these steps for each private package that you want {% data variables.product.prodname_dependabot %} to access.
51-
52-
Once access is granted, {% data variables.product.prodname_dependabot %} can pull from those packages automatically. You can remove any {% data variables.product.pat_generic %}-based registry entries in `dependabot.yml` that you previously configured for these packages.
53-
54-
> [!NOTE]
55-
> This method works for every {% data variables.product.prodname_registry %} ecosystem that {% data variables.product.prodname_dependabot %} supports, including container images in {% data variables.product.prodname_container_registry %}.
56-
57-
For more information about how automatic access works, see [AUTOTITLE](/code-security/concepts/supply-chain-security/automatic-dependabot-access-to-github-registries). For more information about package access settings, see [AUTOTITLE](/packages/learn-github-packages/configuring-a-packages-access-control-and-visibility#ensuring-workflow-access-to-your-package).
58-
59-
## Configuring private third-party registries
60-
61-
{% else %}
62-
6332
## Configuring private registries
6433

65-
{% endif %}
66-
6734
{% ifversion org-private-registry %}
6835

6936
You can configure {% data variables.product.prodname_dependabot %}'s access to private registries at the org-level.

content/code-security/how-tos/secure-your-supply-chain/manage-your-dependency-security/configure-private-registries.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,6 @@ The snippet below shows a `dependabot.yml` file configuration that uses a token.
109109

110110
Docker supports using a username and password for registries. For more information, see `docker-registry` in [AUTOTITLE](/code-security/how-tos/secure-your-supply-chain/manage-your-dependency-security/configure-access-to-private-registries#docker-registry).
111111

112-
{% ifversion org-automatic-registry-access %}
113-
114-
For images stored in {% data variables.product.prodname_container_registry %}, you can grant your repository **Read** access in the package settings instead of configuring credentials in your `dependabot.yml` file. See [AUTOTITLE](/code-security/how-tos/secure-your-supply-chain/manage-your-dependency-security/configure-access-to-private-registries#configuring-private-github-hosted-registries).
115-
116-
{% endif %}
117-
118112
Snippet of `dependabot.yml` file using a username and password.
119113

120114
{% raw %}

content/packages/learn-github-packages/configuring-a-packages-access-control-and-visibility.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,6 @@ The specified repository does not need to be the repository where the source cod
116116
If you publish a package that is linked to a repository, {% data variables.product.prodname_actions %} workflows in the linked repository automatically get access to the package, unless your organization has disabled the automatic inheritance of access permissions. For more information, see [About inheritance of access permissions](#about-inheritance-of-access-permissions) above.
117117
{% endif %}
118118

119-
{% ifversion org-automatic-registry-access %}
120-
121-
Granting a repository access here also allows {% data variables.product.prodname_dependabot %} to pull from this package automatically, without requiring {% data variables.product.pat_generic_plural %} or `dependabot.yml` registry configuration. See [AUTOTITLE](/code-security/concepts/supply-chain-security/automatic-dependabot-access-to-github-registries).
122-
123-
{% endif %}
124-
125119
> [!NOTE]
126120
> * Syncing your package with a repository {% data variables.package_registry.package-settings-actions-access-menu %} is different than connecting your package to a repository. For more information about linking a repository to your package, see [AUTOTITLE](/packages/learn-github-packages/connecting-a-repository-to-a-package).
127121
> * You can choose to limit permissions to workflow jobs using the `permissions` key and `packages` scope. For more information, see [AUTOTITLE](/actions/tutorials/authenticate-with-github_token#modifying-the-permissions-for-the-github_token).

content/pull-requests/get-started/about-stacked-prs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ You can merge your entire stack, a single pull request, or a portion of the stac
113113
Stacks support merge commit, squash, and rebase merge methods, and they are merge-queue aware. The resulting commit history is the same as merging each pull request individually, starting from the bottom.
114114

115115
> [!NOTE]
116-
> If you merge via the API and want to use stacked pull requests, you'll need to update to use the new merge API for stacks. See [AUTOTITLE](/pull-requests/reference/stacked-pull-requests-rest-and-graphql-apis).
116+
> If you merge via the API and want to use stacked pull requests, you'll need to update to use the new merge API for stacks. See [AUTOTITLE](/rest/pulls/pulls?apiVersion=2026-03-10#merge-a-pull-request-asynchronously).
117117
118118
## Next steps
119119

content/pull-requests/how-tos/merge-and-close-pull-requests/merging-stacked-pull-requests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The merge box for a stacked pull request shows the status of the entire stack, n
2727
If the stack is not linear, for example, after changes were pushed to a lower branch or after the trunk moved ahead, a **Rebase stack** button will appear in the merge box and you'll need to rebase the stack before you can merge.
2828

2929
> [!NOTE]
30-
> * If you merge via the API and want to use stacked pull requests, you'll need to update your code to use the new merge API for stacks. See [AUTOTITLE](/pull-requests/reference/stacked-pull-requests-rest-and-graphql-apis).
30+
> * If you merge via the API and want to use stacked pull requests, you'll need to update your code to use the new merge API for stacks. See [AUTOTITLE](/rest/pulls/pulls?apiVersion=2026-03-10#merge-a-pull-request-asynchronously).
3131
> * Auto-merge is not supported for stacked pull requests.
3232
3333
## Merging using a merge queue

content/pull-requests/reference/stacked-pull-requests-rest-and-graphql-apis.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The REST API exposes stacked pull requests in two ways:
2424
* **The Stacks API.** A dedicated set of endpoints to list, read, create, extend, and dissolve stacks. This is the surface for creating and modifying stacks.
2525

2626
> [!NOTE]
27-
> If you merge via the API and want to use stacked pull requests, you'll need to update your code to use the new merge API for stacks.
27+
> If you merge via the API and want to use stacked pull requests, you'll need to update your code to use the new merge API for stacks. See [AUTOTITLE](/rest/pulls/pulls?apiVersion=2026-03-10#merge-a-pull-request-asynchronously).
2828
2929
For endpoints, parameters, and schemas, see [AUTOTITLE](/rest/pulls/pulls).
3030

0 commit comments

Comments
 (0)