Skip to content

Commit 2d155a6

Browse files
authored
Merge pull request #40380 from github/repo-sync
Repo sync
2 parents b2cd818 + 6f2eb80 commit 2d155a6

File tree

19 files changed

+7072
-758
lines changed

19 files changed

+7072
-758
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,7 @@ Prevents a job from failing when a step fails. Set to `true` to allow a job to p
886886

887887
## `jobs.<job_id>.steps[*].timeout-minutes`
888888

889-
The maximum number of minutes to run the step before killing the process.
889+
The maximum number of minutes to run the step before killing the process. Maximum: 360 for both {% data variables.product.github %}-hosted and self-hosted runners.
890890

891891
Fractional values are not supported. `timeout-minutes` must be a positive integer.
892892

content/code-security/dependabot/working-with-dependabot/configuring-access-to-private-registries-for-dependabot.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ Examples of how to configure access to the private registries supported by {% da
165165
* [`composer-repository`](#composer-repository)
166166
* [`docker-registry`](#docker-registry)
167167
* [`git`](#git)
168+
* [`goproxy-server`](#goproxy-server)
168169
* [`hex-organization`](#hex-organization)
169170
* [`hex-repository`](#hex-repository)
170171
* [`maven-repository`](#maven-repository)
@@ -257,6 +258,25 @@ registries:
257258

258259
{% endraw %}
259260

261+
### `goproxy-server`
262+
263+
The `goproxy-server` type supports username and password. {% data reusables.dependabot.password-definition %}
264+
265+
{% data reusables.dependabot.dependabot-updates-path-match %}
266+
267+
{% raw %}
268+
269+
```yaml copy
270+
registries:
271+
my-private-registry:
272+
type: goproxy-server
273+
url: https://acme.jfrog.io/artifactory/api/go/my-repo
274+
username: octocat
275+
password: ${{secrets.MY_GO_REGISTRY_TOKEN}}
276+
```
277+
278+
{% endraw %}
279+
260280
{% ifversion dependabot-helm-support %}
261281

262282
### `helm-registry`

content/code-security/dependabot/working-with-dependabot/guidance-for-the-configuration-of-private-registries-for-dependabot.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ You'll find detailed guidance for the setup of the following package managers:
3434
* [Cargo](#cargo)
3535
* [Docker](#docker){% ifversion dependabot-docker-compose-support %}
3636
* [Docker Compose](#docker-compose){% endif %}
37+
* [Go](#go)
3738
* [Gradle](#gradle){% ifversion dependabot-helm-support %}
3839
* [Helm Charts](#helm-charts){% endif %}
3940
* [Maven](#maven)
@@ -238,6 +239,41 @@ updates:
238239

239240
{% data reusables.dependabot.dependency-submission-api-build-time-dependencies %}
240241

242+
### Go
243+
244+
Supported by Jfrog Artifactory and Nexus.
245+
246+
Go supports using a username and password for private registries.
247+
248+
Configure your private registry using the `dependabot.yml` file with the `goproxy-server` type:
249+
250+
{% raw %}
251+
252+
```yaml copy
253+
registries:
254+
my-private-registry:
255+
type: goproxy-server
256+
url: https://acme.jfrog.io/artifactory/api/go/my-repo
257+
username: octocat
258+
password: ${{secrets.MY_GO_REGISTRY_TOKEN}}
259+
```
260+
261+
{% endraw %}
262+
263+
You can also optionally configure how the Go toolchain accesses your proxy server by creating a `go.env` file in your repository root. This file allows you to set environment variables like `GOPROXY`, `GOPRIVATE`, `GONOSUMDB`, and `GOSUMDB` to control how Go modules are resolved:
264+
265+
```text copy
266+
GOPROXY=https://acme.jfrog.io/artifactory/api/go/my-repo
267+
GOPRIVATE=my-company.com/*
268+
GONOSUMDB=my-company.com/*
269+
```
270+
271+
#### Notes
272+
273+
{% data reusables.dependabot.access-private-dependencies-link %}
274+
275+
This feature enables unified dependency management for both public and private Go modules within a single {% data variables.product.prodname_dependabot %} workflow, making it ideal for organizations using corporate artifact management systems like JFrog Artifactory or Nexus.
276+
241277
### Maven
242278

243279
Maven supports username and password authentication. For more information, see `maven-repository` in [AUTOTITLE](/code-security/dependabot/working-with-dependabot/configuring-access-to-private-registries-for-dependabot#maven-repository).

content/copilot/concepts/agents/code-review.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,18 @@ If you receive {% data variables.product.prodname_copilot_short %} from an organ
4040

4141
## Code review monthly quota
4242

43-
When you assign {% data variables.product.prodname_copilot_short %} as a reviewer for a pull requestor when you request {% data variables.product.prodname_copilot_short %} to review all of your uncommitted changes in your IDE—your monthly quota of Copilot premium requests is reduced by one. For information about premium requests, see [AUTOTITLE](/copilot/managing-copilot/monitoring-usage-and-entitlements/about-premium-requests).
43+
Each time {% data variables.product.prodname_copilot_short %} reviews a pull request, or reviews files in your IDE that contain changes, your monthly quota of Copilot premium requests is reduced by one. Code review for currently selected text in {% data variables.product.prodname_vscode_shortname %} does not consume a premium request. For information about premium requests, see [AUTOTITLE](/copilot/managing-copilot/monitoring-usage-and-entitlements/about-premium-requests).
4444

4545
If a repository is configured to automatically request a code review from {% data variables.product.prodname_copilot_short %} for all new pull requests, the premium request usage is applied to the quota of the pull request author. If a pull request is created by {% data variables.product.prodname_actions %} or by a bot, the usage will apply to the user who triggered the workflow (if identifiable), or to a designated billing owner.
4646

4747
When you reach your monthly quota you will not be able to get a code review from {% data variables.product.prodname_copilot_short %} until your quota resets—unless you upgrade your {% data variables.product.prodname_copilot_short %} plan or enable additional premium requests.
4848

49+
## Model usage
50+
51+
{% data reusables.copilot.ccr-model-usage %}
52+
53+
{% data reusables.copilot.ccr-model-settings %}
54+
4955
## {% data variables.copilot.copilot_code-review_short %} in {% data variables.product.prodname_vscode %}
5056

5157
{% data variables.copilot.copilot_code-review_short %} in {% data variables.product.prodname_vscode %} supports two types of review:

content/copilot/responsible-use/code-review.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ The response generated by {% data variables.product.prodname_copilot_short %} is
4545

4646
Where {% data variables.product.prodname_copilot_short %} has provided a code suggestion, the suggestion is presented as a suggested change, which can be applied with a couple of clicks.
4747

48+
### Model usage
49+
50+
{% data reusables.copilot.ccr-model-usage %} Each use of this feature consumes one premium request. See [AUTOTITLE](/copilot/managing-copilot/monitoring-usage-and-entitlements/about-premium-requests).
51+
52+
{% data reusables.copilot.ccr-model-settings %}
53+
4854
## Use case for {% data variables.copilot.copilot_code-review %}
4955

5056
The goal of {% data variables.copilot.copilot_code-review %} is to quickly provide feedback on a developer’s code. This can enable developers to get code ready to merge more quickly and increase overall code quality.
@@ -69,10 +75,6 @@ You can configure custom instructions to help {% data variables.product.prodname
6975

7076
Depending on factors such as your codebase and programming language, you may encounter different levels of performance when using {% data variables.copilot.copilot_code-review %}. The following information is designed to help you understand system limitations and key concepts about performance as they apply to {% data variables.copilot.copilot_code-review %}.
7177

72-
### Limited scope
73-
74-
{% data variables.copilot.copilot_code-review_short %} only supports a specific set of programming languages, and it is only designed to identify a limited, fixed set of code quality issues. To ensure that all relevant problems are identified and corrected, {% data variables.copilot.copilot_code-review_short %} should be supplemented with careful human code review.
75-
7678
### Missed code quality problems
7779

7880
{% data variables.product.prodname_copilot_short %} may not identify all of the problems that are present in code, especially where changes are large or complex. To ensure that all relevant problems are identified and corrected, {% data variables.copilot.copilot_code-review_short %} should be supplemented with careful human code review.

content/organizations/managing-membership-in-your-organization/exporting-member-information-for-your-organization.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ The membership information report includes the following information.
2121
* Whether the user has two-factor authentication enabled
2222
* Whether the membership is public or private
2323
* Whether the user is an organization owner or member
24-
* Datetime of the user's last activity (such as timeline events, session updates, or access to resources via a {% data variables.product.pat_generic %} or SSH key)
2524
{%- ifversion ghec %}
2625
* Optionally, additional information that depends on the organization's configuration:
2726
* The user's SAML `NameID`
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
> [!NOTE]
2+
> {% data variables.copilot.copilot_code-review_short %} may use models that are not enabled on your organization's "Models" settings page. See [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-organization/manage-policies).
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{% data variables.copilot.copilot_code-review_short %} is a purpose-built product that uses a carefully tuned mix of models, prompts, and system behaviors to deliver consistent, high-quality feedback across a wide range of codebases. Model switching is not supported, as changing the model is likely to compromise reliability, user experience, and the quality of review comments.

src/github-apps/lib/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@
6060
"2022-11-28"
6161
]
6262
},
63-
"sha": "e605333115d5123d2ac50baf757e65cbb94a60c3"
63+
"sha": "b31dcc1c69b88654b6fa48764c837c0a6ccd0d28"
6464
}

0 commit comments

Comments
 (0)