Skip to content

Commit 6a86b24

Browse files
authored
Merge branch 'main' into intel_macos14
2 parents 6c84f52 + a93e027 commit 6a86b24

File tree

19 files changed

+214
-91
lines changed

19 files changed

+214
-91
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Docs changelog
22

3+
**18 December 2025**
4+
5+
The documentation has been updated to reflect the general availability of direct organization billing for premium request usage in Copilot Code Review. Organization members without a Copilot plan can now use Copilot Code Review on GitHub.com, with premium request usage billed directly to their organization or enterprise. See [Copilot code review without a Copilot license](https://docs.github.com/en/copilot/concepts/agents/code-review#copilot-code-review-without-a-copilot-license).
6+
7+
<hr>
8+
39
**16 December 2025**
410

511
We've added [a tutorial](https://docs.github.com/copilot/tutorials/modernize-java-applications) on how Copilot can help modernize and migrate Java applications by assessing your codebase, identifying upgrade paths, and automating remediation and containerization tasks.

content/actions/how-tos/reuse-automations/create-workflow-templates.md

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,47 @@ This procedure demonstrates how to create a workflow template and metadata file.
2828
1. If it doesn't already exist, create a new repository named `.github` in your organization.
2929
1. Create a directory named `workflow-templates`.
3030
1. Create your new workflow file inside the `workflow-templates` directory.
31-
1. Create a metadata file inside the `workflow-templates` directory.
31+
32+
If you need to refer to a repository's default branch, you can use the `$default-branch` placeholder. When a workflow is created the placeholder will be automatically replaced with the name of the repository's default branch.
33+
34+
{% ifversion ghes %}
35+
36+
> [!NOTE]
37+
> The following values in the `runs-on` key are also treated as placeholders:
38+
>
39+
> * `ubuntu-latest` is replaced with `[ self-hosted ]`
40+
> * `windows-latest` is replaced with `[ self-hosted, windows ]`
41+
> * `macos-latest` is replaced with `[ self-hosted, macOS ]`
42+
{% endif %}
43+
44+
For example, this file named `octo-organization-ci.yml` demonstrates a basic workflow.
45+
46+
```yaml copy
47+
name: Octo Organization CI
48+
49+
on:
50+
push:
51+
branches: [ $default-branch ]
52+
pull_request:
53+
branches: [ $default-branch ]
54+
55+
jobs:
56+
build:
57+
runs-on: ubuntu-latest
58+
59+
steps:
60+
- uses: {% data reusables.actions.action-checkout %}
61+
62+
- name: Run a one-line script
63+
run: echo Hello from Octo Organization
64+
```
65+
66+
1. Create a metadata file inside the `workflow-templates` directory. The metadata file must have the same name as the workflow file, but instead of the `.yml` extension, it must be appended with `.properties.json`. For example, this file named `octo-organization-ci.properties.json` contains the metadata for a workflow file named `octo-organization-ci.yml`:
67+
68+
{% data reusables.actions.workflow-templates-metadata-example %}
69+
70+
{% data reusables.actions.workflow-templates-metadata-keys %}
71+
3272
1. To add another workflow template, add your files to the same `workflow-templates` directory.
3373

3474
## Next steps

content/actions/reference/workflows-and-actions/reusing-workflow-configurations.md

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -170,33 +170,9 @@ jobs:
170170
171171
The metadata file must have the same name as the workflow file, but instead of the `.yml` extension, it must be appended with `.properties.json`. For example, this file named `octo-organization-ci.properties.json` contains the metadata for a workflow file named `octo-organization-ci.yml`:
172172

173-
```json copy
174-
{
175-
"name": "Octo Organization Workflow",
176-
"description": "Octo Organization CI workflow template.",
177-
"iconName": "example-icon",
178-
"categories": [
179-
"Go"
180-
],
181-
"filePatterns": [
182-
"package.json$",
183-
"^Dockerfile",
184-
".*\\.md$"
185-
]
186-
}
187-
```
188-
189-
* `name` - **Required.** The name of the workflow. This is displayed in the list of available workflows.
190-
* `description` - **Required.** The description of the workflow. This is displayed in the list of available workflows.
191-
* `iconName` - _Optional._ Specifies an icon for the workflow that is displayed in the list of workflows. `iconName` can one of the following types:
192-
* An SVG file that is stored in the `workflow-templates` directory. To reference a file, the value must be the file name without the file extension. For example, an SVG file named `example-icon.svg` is referenced as `example-icon`.
193-
* An icon from {% data variables.product.prodname_dotcom %}'s set of [Octicons](https://primer.style/octicons/). To reference an octicon, the value must be `octicon <icon name>`. For example, `octicon smiley`.
194-
* `categories` - **Optional.** Defines the categories that the workflow is shown under. You can use category names from the following lists:
195-
* General category names from the [starter-workflows](https://github.com/actions/starter-workflows/blob/main/README.md#categories) repository.
196-
* Linguist languages from the list in the [linguist](https://github.com/github-linguist/linguist/blob/main/lib/linguist/languages.yml) repository.
197-
* Supported tech stacks from the list in the [starter-workflows](https://github.com/github-starter-workflows/repo-analysis-partner/blob/main/tech_stacks.yml) repository.
198-
199-
* `filePatterns` - **Optional.** Allows the workflow to be used if the user's repository has a file in its root directory that matches a defined regular expression.
173+
{% data reusables.actions.workflow-templates-metadata-example %}
174+
175+
{% data reusables.actions.workflow-templates-metadata-keys %}
200176

201177
{% ifversion fpt or ghec %}
202178

content/apps/using-github-apps/installing-a-github-app-from-a-third-party.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ Organization owners can install {% data variables.product.prodname_github_apps %
4545
Enterprise owners can install {% data variables.product.prodname_github_apps %} on their enterprise accounts, if the application requests enterprise permissions and is owned by the enterprise or one of its organizations.
4646
{% endif %}
4747

48-
Admins of repositories that are owned by an organization can also install {% data variables.product.prodname_github_apps %} on the organization if they only grant the app access to repositories that they are an admin of and if the app does not request any organization permissions or the "repository administration" permission. Organization owners can prevent outside collaborators who are repository admins from installing {% data variables.product.prodname_github_apps %}.
48+
{% data reusables.apps.repo-admin-install-restriction %}
4949

50-
Organization members who are not organization owners or repository admins can still select the organization during the install process. Instead of installing the app, {% data variables.product.company_short %} will send a notification to the organization owner to request the organization owner to install the app.
50+
Organization members and outside collaborators that cannot install an app on the organization can still select the organization during the install process. Instead of installing the app, {% data variables.product.company_short %} will send a notification to the organization owner to request the organization owner to install the app. The ability to make these requests can be controlled using app access request policies. See [AUTOTITLE](/organizations/managing-programmatic-access-to-your-organization/limiting-oauth-app-and-github-app-access-requests).
5151

5252
The "app manager" role does not give a person the ability to install a {% data variables.product.prodname_github_app %} on the organization{% ifversion enterprise-app-manager %} or enterprise{% endif %}. See [AUTOTITLE](/apps/maintaining-github-apps/about-github-app-managers).
5353

content/apps/using-github-apps/installing-a-github-app-from-github-marketplace-for-your-organizations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Organization owners can install {% data variables.product.prodname_github_apps %
4646

4747
For enterprises that pay by credit card, enterprise owners who are also organization owners can install {% data variables.product.prodname_github_apps %} on organizations within their enterprise.
4848

49-
Admins of repositories that are owned by an organization can also install {% data variables.product.prodname_github_apps %} on the organization if they only grant the app access to repositories that they are an admin of and if the app does not request any organization permissions or the "repository administration" permission. Organization owners can prevent outside collaborators who are repository admins from installing {% data variables.product.prodname_github_apps %}.
49+
{% data reusables.apps.repo-admin-install-restriction %}
5050

5151
The "app manager" role does not give a person the ability to install a {% data variables.product.prodname_github_app %} in the organization{% ifversion enterprise-app-manager %} or enterprise{% endif %}. For more information, see [AUTOTITLE](/apps/maintaining-github-apps/about-github-app-managers).
5252

content/code-security/code-scanning/managing-code-scanning-alerts/responsible-use-autofix-code-scanning.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ redirect_from:
2222

2323
{% data reusables.rai.code-scanning.copilot-autofix-note %}
2424

25-
{% data variables.copilot.copilot_autofix_short %} generates potential fixes that are relevant to the existing source code and translates the description and location of an alert into code changes that may fix the alert. {% data variables.copilot.copilot_autofix_short %} uses internal {% data variables.product.prodname_copilot %} APIs interfacing with the large language model {% data variables.copilot.copilot_gpt_41 %} from OpenAI, which has sufficient generative capabilities to produce both suggested fixes in code and explanatory text for those fixes.
25+
{% data variables.copilot.copilot_autofix_short %} generates potential fixes that are relevant to the existing source code and translates the description and location of an alert into code changes that may fix the alert. {% data variables.copilot.copilot_autofix_short %} uses internal {% data variables.product.prodname_copilot %} APIs interfacing with the large language model {% data variables.copilot.copilot_gpt_51 %} from OpenAI, which has sufficient generative capabilities to produce both suggested fixes in code and explanatory text for those fixes.
2626

2727
{% data variables.copilot.copilot_autofix_short %} is allowed by default and enabled for every repository using {% data variables.product.prodname_codeql %}, but you can choose to opt out and disable {% data variables.copilot.copilot_autofix_short %}. To learn how to disable {% data variables.copilot.copilot_autofix_short %} at the enterprise, organization and repository levels, see [AUTOTITLE](/code-security/code-scanning/managing-code-scanning-alerts/disabling-autofix-for-code-scanning).
2828

content/code-security/code-scanning/managing-your-code-scanning-configuration/codeql-query-suites.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ The built-in {% data variables.product.prodname_codeql %} query suites, `default
4444
* Relative to the `default` query suite, the `security-extended` suite may return a greater number of false positive {% data variables.product.prodname_code_scanning %} results.
4545
* This query suite is available for use with default setup for {% data variables.product.prodname_code_scanning %}, and is referred to as the "Extended" query suite on {% data variables.product.prodname_dotcom %}.
4646

47-
For a complete list of queries included in each query suite for every language, see [AUTOTITLE](/code-security/code-scanning/reference).
47+
For a complete list of queries included in each query suite for every language, see [AUTOTITLE](/code-security/code-scanning/reference/code-ql-built-in-queries).
4848

4949
## Further reading
5050

content/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-automatic-dependency-submission-for-your-repository.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,57 @@ Once enabled, automatic dependency submission jobs will run on the self-hosted r
6969

7070
>[!NOTE] For Maven or Gradle projects that use self-hosted runners with private Maven registries, you need to modify the Maven server settings file to allow the dependency submission workflows to connect to the registries. For more information about the Maven server settings file, see [Security and Deployment Settings](https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#transitive-dependencies) in the Maven documentation.
7171
72+
### Configuring network access for self-hosted runners
73+
74+
If your self-hosted runners operate behind a firewall with restricted outbound internet access, you must add certain URLs to the allowlist for automatic dependency submission. The required URLs depend on the ecosystems your repositories use.
75+
76+
#### Required URLs for all ecosystems
77+
78+
These URLs are required for all automatic dependency submission workflows:
79+
80+
* `https://github.com`—Required for accessing {% data variables.product.github %} and downloading actions.
81+
* `https://api.github.com`—Required for {% data variables.product.github %} API access.
82+
* `https://*.githubusercontent.com`—Required for downloading action source code and releases (including `raw.githubusercontent.com`, `github-releases.githubusercontent.com`, and `objects.githubusercontent.com`).
83+
84+
#### Ecosystem-specific URLs
85+
86+
Depending on the ecosystems you use, you may need to allowlist additional URLs.
87+
88+
##### Go
89+
90+
* `https://go.dev`—For downloading the Go toolchain.
91+
* `https://golang.org`—Alternate domain for Go downloads.
92+
* `https://proxy.golang.org`—Official Go module proxy for downloading Go modules during dependency detection.
93+
94+
> [!NOTE]
95+
> The `actions/go-versions` repository is accessed via `https://raw.githubusercontent.com`, which is already covered in the general requirements.
96+
97+
##### Java (Maven and Gradle)
98+
99+
* `https://repo.maven.apache.org`—Maven Central repository for downloading dependencies.
100+
* `https://api.adoptium.net`—For downloading Adoptium/Temurin JDK distributions (default distribution used by `actions/setup-java`).
101+
102+
If you use a different JDK distribution, you may also need:
103+
* `https://aka.ms` and `https://download.microsoft.com`—For Microsoft Build of OpenJDK (note: `aka.ms` is also used for .NET downloads).
104+
* `https://download.oracle.com`—For Oracle JDK.
105+
* `https://api.azul.com`—For Azul Zulu OpenJDK.
106+
107+
##### .NET (C#, F#, Visual Basic)
108+
109+
* `https://aka.ms`—Microsoft URL shortener that redirects to .NET download locations.
110+
* `https://builds.dotnet.microsoft.com`—Primary feed for .NET SDK and runtime downloads.
111+
* `https://ci.dot.net`—Secondary feed for .NET builds.
112+
113+
> [!NOTE]
114+
> The `microsoft/component-detection` tool used by .NET autosubmission is downloaded from {% data variables.product.github %} releases, which is already covered in the general requirements (`https://github.com` and `https://*.githubusercontent.com`).
115+
116+
##### Python
117+
118+
* `https://python.org`—For downloading Python interpreters.
119+
120+
> [!NOTE]
121+
> The `actions/python-versions` repository and `microsoft/component-detection` releases are accessed via URLs already covered in the general requirements (`https://*.githubusercontent.com` and `https://github.com`).
122+
72123
## Using {% data variables.product.company_short %}-hosted {% data variables.actions.hosted_runners %} for automatic dependency submission
73124

74125
{% data variables.product.prodname_team %} or {% data variables.product.prodname_ghe_cloud %} users can use {% data variables.actions.hosted_runners %} to run automatic dependency submissions jobs.

content/copilot/how-tos/use-copilot-agents/coding-agent/customize-the-agent-environment.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -180,16 +180,6 @@ You can run {% data variables.copilot.copilot_coding_agent %} on self-hosted run
180180

181181
You can set these environment variables by following the [instructions above](#setting-environment-variables-in-copilots-environment), or by baking the environment variables into your custom runner image. For more information on building a custom image, see [AUTOTITLE](/actions/concepts/runners/actions-runner-controller#creating-your-own-runner-image).
182182

183-
### Security considerations for self-hosted runners
184-
185-
When using self-hosted runners, especially with the firewall disabled, ensure your hosting environment has strict network communication controls. The following endpoints must be reachable from your runners:
186-
187-
* `api.githubcopilot.com`
188-
* `uploads.github.com`
189-
* `user-images.githubusercontent.com`
190-
191-
For a comprehensive list of other hosts that must also be allowlisted for {% data variables.product.prodname_actions %} self-hosted runners, see [AUTOTITLE](/actions/reference/runners/self-hosted-runners#accessible-domains-by-function).
192-
193183
## Enabling Git Large File Storage (LFS)
194184

195185
If you use Git Large File Storage (LFS) to store large files in your repository, you will need to customize {% data variables.product.prodname_copilot_short %}'s environment to install Git LFS and fetch LFS objects.

content/organizations/managing-programmatic-access-to-your-organization/about-programmatic-access-in-your-organization.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ versions:
2020

2121
## {% data variables.product.prodname_github_apps %}
2222

23-
Organization owners can install {% data variables.product.prodname_github_apps %} on their organization. Repository admins can also install a {% data variables.product.prodname_github_app %} on the organization if the app does not request organization resources and if they only grant the app access to repositories where they are an admin. Organization members can submit a request for their organization owner to install a {% data variables.product.prodname_github_app %} on the organization. For more information, see {% ifversion fpt or ghec %}[AUTOTITLE](/apps/using-github-apps/installing-an-app-in-your-organization).{% else %}[AUTOTITLE](/apps/maintaining-github-apps/installing-github-apps).{% endif %}
23+
Organization owners can install {% data variables.product.prodname_github_apps %} on their organization. Repository admins can also install a {% data variables.product.prodname_github_app %} on the organization if the app does not request organization resources and if they only grant the app access to repositories where they are an admin. Organization members and outside collaborators can submit a request for their organization owner to install a {% data variables.product.prodname_github_app %} on the organization. For more information, see {% ifversion fpt or ghec %}[AUTOTITLE](/apps/using-github-apps/installing-an-app-in-your-organization).{% else %}[AUTOTITLE](/apps/maintaining-github-apps/installing-github-apps).{% endif %}
2424

25-
Organization owners can prevent outside collaborators from requesting {% data variables.product.prodname_github_apps %} or from installing a {% data variables.product.prodname_github_app %} even if the collaborator is a repository admin. For more information, see [AUTOTITLE](/organizations/managing-programmatic-access-to-your-organization/limiting-oauth-app-and-github-app-access-requests).
25+
{% ifversion fpt or ghec or ghes > 3.19 %}Organization owners can restrict {% data variables.product.prodname_github_app %} installation to only organization owners. When this restriction is enabled, repository admins cannot install {% data variables.product.prodname_github_apps %} for their repositories and must instead use the request flow to ask organization owners to install apps.{% endif %}
26+
27+
Organization owners can prevent users from requesting {% data variables.product.prodname_github_apps %} or from installing a {% data variables.product.prodname_github_app %} even if they are a repository admin. For more information, see [AUTOTITLE](/organizations/managing-programmatic-access-to-your-organization/limiting-oauth-app-and-github-app-access-requests).
2628

2729
Organization owners can review the {% data variables.product.prodname_github_apps %} that are installed on their organization and modify the repositories that each app can access. For more information, see [AUTOTITLE](/organizations/managing-programmatic-access-to-your-organization/reviewing-github-apps-installed-in-your-organization).
2830

@@ -32,7 +34,7 @@ To help maintain {% data variables.product.prodname_github_apps %} owned by thei
3234

3335
## {% data variables.product.prodname_oauth_apps %}
3436

35-
Organization managers can restrict {% data variables.product.prodname_oauth_apps %} from accessing organization resources. When these restrictions are enabled, organization members and outside collaborators can still request approval for individual {% data variables.product.prodname_oauth_apps %}. For more information, see [AUTOTITLE](/organizations/managing-oauth-access-to-your-organizations-data/about-oauth-app-access-restrictions).
37+
Organization managers must approve {% data variables.product.prodname_oauth_apps %} that users would like to use in their organization. When this requirement is enabled, organization members and outside collaborators must request approval for individual {% data variables.product.prodname_oauth_apps %}. For more information, see [AUTOTITLE](/organizations/managing-oauth-access-to-your-organizations-data/about-oauth-app-access-restrictions) and [AUTOTITLE](/organizations/managing-programmatic-access-to-your-organization/limiting-oauth-app-and-github-app-access-requests).
3638

3739
{% endif %}
3840

0 commit comments

Comments
 (0)