From 45dc5ef5467d77043f037ea272f1b8120a30e135 Mon Sep 17 00:00:00 2001 From: Pallavi <96553709+pallsama@users.noreply.github.com> Date: Thu, 18 Dec 2025 10:19:18 -0800 Subject: [PATCH 1/6] Update 3.19.0 release notes to include yjit (#58946) Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com> --- data/release-notes/enterprise-server/3-19/0.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data/release-notes/enterprise-server/3-19/0.yml b/data/release-notes/enterprise-server/3-19/0.yml index 050fe48a1867..e6bf582427e2 100644 --- a/data/release-notes/enterprise-server/3-19/0.yml +++ b/data/release-notes/enterprise-server/3-19/0.yml @@ -205,6 +205,8 @@ sections: # https://github.com/github/releases/issues/6019 - | Projects now support up to 50,000 active items and 10,000 archived items. The previous limit was 1,200 items total. There is no option to opt out of this increased limit. + - | + YJIT, Ruby's Just-In-Time (JIT) compiler, is enabled by default. Users may experience faster application performance and improved resource efficiency across their instance. [Updated: 2025-12-17] known_issues: # INCLUDE NOTES FOR RELEASE FROM "GHES Release Note Tracking" PROJECT'S "Known Issues" TAB From 9681311ed023cb47043a6a117d5d1461192dc16a Mon Sep 17 00:00:00 2001 From: Mia Arts <107727642+its-mia@users.noreply.github.com> Date: Thu, 18 Dec 2025 10:23:39 -0800 Subject: [PATCH 2/6] do not merge - Change GPT-5.2 release status to GA (#58934) --- data/tables/copilot/model-release-status.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/tables/copilot/model-release-status.yml b/data/tables/copilot/model-release-status.yml index bac023d1ff04..c4aed298a03f 100644 --- a/data/tables/copilot/model-release-status.yml +++ b/data/tables/copilot/model-release-status.yml @@ -76,7 +76,7 @@ - name: 'GPT-5.2' provider: 'OpenAI' - release_status: 'Public preview' + release_status: 'GA' agent_mode: true ask_mode: true edit_mode: true From 66c15bed2bb7a99859afa5bd7a9cace7ae2bd8ca Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 18 Dec 2025 13:34:33 -0600 Subject: [PATCH 3/6] Bump actions/upload-artifact from 4.3.3 to 6.0.0 (#58938) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/generate-code-scanning-query-lists.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate-code-scanning-query-lists.yml b/.github/workflows/generate-code-scanning-query-lists.yml index 72bcbae3d768..ebf04d8e4e42 100644 --- a/.github/workflows/generate-code-scanning-query-lists.yml +++ b/.github/workflows/generate-code-scanning-query-lists.yml @@ -89,7 +89,7 @@ jobs: done - name: Upload security query lists - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 with: name: security-query-lists path: data/reusables/code-scanning/codeql-query-tables/ @@ -151,7 +151,7 @@ jobs: done - name: Upload quality query lists - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 with: name: quality-query-lists path: data/reusables/code-quality/codeql-query-tables/ From 2d0ab0bf0102cb6a9bc6c4616b665f203e2419eb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 18 Dec 2025 13:50:40 -0600 Subject: [PATCH 4/6] Bump actions/download-artifact from 4.1.7 to 7.0.0 (#58939) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/generate-code-scanning-query-lists.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate-code-scanning-query-lists.yml b/.github/workflows/generate-code-scanning-query-lists.yml index ebf04d8e4e42..b3309211e0ae 100644 --- a/.github/workflows/generate-code-scanning-query-lists.yml +++ b/.github/workflows/generate-code-scanning-query-lists.yml @@ -181,13 +181,13 @@ jobs: echo "Copied files from github/codeql repo. Commit SHA: $OPENAPI_COMMIT_SHA" - name: Download security query lists - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7 + uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 with: name: security-query-lists path: data/reusables/code-scanning/codeql-query-tables/ - name: Download quality query lists - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7 + uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 with: name: quality-query-lists path: data/reusables/code-quality/codeql-query-tables/ From ca6a4601e2191be807c3470529ad2027fd7a2d18 Mon Sep 17 00:00:00 2001 From: Mia Arts <107727642+its-mia@users.noreply.github.com> Date: Thu, 18 Dec 2025 12:44:57 -0800 Subject: [PATCH 5/6] Change release status of Claude Opus 4.5 to GA (#58913) --- data/tables/copilot/model-release-status.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/tables/copilot/model-release-status.yml b/data/tables/copilot/model-release-status.yml index c4aed298a03f..644f31d6d618 100644 --- a/data/tables/copilot/model-release-status.yml +++ b/data/tables/copilot/model-release-status.yml @@ -98,7 +98,7 @@ - name: 'Claude Opus 4.5' provider: 'Anthropic' - release_status: 'Public preview' + release_status: 'GA' agent_mode: true ask_mode: true edit_mode: true From e255333ae95803a5239b7d2afff4eb254e0142c5 Mon Sep 17 00:00:00 2001 From: Salman Chishti Date: Thu, 18 Dec 2025 21:36:27 +0000 Subject: [PATCH 6/6] Add examples and metadata guidance to "Creating workflow templates" doc (#58161) Co-authored-by: Joe Clark <31087804+jc-clark@users.noreply.github.com> --- .../create-workflow-templates.md | 42 ++++++++++++++++++- .../reusing-workflow-configurations.md | 30 ++----------- .../workflow-templates-metadata-example.md | 15 +++++++ .../workflow-templates-metadata-keys.md | 11 +++++ 4 files changed, 70 insertions(+), 28 deletions(-) create mode 100644 data/reusables/actions/workflow-templates-metadata-example.md create mode 100644 data/reusables/actions/workflow-templates-metadata-keys.md diff --git a/content/actions/how-tos/reuse-automations/create-workflow-templates.md b/content/actions/how-tos/reuse-automations/create-workflow-templates.md index 64ddb49e1015..008181827288 100644 --- a/content/actions/how-tos/reuse-automations/create-workflow-templates.md +++ b/content/actions/how-tos/reuse-automations/create-workflow-templates.md @@ -28,7 +28,47 @@ This procedure demonstrates how to create a workflow template and metadata file. 1. If it doesn't already exist, create a new repository named `.github` in your organization. 1. Create a directory named `workflow-templates`. 1. Create your new workflow file inside the `workflow-templates` directory. -1. Create a metadata file inside the `workflow-templates` directory. + + 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. + + {% ifversion ghes %} + + > [!NOTE] + > The following values in the `runs-on` key are also treated as placeholders: + > + > * `ubuntu-latest` is replaced with `[ self-hosted ]` + > * `windows-latest` is replaced with `[ self-hosted, windows ]` + > * `macos-latest` is replaced with `[ self-hosted, macOS ]` + {% endif %} + + For example, this file named `octo-organization-ci.yml` demonstrates a basic workflow. + + ```yaml copy + name: Octo Organization CI + + on: + push: + branches: [ $default-branch ] + pull_request: + branches: [ $default-branch ] + + jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: {% data reusables.actions.action-checkout %} + + - name: Run a one-line script + run: echo Hello from Octo Organization + ``` + +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`: + + {% data reusables.actions.workflow-templates-metadata-example %} + + {% data reusables.actions.workflow-templates-metadata-keys %} + 1. To add another workflow template, add your files to the same `workflow-templates` directory. ## Next steps diff --git a/content/actions/reference/workflows-and-actions/reusing-workflow-configurations.md b/content/actions/reference/workflows-and-actions/reusing-workflow-configurations.md index 61c083c3875e..bf9d93492f63 100644 --- a/content/actions/reference/workflows-and-actions/reusing-workflow-configurations.md +++ b/content/actions/reference/workflows-and-actions/reusing-workflow-configurations.md @@ -170,33 +170,9 @@ jobs: 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`: - ```json copy - { - "name": "Octo Organization Workflow", - "description": "Octo Organization CI workflow template.", - "iconName": "example-icon", - "categories": [ - "Go" - ], - "filePatterns": [ - "package.json$", - "^Dockerfile", - ".*\\.md$" - ] - } - ``` - -* `name` - **Required.** The name of the workflow. This is displayed in the list of available workflows. -* `description` - **Required.** The description of the workflow. This is displayed in the list of available workflows. -* `iconName` - _Optional._ Specifies an icon for the workflow that is displayed in the list of workflows. `iconName` can one of the following types: - * 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`. - * 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 `. For example, `octicon smiley`. -* `categories` - **Optional.** Defines the categories that the workflow is shown under. You can use category names from the following lists: - * General category names from the [starter-workflows](https://github.com/actions/starter-workflows/blob/main/README.md#categories) repository. - * Linguist languages from the list in the [linguist](https://github.com/github-linguist/linguist/blob/main/lib/linguist/languages.yml) repository. - * 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. - -* `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. +{% data reusables.actions.workflow-templates-metadata-example %} + +{% data reusables.actions.workflow-templates-metadata-keys %} {% ifversion fpt or ghec %} diff --git a/data/reusables/actions/workflow-templates-metadata-example.md b/data/reusables/actions/workflow-templates-metadata-example.md new file mode 100644 index 000000000000..0f2a52a7711f --- /dev/null +++ b/data/reusables/actions/workflow-templates-metadata-example.md @@ -0,0 +1,15 @@ +```json copy +{ + "name": "Octo Organization Workflow", + "description": "Octo Organization CI workflow template.", + "iconName": "example-icon", + "categories": [ + "Go" + ], + "filePatterns": [ + "package.json$", + "^Dockerfile", + ".*\\.md$" + ] +} +``` diff --git a/data/reusables/actions/workflow-templates-metadata-keys.md b/data/reusables/actions/workflow-templates-metadata-keys.md new file mode 100644 index 000000000000..c691f2d5d55e --- /dev/null +++ b/data/reusables/actions/workflow-templates-metadata-keys.md @@ -0,0 +1,11 @@ +* `name` - **Required.** The name of the workflow. This is displayed in the list of available workflows. +* `description` - **Required.** The description of the workflow. This is displayed in the list of available workflows. +* `iconName` - **Optional.** Specifies an icon for the workflow that is displayed in the list of workflows. `iconName` can be one of the following types: + * 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`. + * 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 `. For example, `octicon smiley`. +* `categories` - **Optional.** Defines the categories that the workflow is shown under. You can use category names from the following lists: + * General category names from the [starter-workflows](https://github.com/actions/starter-workflows/blob/main/README.md#categories) repository. + * Linguist languages from the list in the [linguist](https://github.com/github-linguist/linguist/blob/main/lib/linguist/languages.yml) repository. + * 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. + +* `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.