File 0642-github-actions-Only-run-sync-on-erlang-repo.patch of Package erlang

From 027e601450a8020697b58d4c2794391a8c727728 Mon Sep 17 00:00:00 2001
From: Lukas Larsson <lukas@erlang.org>
Date: Mon, 28 Jun 2021 11:42:16 +0200
Subject: [PATCH 2/3] github actions: Only run sync on erlang repo

---
 .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 7aafeae283..d3d3cf901c 100644
--- a/.github/workflows/sync-github-releases.yaml
+++ b/.github/workflows/sync-github-releases.yaml
@@ -12,6 +12,7 @@ jobs:
 
   # Wait for up to a minute for previous runs to complete, abort if not done by then
   pre-ci:
+    if: github.repository == 'erlang/otp'
     runs-on: ubuntu-latest
     timeout-minutes: 1
     steps:
-- 
2.31.1

openSUSE Build Service is sponsored by