Skip to content

Commit

Permalink
fix(ci): don't create PRs on other people's repos
Browse files Browse the repository at this point in the history
  • Loading branch information
oskardotglobal authored Feb 2, 2025
1 parent 0b6eed0 commit e164a6b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/update-nix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit e164a6b

Please sign in to comment.