File 0198-gh-Only-run-actions-updated-on-upstream-repo.patch of Package erlang

From ea6dac14b910b4f0c68a2e2d9bc4d365bdc3f482 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lukas=20Backstr=C3=B6m?= <lukas@erlang.org>
Date: Thu, 17 Oct 2024 12:38:58 +0200
Subject: [PATCH 2/2] gh: Only run actions updated on upstream repo

---
 .github/workflows/actions-updater.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/actions-updater.yaml b/.github/workflows/actions-updater.yaml
index 8c95081020..449b60f77b 100644
--- a/.github/workflows/actions-updater.yaml
+++ b/.github/workflows/actions-updater.yaml
@@ -10,6 +10,7 @@ on:
 jobs:
   build:
     runs-on: ubuntu-latest
+    if: github.repository == 'erlang/otp'
 
     steps:
       - name: Generate token
-- 
2.43.0

openSUSE Build Service is sponsored by