Skip to content

Commit 4018c3b

Browse files
authored
EDI-ify "Control the concurrency of workflows and jobs" (#56674)
1 parent 0045ae3 commit 4018c3b

File tree

6 files changed

+46
-38
lines changed

6 files changed

+46
-38
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: Concurrency
3+
intro: 'Learn about running workflows and jobs simultaneously.'
4+
versions:
5+
fpt: '*'
6+
ghes: '*'
7+
ghec: '*'
8+
type: overview
9+
topics:
10+
- Actions
11+
- Workflows
12+
---
13+
14+
By default, {% data variables.product.prodname_actions %} allows multiple jobs within the same workflow, multiple workflow runs within the same repository, and multiple workflow runs across a repository owner's account to run concurrently. This means that multiple instances of the same workflow or job can run at the same time, performing the same steps.
15+
16+
{% data variables.product.prodname_actions %} also allows you to disable concurrent execution. This can be useful for controlling your account’s or organization’s resources in situations where running multiple workflows or jobs at the same time could cause conflicts or consume more Actions minutes and storage than expected. For example, you might want to prevent multiple deployments from running at the same time, or cancel linters checking outdated commits.
17+
18+
To start controlling concurrency in your own workflows with the `concurrency` keyword, see [AUTOTITLE](/actions/how-tos/writing-workflows/choosing-when-your-workflow-runs/control-the-concurrency-of-workflows-and-jobs).

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ children:
1414
- /contexts
1515
- /expressions
1616
- /deployment-environments
17+
- /concurrency
1718
- /workflow-artifacts
1819
- /dependency-caching
1920
- /about-monitoring-workflows

content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/control-the-concurrency-of-workflows-and-jobs.md

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

content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,5 @@ children:
1919
- /passing-information-between-jobs
2020
- /setting-a-default-shell-and-working-directory
2121
- /deploying-to-a-specific-environment
22-
- /control-the-concurrency-of-workflows-and-jobs
2322
- /running-variations-of-jobs-in-a-workflow
2423
---
25-
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: Control the concurrency of workflows and jobs
3+
shortTitle: Control workflow concurrency
4+
intro: Manage which workflows and jobs can run simultaneously.
5+
versions:
6+
fpt: '*'
7+
ghes: '*'
8+
ghec: '*'
9+
redirect_from:
10+
- /actions/using-jobs/using-concurrency
11+
- /actions/writing-workflows/choosing-what-your-workflow-does/using-concurrency
12+
- /early-access/actions/running-additional-jobs-in-github-actions
13+
- /actions/writing-workflows/choosing-what-your-workflow-does/control-the-concurrency-of-workflows-and-jobs
14+
- /actions/how-tos/writing-workflows/choosing-what-your-workflow-does/control-the-concurrency-of-workflows-and-jobs
15+
---
16+
17+
## Using concurrency in different scenarios
18+
19+
{% data reusables.actions.jobs.section-using-concurrency-jobs %}
20+
21+
{% ifversion github-runner-dashboard %}
22+
23+
## Monitoring your current jobs in your organization or enterprise
24+
25+
{% data reusables.actions.github-hosted-runners-check-concurrency %}
26+
{% endif %}

content/actions/how-tos/writing-workflows/choosing-when-your-workflow-runs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ versions:
99
children:
1010
- /triggering-a-workflow
1111
- /using-conditions-to-control-job-execution
12+
- /control-the-concurrency-of-workflows-and-jobs
1213
redirect_from:
1314
- /actions/writing-workflows/choosing-when-your-workflow-runs
1415
---
15-

0 commit comments

Comments
 (0)