Skip to content

Commit b4357a3

Browse files
authored
Merge pull request github#18498 from github/repo-sync
repo sync
2 parents 678565a + 6b1b3cf commit b4357a3

File tree

4 files changed

+28
-0
lines changed

4 files changed

+28
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,14 @@ gh run rerun --job <em>job-id</em> --debug
142142

143143
{% endif %}
144144

145+
{% ifversion partial-reruns-with-reusable %}
146+
147+
## Re-running workflows and jobs with reusable workflows
148+
149+
{% data reusables.actions.partial-reruns-with-reusable %}
150+
151+
{% endif %}
152+
145153
{% ifversion fpt or ghes > 3.4 or ghae-issue-4721 or ghec %}
146154
## Reviewing previous workflow runs
147155

content/actions/using-workflows/reusing-workflows.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,14 @@ For information about using the REST API to query the audit log for an organizat
310310

311311
{% endnote %}
312312

313+
{% ifversion partial-reruns-with-reusable %}
314+
315+
## Re-running workflows and jobs with reusable workflows
316+
317+
{% data reusables.actions.partial-reruns-with-reusable %}
318+
319+
{% endif %}
320+
313321
## Next steps
314322

315323
To continue learning about {% data variables.product.prodname_actions %}, see "[Events that trigger workflows](/actions/learn-github-actions/events-that-trigger-workflows)."
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Issue #7062
2+
versions:
3+
fpt: '*'
4+
ghec: '*'
5+
ghes: '>=3.5'
6+
ghae: 'issue-7062'
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Reusable workflows from public repositories can be referenced using a SHA, a release tag, or a branch name. For more information, see ["Calling a reusable workflow"](/actions/using-workflows/reusing-workflows#calling-a-reusable-workflow).
2+
3+
When you re-run a workflow that uses a reusable workflow and the reference is not a SHA, there are some behaviors to be aware of:
4+
5+
* Re-running all jobs in a workflow will use the reusable workflow from the specified reference. For more information about re-running all jobs in a workflow, see ["Re-running all the jobs in a workflow"](/actions/managing-workflow-runs/re-running-workflows-and-jobs#re-running-all-the-jobs-in-a-workflow).
6+
* Re-running failed jobs or a specific job in a workflow will use the reusable workflow from the same commit SHA of the first attempt. For more information about re-running failed jobs in a workflow, see ["Re-running failed jobs in a workflow"](/actions/managing-workflow-runs/re-running-workflows-and-jobs#re-running-failed-jobs-in-a-workflow). For more information about re-running a specific job in a workflow, see ["Re-running a specific job in a workflow"](/actions/managing-workflow-runs/re-running-workflows-and-jobs#re-running-a-specific-job-in-a-workflow).

0 commit comments

Comments
 (0)