Skip to content

Commit 11f0530

Browse files
authored
Merge pull request #39417 from github/repo-sync
Repo sync
2 parents f5f30b0 + b75f87f commit 11f0530

File tree

45 files changed

+487
-492
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+487
-492
lines changed

content/actions/concepts/runners/about-larger-runners.md

Lines changed: 28 additions & 128 deletions
Large diffs are not rendered by default.

content/actions/concepts/workflows-and-actions/about-custom-actions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: About custom actions
3+
shortTitle: Custom actions
34
intro: 'Actions are individual tasks that you can combine to create jobs and customize your workflow. You can create your own actions, or use and customize actions shared by the {% data variables.product.prodname_dotcom %} community.'
45
redirect_from:
56
- /articles/about-actions

content/actions/concepts/workflows-and-actions/about-monitoring-workflows.md

Lines changed: 0 additions & 61 deletions
This file was deleted.

content/actions/concepts/workflows-and-actions/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,5 @@ children:
1717
- /concurrency
1818
- /workflow-artifacts
1919
- /dependency-caching
20-
- /about-monitoring-workflows
2120
- /notifications-for-workflow-runs
22-
- /about-troubleshooting-workflows
2321
---

content/actions/concepts/workflows-and-actions/reusable-workflows.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,15 @@ Reusable workflows and composite actions both help you to avoid duplication. Whe
3636

3737
## Reusable workflows and workflow templates
3838

39-
Workflow templates allow everyone in your organization who has permission to create workflows to do so more quickly and easily. When people create a new workflow, they can choose a workflow template and some or all of the work of writing the workflow will be done for them. Within a workflow template, you can also reference reusable workflows to make it easy for people to benefit from reusing centrally managed workflow code. If you use a commit SHA when referencing the reusable workflow, you can ensure that everyone who reuses that workflow will always be using the same YAML code. However, if you reference a reusable workflow by a tag or branch, be sure that you can trust that version of the workflow. For more information, see [AUTOTITLE](/actions/security-guides/security-hardening-for-github-actions#reusing-third-party-workflows).
39+
Workflow templates allow everyone in your organization who has permission to create workflows to do so more quickly and easily. When people create a new workflow, they can choose a workflow template and some or all of the work of writing the workflow will be done for them. Within a workflow template, you can also reference reusable workflows to make it easy for people to benefit from reusing centrally managed workflow code.
40+
41+
If you use a commit SHA when referencing the reusable workflow, you can ensure that everyone who reuses that workflow will always be using the same YAML code. However, if you reference a reusable workflow by a tag or branch, be sure that you can trust that version of the workflow. For more information, see [AUTOTITLE](/actions/security-guides/security-hardening-for-github-actions#reusing-third-party-workflows).
42+
43+
{% data variables.product.github %} offers workflow templates for a variety of languages and tooling. When you set up workflows in your repository, {% data variables.product.github %} analyzes the code in your repository and recommends workflows based on the language and framework in your repository. For example, if you use Node.js, {% data variables.product.github %} will suggest a workflow template file that installs your Node.js packages and runs your tests. You can search and filter to find relevant workflow templates.
44+
45+
{% data reusables.actions.workflow-templates-categories %}
46+
47+
{% data reusables.actions.workflow-templates-repo-link %}
4048

4149
For more information, see [AUTOTITLE](/actions/using-workflows/creating-starter-workflows-for-your-organization).
4250

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
title: Working with Support for GitHub Actions
2+
title: Getting help from GitHub Support about GitHub Actions
3+
shortTitle: Get support
34
intro: 'Learn how {% data variables.contact.github_support %} can assist with {% data variables.product.prodname_actions %}'
45
versions:
56
fpt: '*'
@@ -9,10 +10,10 @@ type: reference
910
topics:
1011
- Actions
1112
- Support
12-
shortTitle: 'Working with {% data variables.contact.github_support %}'
1313
redirect_from:
1414
- /actions/monitoring-and-troubleshooting-workflows/working-with-support-for-github-actions
1515
- /actions/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/working-with-support-for-github-actions
16+
- /actions/how-tos/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/working-with-support-for-github-actions
1617
---
1718

1819
You can [contact {% data variables.contact.github_support %}](/support/contacting-github-support) for assistance with {% data variables.product.prodname_actions %}.

content/actions/how-tos/index.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,17 @@ children:
1010
- /writing-workflows
1111
- /managing-workflow-runs-and-deployments
1212
- /sharing-automations
13-
- /monitoring-and-troubleshooting-workflows
1413
- /using-github-hosted-runners
14+
- /using-larger-runners
1515
- /hosting-your-own-runners
1616
- /security-for-github-actions
1717
- /use-cases-and-examples
1818
- /administering-github-actions
19+
- /monitor-workflows
20+
- /troubleshooting-workflows
21+
- /getting-help-from-github-support-about-github-actions
22+
redirect_from:
23+
- /actions/how-tos/monitoring-and-troubleshooting-workflows
24+
- /actions/monitoring-and-troubleshooting-workflows/about-monitoring-and-troubleshooting
1925
---
2026

content/actions/how-tos/managing-workflow-runs-and-deployments/managing-workflow-runs/re-running-workflows-and-jobs.md

Lines changed: 16 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,8 @@ versions:
1313
ghec: '*'
1414
---
1515

16-
{% data reusables.actions.enterprise-github-hosted-runners %}
17-
18-
## About re-running workflows and jobs
19-
20-
Re-running a workflow or jobs in a workflow uses the same `GITHUB_SHA` (commit SHA) and `GITHUB_REF` (Git ref) of the original event that triggered the workflow run. The workflow will use the privileges of the actor who initially triggered the workflow, not the privileges of the actor who initiated the re-run. You can re-run a workflow or jobs in a workflow for up to 30 days after the initial run. You cannot re-run jobs in a workflow once its logs have passed their retention limits. For more information, see [AUTOTITLE](/actions/learn-github-actions/usage-limits-billing-and-administration#artifact-and-log-retention-policy). When you re-run a workflow or jobs in a workflow, you can enable debug logging for the re-run. This will enable runner diagnostic logging and step debug logging for the re-run. For more information about debug logging, see [AUTOTITLE](/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging)
16+
> [!NOTE]
17+
> Re-run workflows use the privileges of the actor who initially triggered the workflow, not the privileges of the actor who initiated the re-run. The workflow will also use the same `GITHUB_SHA` (commit SHA) and `GITHUB_REF` (git ref) of the original event that triggered the workflow run.
2118
2219
## Re-running all the jobs in a workflow
2320

@@ -30,7 +27,6 @@ Re-running a workflow or jobs in a workflow uses the same `GITHUB_SHA` (commit S
3027
1. In the upper-right corner of the workflow, re-run jobs.
3128

3229
* If any jobs failed, select the **{% octicon "sync" aria-hidden="true" aria-label="sync" %} Re-run jobs** dropdown menu and click **Re-run all jobs**.
33-
3430
* If no jobs failed, click **Re-run all jobs**.
3531

3632
{% data reusables.actions.enable-debug-logging %}
@@ -39,32 +35,28 @@ Re-running a workflow or jobs in a workflow uses the same `GITHUB_SHA` (commit S
3935

4036
{% cli %}
4137

42-
{% data reusables.cli.cli-learn-more %}
43-
44-
To re-run a failed workflow run, use the `run rerun` subcommand. Replace `run-id` with the ID of the failed run that you want to re-run. If you don't specify a `run-id`, {% data variables.product.prodname_cli %} returns an interactive menu for you to choose a recent failed run.
38+
1. To re-run a failed workflow run, use the `run rerun` subcommand, replacing `RUN_ID` with the ID of the failed run that you want to re-run. If you don't specify a `run-id`, {% data variables.product.prodname_cli %} returns an interactive menu for you to choose a recent failed run.
4539

46-
```shell
47-
gh run rerun RUN_ID
48-
```
40+
```shell copy
41+
gh run rerun RUN_ID
42+
```
4943

50-
{% data reusables.actions.enable-debug-logging-cli %}
44+
{% data reusables.actions.enable-debug-logging-cli %}
5145

52-
```shell
53-
gh run rerun RUN_ID --debug
54-
```
46+
```shell copy
47+
gh run rerun RUN_ID --debug
48+
```
5549

56-
To view the progress of the workflow run, use the `run watch` subcommand and select the run from the interactive list.
50+
1. To view the progress of the workflow run, use the `run watch` subcommand and select the run from the interactive list.
5751

58-
```shell
59-
gh run watch
60-
```
52+
```shell copy
53+
gh run watch
54+
```
6155

6256
{% endcli %}
6357

6458
## Re-running failed jobs in a workflow
6559

66-
If any jobs in a workflow run failed, you can re-run just the jobs that failed. When you re-run failed jobs in a workflow, a new workflow run will start for all failed jobs and their dependents. Any outputs for any successful jobs in the previous workflow run will be used for the re-run. Any artifacts that were created in the initial run will be available in the re-run. Any deployment protection rules that passed in the previous run will automatically pass in the re-run.
67-
6860
{% webui %}
6961

7062
{% data reusables.repositories.navigate-to-repo %}
@@ -78,7 +70,7 @@ If any jobs in a workflow run failed, you can re-run just the jobs that failed.
7870

7971
{% cli %}
8072

81-
To re-run failed jobs in a workflow run, use the `run rerun` subcommand with the `--failed` flag. Replace `run-id` with the ID of the run for which you want to re-run failed jobs. If you don't specify a `run-id`, {% data variables.product.prodname_cli %} returns an interactive menu for you to choose a recent failed run.
73+
To re-run failed jobs in a workflow run, use the `run rerun` subcommand with the `--failed` flag. Replace `RUN_ID` with the ID of the run for which you want to re-run failed jobs. If you don't specify a `run-id`, {% data variables.product.prodname_cli %} returns an interactive menu for you to choose a recent failed run.
8274
8375
```shell
8476
gh run rerun RUN_ID --failed
@@ -94,8 +86,6 @@ gh run rerun RUN_ID --failed --debug
9486
9587
## Re-running a specific job in a workflow
9688
97-
When you re-run a specific job in a workflow, a new workflow run will start for the job and any dependents. Any outputs for any other jobs in the previous workflow run will be used for the re-run. Any artifacts that were created in the initial run will be available in the re-run. Any deployment protection rules that passed in the previous run will automatically pass in the re-run.
98-
9989
{% webui %}
10090
10191
{% data reusables.repositories.navigate-to-repo %}
@@ -110,7 +100,7 @@ When you re-run a specific job in a workflow, a new workflow run will start for
110100
111101
{% cli %}
112102
113-
To re-run a specific job in a workflow run, use the `run rerun` subcommand with the `--job` flag. Replace `job-id` with the ID of the job that you want to re-run.
103+
To re-run a specific job in a workflow run, use the `run rerun` subcommand with the `--job` flag. Replace `JOB_ID` with the ID of the job that you want to re-run.
114104
115105
```shell
116106
gh run rerun --job JOB_ID
@@ -124,14 +114,8 @@ gh run rerun --job JOB_ID --debug
124114
125115
{% endcli %}
126116
127-
## Re-running workflows and jobs with reusable workflows
128-
129-
{% data reusables.actions.partial-reruns-with-reusable %}
130-
131117
## Reviewing previous workflow runs
132118
133-
You can view the results from your previous attempts at running a workflow. You can also view previous workflow runs using the API. For more information, see [AUTOTITLE](/rest/actions/workflow-runs#get-a-workflow-run).
134-
135119
{% data reusables.repositories.navigate-to-repo %}
136120
{% data reusables.repositories.actions-tab %}
137121
{% data reusables.repositories.navigate-to-workflow %}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy