From b42412903b751b125984ad68ab2e1adecb2aa2f5 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Mon, 20 Dec 2021 16:05:30 +0100 Subject: [PATCH] Don't allow concurrent publish actions. If two commits gets pushed in quick succession, and the first takes much longer to publish (for some reason), said build can be considered "latest". This just happened and it broke the servers. --- .github/workflows/publish.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index cedb75f726..e59e357eac 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,5 +1,8 @@ name: Publish +concurrency: + group: publish + on: push: branches: [ master ]