Skip to content

Commit fcaffb8

Browse files
authored
Merge pull request #36854 from github/repo-sync
Repo sync
2 parents 4f89d54 + 3f7ee81 commit fcaffb8

File tree

5 files changed

+14
-13
lines changed

5 files changed

+14
-13
lines changed

content/actions/administering-github-actions/viewing-github-actions-metrics.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ redirect_from:
3838

3939
## Viewing {% data variables.product.prodname_actions %} metrics for your repository
4040

41-
> [!NOTE] Repository-level metrics for {% data variables.product.prodname_actions %} is in {% data variables.release-phases.public_preview %} and subject to change.
42-
4341
{% data reusables.actions.actions-metrics-discrepancy-note %}
4442

4543
{% data reusables.repositories.navigate-to-repo %}

content/actions/sharing-automations/reusing-workflows.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,12 @@ For more information on using job outputs, see [AUTOTITLE](/actions/using-workfl
417417

418418
## Monitoring which workflows are being used
419419

420+
{% ifversion fpt or ghes %}
421+
422+
Organizations that use {% data variables.product.prodname_ghe_cloud %} can interact with the audit log via the {% data variables.product.github %} REST API to monitor which workflows are being used. For more information, see [the {% data variables.product.prodname_ghe_cloud %} documentation](/enterprise-cloud@latest/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization#using-the-audit-log-api).
423+
424+
{% else %}
425+
420426
You can use the {% data variables.product.prodname_dotcom %} REST API to monitor how reusable workflows are being used. The `prepared_workflow_job` audit log action is triggered when a workflow job is started. Included in the data recorded are:
421427
* `repo` - the organization/repository where the workflow job is located. For a job that calls another workflow, this is the organization/repository of the caller workflow.
422428
* `@timestamp` - the date and time that the job was started, in Unix epoch format.
@@ -425,11 +431,13 @@ You can use the {% data variables.product.prodname_dotcom %} REST API to monitor
425431
* `calling_workflow_shas` - an array of SHAs for all the caller workflows involved in this workflow job. The array contains the same number of items, in the same order, as the `calling_workflow_refs` array.
426432
* `job_workflow_ref` - the workflow file that was used, in the form `{owner}/{repo}/{path}/{filename}@{ref}`. For a job that calls another workflow, this identifies the called workflow.
427433

428-
For information about using the REST API to query the audit log for an organization, see [AUTOTITLE](/rest/orgs#get-the-audit-log-for-an-organization).
434+
For more information, see [AUTOTITLE](/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization#using-the-audit-log-api).
429435

430436
> [!NOTE]
431437
> Audit data for `prepared_workflow_job` can only be viewed using the REST API. It is not visible in the {% data variables.product.prodname_dotcom %} web interface, or included in JSON/CSV exported audit data.
432438

439+
{% endif %}
440+
433441
## Re-running workflows and jobs with reusable workflows
434442

435443
{% data reusables.actions.partial-reruns-with-reusable %}

content/admin/managing-github-actions-for-your-enterprise/getting-started-with-github-actions-for-your-enterprise/introducing-github-actions-to-your-enterprise.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,11 @@ You should consider making a plan to track your enterprise's usage of {% data va
124124
{% ifversion ghec %}
125125
You can see basic details of storage and data transfer usage of {% data variables.product.prodname_actions %} for each organization in your enterprise via your billing settings. For more information, see [AUTOTITLE](/billing/managing-billing-for-github-actions/viewing-your-github-actions-usage#viewing-github-actions-usage-for-your-enterprise-account).
126126

127-
For more detailed usage data, you{% else %}You{% endif %} can use webhooks to subscribe to information about workflow jobs and workflow runs. For more information, see [AUTOTITLE](/webhooks-and-events/webhooks/about-webhooks).
127+
> [!NOTE] Enterprise-level metrics for {% data variables.product.prodname_actions %} is in {% data variables.release-phases.public_preview %} and subject to change.
128+
129+
You can view both usage and performance data for your enterprise under the "Insights" tab. These metrics provide the same {% data variables.product.prodname_actions %} data available at the repository and organization levels but aggregated for your entire enterprise. If you need more detailed insights, see [Viewing {% data variables.product.prodname_actions %} metrics for your organization](/actions/administering-github-actions/viewing-github-actions-metrics#viewing-github-actions-metrics-for-your-organization) or [Viewing {% data variables.product.prodname_actions %} metrics for your repository](/actions/administering-github-actions/viewing-github-actions-metrics#viewing-github-actions-metrics-for-your-repository).
130+
131+
For more detailed usage data at a per job or per workflow level, you{% else %}You{% endif %} can use webhooks to subscribe to information about workflow jobs and workflow runs. For more information, see [AUTOTITLE](/webhooks-and-events/webhooks/about-webhooks).
128132

129133
Make a plan for how your enterprise can pass the information from these webhooks into a data archiving system. You can consider using "CEDAR.GitHub.Collector", an open source tool that collects and processes webhook data from {% data variables.product.prodname_dotcom %}. For more information, see the [`Microsoft/CEDAR.GitHub.Collector` repository](https://github.com/microsoft/CEDAR.GitHub.Collector/).
130134

content/get-started/learning-to-code/learning-to-debug-with-github-copilot.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -143,14 +143,6 @@ Why is the output of this code so much higher than expected? Please explain in d
143143
144144
To fix this error, {% data variables.product.prodname_copilot_short %} will suggest code that removes the extra `factorial` from the equation, or that changes the `*=` operator to `=`.
145145
146-
{% note %}
147-
148-
Did you successfully debug `bugged_factorial_finder.py`?
149-
150-
<a href="https://docs.github.io/success-test/yes.html" target="_blank" class="btn btn-outline mt-3 mr-3 no-underline"><span>Yes</span></a> <a href="https://docs.github.io/success-test/no.html" target="_blank" class="btn btn-outline mt-3 mr-3 no-underline"><span>No</span></a>
151-
152-
{% endnote %}
153-
154146
## Debugging your own project
155147
156148
Now that you've practiced debugging some simple programs with {% data variables.product.prodname_copilot_short %}, you can use the same methodologies to find and fix bugs hiding in your own work.

data/reusables/actions/about-actions-performance-metrics.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
> [!NOTE] {% data variables.product.prodname_actions %} performance metrics is currently in {% data variables.release-phases.public_preview %} and subject to change.
21

32
{% data variables.product.prodname_actions %} performance metrics enables you to analyze the efficiency and reliability of your workflows. You can view performance information such as average run times, average queue times, and failure rates, related to:
43

0 commit comments

Comments
 (0)