From 05bd510fda2ad62ec453d9faebd46bb7bd451d13 Mon Sep 17 00:00:00 2001 From: Allan Guigou <34221163+AllanGuigou@users.noreply.github.com> Date: Tue, 26 Sep 2023 15:02:36 -0400 Subject: [PATCH] Update section-using-concurrency-jobs.md (#40919) Co-authored-by: Joe Clark <31087804+jc-clark@users.noreply.github.com> Co-authored-by: jc-clark --- data/reusables/actions/actions-group-concurrency.md | 5 ++++- .../actions/jobs/section-using-concurrency-jobs.md | 6 ------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/data/reusables/actions/actions-group-concurrency.md b/data/reusables/actions/actions-group-concurrency.md index a8c47bf599..a38c87ed0d 100644 --- a/data/reusables/actions/actions-group-concurrency.md +++ b/data/reusables/actions/actions-group-concurrency.md @@ -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 %} diff --git a/data/reusables/actions/jobs/section-using-concurrency-jobs.md b/data/reusables/actions/jobs/section-using-concurrency-jobs.md index 81aaf28d60..9bda5ba7d4 100644 --- a/data/reusables/actions/jobs/section-using-concurrency-jobs.md +++ b/data/reusables/actions/jobs/section-using-concurrency-jobs.md @@ -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..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).