mirror of
https://github.com/winapps-org/winapps.git
synced 2025-06-06 07:07:18 +02:00
fix(ci): don't create PRs on other people's repos
This commit is contained in:
parent
0b6eed0a04
commit
e164a6b5ef
5
.github/workflows/update-nix.yaml
vendored
5
.github/workflows/update-nix.yaml
vendored
@ -13,7 +13,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
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
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
@ -31,9 +31,10 @@ jobs:
|
|||||||
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
||||||
|
|
||||||
- name: Update flake packages
|
- name: Update flake packages
|
||||||
uses: winapps-org/nix-update-action@v1.3.0
|
uses: winapps-org/nix-update-action@v1.4.0
|
||||||
with:
|
with:
|
||||||
extra-args: --version=branch
|
extra-args: --version=branch
|
||||||
|
skip-pr: "${{ github.event_name == 'pull_request' }}"
|
||||||
|
|
||||||
- name: Build packages
|
- name: Build packages
|
||||||
run: nix build .#winapps .#winapps-launcher
|
run: nix build .#winapps .#winapps-launcher
|
||||||
|
Loading…
x
Reference in New Issue
Block a user