CI: disable release job on fork repo

This commit is contained in:
Carter Li 2022-09-17 16:08:29 +08:00
parent 6d0d916861
commit 59557e06fd

View File

@ -94,7 +94,7 @@ jobs:
path: ./fastfetch-*.*
release:
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'LinusDierheimer/fastfetch'
name: Release
runs-on: ubuntu-latest
needs: