From 59557e06fd671ab1ec7fb918437d9ab0845487af Mon Sep 17 00:00:00 2001 From: Carter Li Date: Sat, 17 Sep 2022 16:08:29 +0800 Subject: [PATCH] CI: disable `release job` on fork repo --- .github/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 05b0af171..0b5e198c0 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -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: