From 9ec07b5fb79884a7408654103e589bb0dbda3bab Mon Sep 17 00:00:00 2001 From: TC Date: Thu, 9 Feb 2023 22:11:26 +0100 Subject: [PATCH] Only run the release stage if it is the main repo --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b885ce89..e5c7e8a0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -106,7 +106,7 @@ jobs: release: runs-on: ubuntu-latest name: Release YouTube Music - if: github.ref == 'refs/heads/master' + if: github.repository == 'th-ch/youtube-music' && github.ref == 'refs/heads/master' needs: build steps: - uses: actions/checkout@v3