From fd3005a39d9c926c0ec8de97a62c2bd21753e45b Mon Sep 17 00:00:00 2001 From: Ben Ahmady <32935794+subatoi@users.noreply.github.com> Date: Fri, 4 Jul 2025 08:49:52 +0100 Subject: [PATCH 1/3] [EDI] Viewing GitHub Actions metrics (#56473) Co-authored-by: Sam Browning <106113886+sabrowning1@users.noreply.github.com> --- .../concepts/about-github-actions-metrics.md | 24 +++++++++++++++++++ content/actions/concepts/index.md | 1 + .../viewing-github-actions-metrics.md | 20 ++++------------ .../actions/viewing-actions-metrics.md | 4 ++-- 4 files changed, 31 insertions(+), 18 deletions(-) create mode 100644 content/actions/concepts/about-github-actions-metrics.md diff --git a/content/actions/concepts/about-github-actions-metrics.md b/content/actions/concepts/about-github-actions-metrics.md new file mode 100644 index 000000000000..935339335687 --- /dev/null +++ b/content/actions/concepts/about-github-actions-metrics.md @@ -0,0 +1,24 @@ +--- +title: About GitHub Actions metrics +shortTitle: Metrics +intro: 'Learn about the {% data variables.product.prodname_actions %} metrics available for your organizations and repositories.' +permissions: Organization owners and users with the "View organization Actions metrics" permission can view organization-level metrics.

Users with the base repository role can view repository-level metrics. +versions: + feature: actions-metrics +--- + +{% data reusables.actions.about-actions-metrics %} + +{% data reusables.actions.enabling-actions-metrics %} + +## About {% data variables.product.prodname_actions %} usage metrics + +{% data reusables.actions.about-actions-usage-metrics %} + +## About {% data variables.product.prodname_actions %} performance metrics + +{% data reusables.actions.about-actions-performance-metrics %} + +## Next steps + +To learn how to find metrics for your organization or repository, see [AUTOTITLE](/actions/how-tos/administering-github-actions/viewing-github-actions-metrics). diff --git a/content/actions/concepts/index.md b/content/actions/concepts/index.md index 24934eff233e..d81fc1d332b9 100644 --- a/content/actions/concepts/index.md +++ b/content/actions/concepts/index.md @@ -12,4 +12,5 @@ children: - /runners - /security - /use-cases + - /about-github-actions-metrics --- diff --git a/content/actions/how-tos/administering-github-actions/viewing-github-actions-metrics.md b/content/actions/how-tos/administering-github-actions/viewing-github-actions-metrics.md index a2017c4afcbd..65a6f1d394f3 100644 --- a/content/actions/how-tos/administering-github-actions/viewing-github-actions-metrics.md +++ b/content/actions/how-tos/administering-github-actions/viewing-github-actions-metrics.md @@ -12,22 +12,6 @@ redirect_from: - /actions/administering-github-actions/viewing-github-actions-metrics --- -{% data reusables.actions.about-actions-metrics %} - -{% data reusables.actions.enabling-actions-metrics %} - -## About {% data variables.product.prodname_actions %} usage metrics - -{% data reusables.actions.about-actions-usage-metrics %} - -## About {% data variables.product.prodname_actions %} performance metrics - -{% data reusables.actions.about-actions-performance-metrics %} - -## Understanding {% data variables.product.prodname_actions %} metrics aggregation - -{% data reusables.actions.about-actions-usage-metrics-aggregation %} - ## Viewing {% data variables.product.prodname_actions %} metrics for your organization {% data reusables.actions.actions-metrics-discrepancy-note %} @@ -44,3 +28,7 @@ redirect_from: {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.navigate-to-insights %} {% data reusables.actions.viewing-actions-metrics %} + +## Understanding {% data variables.product.prodname_actions %} metrics aggregation + +{% data reusables.actions.about-actions-usage-metrics-aggregation %} diff --git a/data/reusables/actions/viewing-actions-metrics.md b/data/reusables/actions/viewing-actions-metrics.md index 7559f4c46332..b09b151a5937 100644 --- a/data/reusables/actions/viewing-actions-metrics.md +++ b/data/reusables/actions/viewing-actions-metrics.md @@ -1,6 +1,6 @@ 1. In the "Insights" navigation menu, click **Actions Usage Metrics** or click **Actions Performance Metrics**. -1. Optionally, to select a time period to view usage metrics for, choose an option from the **Period** drop down menu at the top right of the page. For more information, see [Understanding {% data variables.product.prodname_actions %} metrics aggregation](#understanding-github-actions-metrics-aggregation). -1. Click on the tab that contains the metrics you would like to view. For more information, see [About {% data variables.product.prodname_actions %} usage metrics](#about-github-actions-usage-metrics) or [About {% data variables.product.prodname_actions %} performance metrics](#about-github-actions-performance-metrics). +1. Optionally, to select a time period to view usage metrics for, choose an option from the **Period** drop down menu at the top right of the page. For more information, see [AUTOTITLE](/actions/how-tos/administering-github-actions/viewing-github-actions-metrics#understanding-github-actions-metrics-aggregation). +1. Click on the tab that contains the metrics you would like to view. For more information, see [AUTOTITLE](/actions/concepts/about-github-actions-metrics). 1. Optionally, to filter the data displayed in a tab, create a filter. 1. Click on the **{% octicon "filter" aria-hidden="true" aria-label="filter" %} Filter** button. 1. Click **{% octicon "plus" aria-hidden="true" aria-label="plus" %} Add a filter**. From 08150ef58084a7ea175f854ace3c5e5aae1749e4 Mon Sep 17 00:00:00 2001 From: Ben Ahmady <32935794+subatoi@users.noreply.github.com> Date: Fri, 4 Jul 2025 09:20:52 +0100 Subject: [PATCH 2/3] [EDI] Dockerfile support for GitHub Actions (#56475) Co-authored-by: Joe Clark <31087804+jc-clark@users.noreply.github.com> --- .../running-jobs-in-a-container.md | 8 ++++++++ .../reference/dockerfile-support-for-github-actions.md | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/content/actions/how-tos/writing-workflows/choosing-where-your-workflow-runs/running-jobs-in-a-container.md b/content/actions/how-tos/writing-workflows/choosing-where-your-workflow-runs/running-jobs-in-a-container.md index a44e895cd00c..c9c715a4645a 100644 --- a/content/actions/how-tos/writing-workflows/choosing-where-your-workflow-runs/running-jobs-in-a-container.md +++ b/content/actions/how-tos/writing-workflows/choosing-where-your-workflow-runs/running-jobs-in-a-container.md @@ -17,6 +17,14 @@ redirect_from: {% data reusables.actions.jobs.section-running-jobs-in-a-container %} +### Dockerfile instructions and overrides + +A Dockerfile contains instructions and arguments that define the contents and startup behavior of a Docker container. For more information about the instructions Docker supports, see [Dockerfile reference](https://docs.docker.com/engine/reference/builder/) in the Docker documentation. + +Some Docker instructions interact with {% data variables.product.prodname_actions %}, and an action's metadata file can override some Docker instructions. Ensure that you are familiar with how your Dockerfile interacts with {% data variables.product.prodname_actions %} to prevent any unexpected behavior. + +For reference information, see [AUTOTITLE](/actions/reference/dockerfile-support-for-github-actions). + ## Defining the container image {% data reusables.actions.jobs.section-running-jobs-in-a-container-image %} diff --git a/content/actions/reference/dockerfile-support-for-github-actions.md b/content/actions/reference/dockerfile-support-for-github-actions.md index 11ef504f807b..fccce94139f7 100644 --- a/content/actions/reference/dockerfile-support-for-github-actions.md +++ b/content/actions/reference/dockerfile-support-for-github-actions.md @@ -15,14 +15,6 @@ type: reference {% data reusables.actions.enterprise-github-hosted-runners %} -## About Dockerfile instructions - -A `Dockerfile` contains instructions and arguments that define the contents and startup behavior of a Docker container. For more information about the instructions Docker supports, see [Dockerfile reference](https://docs.docker.com/engine/reference/builder/) in the Docker documentation. - -## Dockerfile instructions and overrides - -Some Docker instructions interact with GitHub Actions, and an action's metadata file can override some Docker instructions. Ensure that you are familiar with how your Dockerfile interacts with {% data variables.product.prodname_actions %} to prevent any unexpected behavior. - ### USER Docker actions must be run by the default Docker user (root). Do not use the `USER` instruction in your `Dockerfile`, because you won't be able to access the `GITHUB_WORKSPACE` directory. For more information, see [AUTOTITLE](/actions/reference/variables-reference#default-environment-variables) and [USER reference](https://docs.docker.com/engine/reference/builder/#user) in the Docker documentation. From fed4e35790d6f8d07da011d332bd59dc2d747e43 Mon Sep 17 00:00:00 2001 From: hubwriter Date: Fri, 4 Jul 2025 09:37:46 +0100 Subject: [PATCH 3/3] Update changing-the-ai-model-for-copilot-code-completion.md --- .../changing-the-ai-model-for-copilot-code-completion.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/copilot/how-tos/ai-models/changing-the-ai-model-for-copilot-code-completion.md b/content/copilot/how-tos/ai-models/changing-the-ai-model-for-copilot-code-completion.md index 355b8d116346..6b9a6e02ea69 100644 --- a/content/copilot/how-tos/ai-models/changing-the-ai-model-for-copilot-code-completion.md +++ b/content/copilot/how-tos/ai-models/changing-the-ai-model-for-copilot-code-completion.md @@ -12,7 +12,7 @@ redirect_from: ## Overview -By default, {% data variables.product.prodname_copilot_short %} code completion uses the {% data variables.copilot.copilot_gpt_4o %} {% data variables.product.prodname_copilot_short %}, a fine-tuned GPT-4o mini based large language model (LLM). This model has been trained on a wide range of high quality public {% data variables.product.github %} repositories, providing coverage of over 30 programming languages. Its knowledge base is more current than the default model and you may find that it generates completion suggestions more quickly. +By default, {% data variables.product.prodname_copilot_short %} code completion uses the {% data variables.copilot.copilot_gpt_4o %} {% data variables.product.prodname_copilot_short %} model. This is a fine-tuned version of the GPT-4o mini model. The {% data variables.copilot.copilot_gpt_4o %} {% data variables.product.prodname_copilot_short %} model was trained on a wide range of high quality public {% data variables.product.github %} repositories, providing coverage of over 30 programming languages.
View the list of programming languages and technologies included in the training data. @@ -53,15 +53,15 @@ By default, {% data variables.product.prodname_copilot_short %} code completion
-> [!NOTE] -> The list of available models will change over time. When only one code completion model is available, the model picker will only show that model. Preview models and additional code completion models will appear in the picker when we release them. - {% vscode %} You can switch AI models in the latest releases of {% data variables.product.prodname_vscode_shortname %} with the latest version of the {% data variables.product.prodname_copilot %} extension. {% endvscode %} {% visualstudio %} You can switch AI models in {% data variables.product.prodname_vs %} 17.14 Preview 2 and later. {% endvisualstudio %} {% jetbrains %} You can switch AI models in the latest releases of JetBrains IDEs with the latest version of the {% data variables.product.prodname_copilot %} extension. {% endjetbrains %} +> [!NOTE] +> The list of available models will change over time. When only one code completion model is available, the model picker will only show that model. Preview models and additional code completion models will be added to the picker as they become available. + ## Effects of switching the AI model Changing the model that's used for {% data variables.product.prodname_copilot_short %} code completion does not affect the model that's used by {% data variables.copilot.copilot_chat_short %}. See [AUTOTITLE](/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat).