From c91019672df28d95a5705e25402165dbd3b3a79f Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Tue, 18 Jan 2022 15:00:24 +0100 Subject: [PATCH] add concurrency --- .github/workflows/Tasmota_build_master.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/Tasmota_build_master.yml b/.github/workflows/Tasmota_build_master.yml index 48ddcb783..a5e1c3881 100644 --- a/.github/workflows/Tasmota_build_master.yml +++ b/.github/workflows/Tasmota_build_master.yml @@ -7,6 +7,11 @@ on: - '.github/**' # Ignore changes towards the .github directory - '**.md' # Do no build if *.md files changes +# Ensures that only one deploy task per branch/environment will run at a time. +concurrency: + group: environment-${{ github.ref }} + cancel-in-progress: true + jobs: base-images: runs-on: ubuntu-latest