From fc9659d116b845f2eef608536310f7c141679d08 Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Mon, 27 Oct 2025 08:38:43 -0700 Subject: [PATCH] build(github): only publish gist from master branch --- .github/workflows/nix.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nix.yaml b/.github/workflows/nix.yaml index 51741a91..b8e415bf 100644 --- a/.github/workflows/nix.yaml +++ b/.github/workflows/nix.yaml @@ -35,7 +35,7 @@ jobs: path: | result/bin/komorebi* retention-days: 90 - - if: ${{ github.repository == 'KomoCorp/komorebi-for-mac' }} + - if: ${{ github.ref == 'refs/heads/master' && github.repository == 'KomoCorp/komorebi-for-mac' }} uses: exuanbo/actions-deploy-gist@v1 with: token: ${{ secrets.GH_USER_API_TOKEN }}