From 70bc26dc19ca240da24e9636eaa97cdabbc36ff8 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Sat, 18 May 2024 19:08:34 +0300 Subject: [PATCH] Disable workflows on forks ignore-downstream --- .github/workflows/labeler.yml | 1 + .github/workflows/lock.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index ab2292824..df54c0fff 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -8,5 +8,6 @@ jobs: contents: read pull-requests: write runs-on: ubuntu-latest + if: github.repository == 'Sonarr/Sonarr' steps: - uses: actions/labeler@v5 diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index 03ec90954..d775234db 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -8,6 +8,7 @@ on: jobs: lock: runs-on: ubuntu-latest + if: github.repository == 'Sonarr/Sonarr' steps: - uses: dessant/lock-threads@v5 with: