From db564f1ed8ea37bfddca57951f236b0a0b3af16c Mon Sep 17 00:00:00 2001 From: Mattia Basaglia Date: Sun, 1 Sep 2024 13:54:03 +0200 Subject: [PATCH] Add "pages" lock --- .github/workflows/tag-latest.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/tag-latest.yml b/.github/workflows/tag-latest.yml index cbbad04..21ef9f8 100644 --- a/.github/workflows/tag-latest.yml +++ b/.github/workflows/tag-latest.yml @@ -2,6 +2,12 @@ name: Tag Latest on: workflow_dispatch: +# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. +# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. +concurrency: + group: "pages" + cancel-in-progress: false + # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: contents: write