From 4726d106c89e984c0feacde3a3da96b8938e8c10 Mon Sep 17 00:00:00 2001 From: Alejandro Lazaro Date: Mon, 6 May 2024 12:26:23 +0200 Subject: [PATCH] Do not run top issues workflow on forks (#1599) Signed-off-by: Alejandro Lazaro --- .github/workflows/update-top-issues-ranking.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/update-top-issues-ranking.yml b/.github/workflows/update-top-issues-ranking.yml index 82762e428d..2df4d17b95 100644 --- a/.github/workflows/update-top-issues-ranking.yml +++ b/.github/workflows/update-top-issues-ranking.yml @@ -8,6 +8,7 @@ on: jobs: update: runs-on: ubuntu-latest + if: github.repository_owner == 'opentofu' permissions: contents: read issues: write