Skip to content

Commit e34c74e

Browse files
authored
Merge pull request #39111 from github/repo-sync
Repo sync
2 parents aaf57c0 + 78d60ba commit e34c74e

File tree

26 files changed

+626
-20
lines changed

26 files changed

+626
-20
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
22

33
**27 June 2025**
44

5+
We’ve published a new set of new documentation articles designed to help users make the most of the **Dependabot metrics page** in the organization’s security overview.
6+
7+
These clear, actionable guides help users:
8+
9+
- **[View metrics for Dependabot alerts](https://docs.github.com/en/enterprise-cloud@latest/code-security/security-overview/viewing-metrics-for-dependabot-alerts)**
10+
This article is aimed at security and engineering leads who want to learn how to access and interpret key metrics, so they can quickly assess their organization’s exposure and remediation progress.
11+
12+
- **[Understand your organization’s exposure to vulnerable dependencies](https://docs.github.com/en/enterprise-cloud@latest/code-security/securing-your-organization/understanding-your-organizations-exposure-to-vulnerabilites/about-your-exposure-to-vulnerable-dependencies)**
13+
In this article, security analysts and compliance teams get a deep dive into how vulnerable dependencies are tracked and what these numbers mean for their risk landscape.
14+
15+
- **[Prioritize Dependabot alerts using metrics](https://docs.github.com/en/enterprise-cloud@latest/code-security/securing-your-organization/understanding-your-organizations-exposure-to-vulnerabilites/prioritizing-dependabot-alerts-using-metrics)**
16+
This guide provides engineering managers and remediation teams with strategies for using metrics to focus the team’s efforts where they matter most, making remediation more efficient.
17+
18+
<hr>
19+
20+
**27 June 2025**
21+
522
We've published a new scenario-based guide for Copilot: [Learning a new programming language with GitHub Copilot](https://docs.github.com/en/copilot/tutorials/learning-a-new-programming-language-with-github-copilot).
623

724
This guide is for developers who are proficient with at least one programming language and want to learn an additional language. It provides information about how you can use Copilot as your personalized learning assistant. It also provides many ready-made prompts that you can use when you are learning a new programming language.
237 KB
Loading
149 KB
Loading

content/code-security/dependabot/dependabot-security-updates/customizing-dependabot-security-prs.md

Lines changed: 65 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,25 @@ For detailed guidance, see [Prioritizing meaningful updates](/code-security/depe
4444

4545
{% endif %}
4646

47+
{% ifversion dependabot-reviewers-deprecation %}
48+
49+
## Automatically adding reviewers
50+
51+
To ensure your project's security updates get addressed promptly by the appropriate team, you can automatically add reviewers to Dependabot pull requests using a CODEOWNERS file. See [AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners).
52+
53+
{% else %}
54+
4755
## Automatically adding reviewers and assignees
4856

57+
> [!NOTE]
58+
> The `reviewers` property is closing down and will be removed in a future release of GitHub Enterprise Server.
59+
4960
To ensure your project's security updates get **addressed promptly** by the appropriate team, use `reviewers` and `assignees` to automatically add individuals or teams as **reviewers or assignees** to pull requests.
5061

5162
For detailed guidance, see [Automatically adding reviewers and assignees](/code-security/dependabot/dependabot-version-updates/customizing-dependabot-prs#automatically-adding-reviewers-and-assignees).
5263

64+
{% endif %}
65+
5366
## Labeling pull requests with custom labels
5467

5568
To **prioritize** specific pull requests, or integrate them into CI/CD pipelines, use `labels` to apply your own **custom labels** to each pull request.
@@ -79,9 +92,58 @@ For detailed guidance, see [Changing the separator in the pull request branch na
7992
In this example, the `dependabot.yml` file:
8093
* Uses a private registry for updates to npm dependencies.
8194
* Disables version updates for dependencies, so that any customizations apply to security updates only.
82-
* Is customized so that {% data variables.product.prodname_dependabot %} applies custom labels to the pull requests and automatically adds reviewers and assignees.{% ifversion dependabot-grouped-security-updates-config %}
95+
* Is customized so that {% data variables.product.prodname_dependabot %} applies custom labels to the pull requests and automatically adds {% ifversion ghes < 3.19 %}reviewers and {% endif %}assignees.{% ifversion dependabot-grouped-security-updates-config %}
8396
* Groups security updates for golang dependencies into a single pull request.{% endif %}
8497

98+
{% ifversion dependabot-reviewers-deprecation %}
99+
100+
```yaml copy
101+
# Example configuration file that:
102+
# - Uses a private registry for npm updates
103+
# - Ignores lodash dependency
104+
# - Disables version-updates
105+
# - Applies custom labels
106+
{% ifversion dependabot-grouped-security-updates-config %}# - Group security updates for golang dependencies into a single pull request{%- endif %}
107+
108+
version: 2
109+
registries:
110+
# Define a private npm registry with the name `example`
111+
example:
112+
type: npm-registry
113+
url: https://example.com
114+
token: {% raw %}${{secrets.NPM_TOKEN}}{% endraw %}
115+
updates:
116+
- package-ecosystem: "npm"
117+
directory: "/src/npm-project"
118+
schedule:
119+
interval: "daily"
120+
# For Lodash, ignore all updates
121+
ignore:
122+
- dependency-name: "lodash"
123+
# Disable version updates for npm dependencies
124+
open-pull-requests-limit: 0
125+
registries:
126+
# Ask Dependabot to use the private registry for npm
127+
- example
128+
# Raise all npm pull requests for security updates with custom labels
129+
labels:
130+
- "npm dependencies"
131+
- "triage-board"
132+
# Raise all npm pull requests for security updates with assignees
133+
assignees:
134+
- "user-name"
135+
{% ifversion dependabot-grouped-security-updates-config %}- package-ecosystem: "gomod"
136+
groups:
137+
# Group security updates for golang dependencies
138+
# into a single pull request
139+
golang:
140+
applies-to: security-updates
141+
patterns:
142+
- "golang.org*"{% endif %}
143+
```
144+
145+
{% else %}
146+
85147
```yaml copy
86148
# Example configuration file that:
87149
# - Uses a private registry for npm updates
@@ -132,6 +194,8 @@ updates:
132194
- "golang.org*"{% endif %}
133195
```
134196
197+
{% endif %}
198+
135199
## Example 2: configuration for version updates and security updates
136200
137201
In this example, the `dependabot.yml` file:

content/code-security/dependabot/dependabot-version-updates/customizing-dependabot-prs.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,37 @@ shortTitle: Customize Dependabot PRs
1919

2020
There are various ways to customize your {% data variables.product.prodname_dependabot %} pull requests so that they better suit your own internal processes.
2121

22+
{% ifversion dependabot-reviewers-deprecation %}
23+
24+
For example, to integrate {% data variables.product.prodname_dependabot %}'s pull requests into your CI/CD pipelines, it can apply **custom labels** to pull requests, which you can then use to trigger action workflows.
25+
26+
{% else %}
27+
2228
For example:
2329
* To maximize efficiency, {% data variables.product.prodname_dependabot %} can automatically add specific individuals or teams as **reviewers** to its pull requests for a particular package ecosystem.
2430
* To integrate {% data variables.product.prodname_dependabot %}'s pull requests into your CI/CD pipelines, it can apply **custom labels** to pull requests, which you can then use to trigger action workflows.
2531

32+
{% endif %}
33+
2634
There are several different customization options which can all be used in combination, and tailored per package ecosystem.
2735

36+
{% ifversion dependabot-reviewers-deprecation %}
37+
38+
## Automatically adding reviewers
39+
40+
To ensure your project's security updates get addressed promptly by the appropriate team, you can automatically add reviewers to Dependabot pull requests using a CODEOWNERS file. See [AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners).
41+
42+
{% else %}
43+
2844
## Automatically adding reviewers and assignees
2945

3046
By default, {% data variables.product.prodname_dependabot %} raises pull requests without any reviewers or assignees.
3147

3248
However, you may want pull requests to be consistently reviewed or dealt with by a specific individual or team that has expertise in that package ecosystem, or automatically assigned to a designated security team. In which case, you can use `reviewers` and `assignees` to set these values per package ecosystem.
3349

50+
> [!NOTE]
51+
> The `reviewers` property is closing down and will be removed in a future release of GitHub Enterprise Server.
52+
3453
The example `dependabot.yml` file below changes the npm configuration so that all pull requests opened with version and security updates for npm have:
3554
* A team ("`my-org/team-name`") and an individual ("`octocat`") automatically added as reviewers to the pull requests.
3655
* An individual ("`user-name`") automatically assigned to the pull requests.
@@ -59,6 +78,8 @@ updates:
5978
6079
See also [`assignees`](/code-security/dependabot/working-with-dependabot/dependabot-options-reference#assignees--) and [`reviewers`](/code-security/dependabot/working-with-dependabot/dependabot-options-reference#reviewers--).
6180

81+
{% endif %}
82+
6283
## Labeling pull requests with custom labels
6384

6485
{% data reusables.dependabot.default-labels %}

content/code-security/dependabot/working-with-dependabot/dependabot-options-reference.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,8 +456,13 @@ When `registries` is defined for a package manager:
456456

457457
Supported values: `REGISTRY_NAME` or `"*"`
458458

459+
{% ifversion dependabot-reviewers-deprecation %}{% else %}
460+
459461
## `reviewers` {% octicon "versions" aria-label="Version updates" height="24" %} {% octicon "shield-check" aria-label="Security updates" height="24" %}
460462

463+
> [!NOTE]
464+
> The `reviewers` property is closing down and will be removed in a future release of GitHub Enterprise Server.
465+
461466
Specify individual reviewers, or teams of reviewers, for all pull requests raised for a package manager. For examples, see [AUTOTITLE](/code-security/dependabot/dependabot-version-updates/customizing-dependabot-prs).
462467

463468
{% data variables.product.prodname_dependabot %} default behavior:
@@ -471,6 +476,11 @@ When `reviewers` is defined:
471476

472477
Reviewers must have at least read access to the repository.
473478

479+
> [!NOTE]
480+
> You can also automatically add reviewers and assignees using a CODEOWNERS file. See [AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners).
481+
482+
{% endif %}
483+
474484
## `schedule` {% octicon "versions" aria-label="Version updates only" height="24" %}
475485

476486
**Required option.** Define how often to check for new versions for each package manager you configure using the `interval` parameter. Optionally, for daily and weekly intervals, you can customize when {% data variables.product.prodname_dependabot %} checks for updates. For examples, see [AUTOTITLE](/code-security/dependabot/dependabot-version-updates/optimizing-pr-creation-version-updates).
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: Achieving your company's engineering goals with GitHub Copilot
3+
shortTitle: Achieve company goals
4+
intro: 'Plan your rollout based on GitHub''s recommended approach for driving and measuring improvements.'
5+
versions:
6+
feature: copilot
7+
allowTitleToDifferFromFilename: true
8+
---
9+
10+
When your company rolls out a new tool such as {% data variables.product.prodname_copilot %}, you will want to measure the impact of the tool on your engineering systems and assess the tool's contribution to your company's goals.
11+
12+
{% data variables.product.company_short %}'s [Engineering System Success Playbook](https://resources.github.com/engineering-system-success-playbook/) (ESSP) provides strategies and metrics for driving meaningful and measurable improvements. The playbook recommends a three-step process for solving engineering challenges:
13+
14+
1. Identify the current barriers to success.
15+
1. Evaluate what needs to be done to achieve your goals.
16+
1. Implement your changes, monitor results, and adjust.
17+
18+
## Define your goals
19+
20+
Based on the recommendations of the ESSP, the following guides show how {% data variables.product.prodname_copilot %} can help you achieve your company's goals in specific areas. They explain how {% data variables.product.prodname_copilot_short %} can help, provide advice and resources for an effective rollout, and recommend metrics for assessing {% data variables.product.prodname_copilot_short %}'s impact.
21+
22+
We recommend defining your goals and planning your rollout accordingly. You should communicate your goals to staff and organize training to enable everyone to contribute.
23+
24+
* [AUTOTITLE](/copilot/tutorials/rolling-out-github-copilot-at-scale/driving-downstream-impact/increase-test-coverage)
25+
* [AUTOTITLE](/copilot/tutorials/rolling-out-github-copilot-at-scale/driving-downstream-impact/accelerate-pull-requests)
26+
* [AUTOTITLE](/copilot/tutorials/rolling-out-github-copilot-at-scale/driving-downstream-impact/reduce-security-debt)
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Choosing your enterprise's plan for GitHub Copilot
3-
shortTitle: Choose your plan
3+
shortTitle: Choose enterprise plan
44
intro: 'Choose between {% data variables.copilot.copilot_business_short %} and {% data variables.copilot.copilot_enterprise_short %}.'
55
versions:
66
feature: copilot
@@ -10,6 +10,7 @@ permissions: Enterprise owners and billing managers
1010
redirect_from:
1111
- /copilot/rolling-out-github-copilot-at-scale/choosing-your-enterprises-plan-for-github-copilot
1212
- /copilot/rolling-out-github-copilot-at-scale/planning-your-rollout/choosing-your-enterprises-plan-for-github-copilot
13+
- /copilot/tutorials/rolling-out-github-copilot-at-scale/planning-your-rollout/choosing-your-enterprises-plan-for-github-copilot
1314
---
1415

1516
When you adopt {% data variables.product.prodname_copilot %} in a company, you will sign up to a {% data variables.product.prodname_copilot_short %} plan designed for businesses. These plans allow you to:
@@ -40,6 +41,12 @@ When you subscribe your enterprise account to {% data variables.copilot.copilot_
4041
* Evaluate the benefits of {% data variables.copilot.copilot_enterprise_short %} for a smaller group of users before rolling it out further.
4142
* Enable {% data variables.copilot.copilot_enterprise_short %} in the organizations where it will have the most impact, such as organizations with complex documentation or specialized engineering requirements.
4243

44+
## What are our goals for {% data variables.product.prodname_copilot_short %}?
45+
46+
To drive and measure downstream impact of {% data variables.product.prodname_copilot_short %}, {% data variables.product.company_short %} recommends leading your rollout with specific engineering goals in mind. Your requirements for {% data variables.product.prodname_copilot_short %} features will depend on your overall goal for the rollout.
47+
48+
For examples of how {% data variables.product.prodname_copilot_short %} can help with common problems in engineering teams, see [AUTOTITLE](/copilot/get-started/achieve-engineering-goals).
49+
4350
## Do we have projects with complex requirements?
4451

4552
For complex projects like monorepos or legacy codebases, developers in your company may need to spend a long time finding and reading documentation before they can contribute.
@@ -71,6 +78,7 @@ To summarize:
7178
* Choose {% data variables.copilot.copilot_enterprise_short %} if your company has projects with complex requirements or large amounts of documentation. Knowledge bases give {% data variables.product.prodname_copilot_short %} enhanced context, which can save developers time and allow them to focus on tasks they enjoy.
7279
* If you think your developers will benefit from premium models and {% data variables.product.prodname_copilot_short %} code reviews, it may be cost effective to choose {% data variables.copilot.copilot_enterprise_short %} rather than pay for premium requests over your allowance.
7380
* If you're not sure about a full rollout, choose {% data variables.copilot.copilot_enterprise_short %} at the enterprise level and enable it for individual organizations where it will have the most impact.
81+
* Make your decision based on your downstream goals for the {% data variables.product.prodname_copilot_short %} rollout.
7482

7583
## Further reading
7684

content/copilot/get-started/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ children:
1212
- /plans-for-github-copilot
1313
- /github-copilot-features
1414
- /best-practices-for-using-github-copilot
15+
- /choosing-your-enterprises-plan-for-github-copilot
16+
- /achieve-engineering-goals
1517
redirect_from:
1618
- /copilot/about-github-copilot
1719
---

content/copilot/tutorials/rolling-out-github-copilot-at-scale/assigning-licenses/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Assigning GitHub Copilot licenses in your enterprise
3-
shortTitle: Assigning licenses
3+
shortTitle: Assign licenses
44
intro: Learn recommended practices for assigning licenses and managing costs.
55
versions:
66
feature: copilot

0 commit comments

Comments
 (0)