Update section-using-concurrency-jobs.md (#40919)
Co-authored-by: Joe Clark <31087804+jc-clark@users.noreply.github.com> Co-authored-by: jc-clark <jc-clark@github.com>
This commit is contained in:
@@ -2,7 +2,10 @@ When a concurrent job or workflow is queued, if another job or workflow using th
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note:** The concurrency group name is case insensitive. For example, `prod` and `Prod` will be treated as the same concurrency group.
|
||||
**Notes:**
|
||||
|
||||
- The concurrency group name is case insensitive. For example, `prod` and `Prod` will be treated as the same concurrency group.
|
||||
- Ordering is not guaranteed for jobs or runs using concurrency groups, they are handled in the order that they are processed.
|
||||
|
||||
{% endnote %}
|
||||
|
||||
|
||||
@@ -1,9 +1,3 @@
|
||||
{% note %}
|
||||
|
||||
**Note:** When concurrency is specified at the job level, order is not guaranteed for jobs or runs that queue within 5 minutes of each other.
|
||||
|
||||
{% endnote %}
|
||||
|
||||
You can use `jobs.<job_id>.concurrency` to ensure that only a single job or workflow using the same concurrency group will run at a time. A concurrency group can be any string or expression. Allowed expression contexts: [`github`](/actions/learn-github-actions/contexts#github-context), [`inputs`](/actions/learn-github-actions/contexts#inputs-context), [`vars`](/actions/learn-github-actions/contexts#vars-context), [`needs`](/actions/learn-github-actions/contexts#needs-context), [`strategy`](/actions/learn-github-actions/contexts#strategy-context), and [`matrix`](/actions/learn-github-actions/contexts#matrix-context). For more information about expressions, see "[AUTOTITLE](/actions/learn-github-actions/expressions)."
|
||||
|
||||
You can also specify `concurrency` at the workflow level. For more information, see [`concurrency`](/actions/using-workflows/workflow-syntax-for-github-actions#concurrency).
|
||||
|
||||
Reference in New Issue
Block a user