Only run the release stage if it is the main repo

This commit is contained in:
TC
2023-02-09 22:11:26 +01:00
parent b9aa6ffdd4
commit 9ec07b5fb7

View File

@ -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