From e164a6b5ef99460e6655b46f86ea3ceabda74ca8 Mon Sep 17 00:00:00 2001 From: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com> Date: Sun, 2 Feb 2025 11:40:25 +0100 Subject: [PATCH] fix(ci): don't create PRs on other people's repos --- .github/workflows/update-nix.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-nix.yaml b/.github/workflows/update-nix.yaml index efd601c..a1585a8 100644 --- a/.github/workflows/update-nix.yaml +++ b/.github/workflows/update-nix.yaml @@ -13,7 +13,7 @@ on: jobs: build: - if: "${{ github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'rebuild nix') }}" + if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'rebuild nix') runs-on: ubuntu-latest steps: - name: Checkout repository @@ -31,9 +31,10 @@ jobs: authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" - name: Update flake packages - uses: winapps-org/nix-update-action@v1.3.0 + uses: winapps-org/nix-update-action@v1.4.0 with: extra-args: --version=branch + skip-pr: "${{ github.event_name == 'pull_request' }}" - name: Build packages run: nix build .#winapps .#winapps-launcher