File 0106-gh-sync-Fail-sync-if-job-already-running.patch of Package erlang
From 45709e6ca0f6d3f2129bff9a8f9540ea77b15a0b Mon Sep 17 00:00:00 2001
From: Lukas Larsson <lukas@erlang.org>
Date: Fri, 25 Sep 2020 15:31:09 +0200
Subject: [PATCH] gh-sync: Fail sync if job already running
---
.github/workflows/sync-github-releases.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.github/workflows/sync-github-releases.yaml b/.github/workflows/sync-github-releases.yaml
index 2a88558d6b..013a4b42e8 100644
--- a/.github/workflows/sync-github-releases.yaml
+++ b/.github/workflows/sync-github-releases.yaml
@@ -23,6 +23,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
sync-releases:
+ needs: pre-ci
if: github.repository == 'erlang/otp'
runs-on: ubuntu-latest
steps:
--
2.26.2