From caa23075568dce2bcf25f983e5ca4d333365f1b7 Mon Sep 17 00:00:00 2001 From: YI Date: Sun, 25 Feb 2024 08:09:22 +0800 Subject: [PATCH] github actions: build large nix packages on nix files changed --- .github/workflows/nix-large-packages.yml | 25 ++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.github/workflows/nix-large-packages.yml b/.github/workflows/nix-large-packages.yml index 309c092..6269975 100644 --- a/.github/workflows/nix-large-packages.yml +++ b/.github/workflows/nix-large-packages.yml @@ -33,6 +33,31 @@ on: type: boolean default: true required: false + pull_request: + branches: + - master + - main + - actions + - ci + - "releases/*" + paths: + - "*.nix" + - "**/*.nix" + - "nix/**" + - "flake.lock" + push: + branches: + - master + - main + - actions + - ci + - "releases/*" + paths: + - ".github/workflows/nix.yml" + - "*.nix" + - "**/*.nix" + - "nix/**" + - "flake.lock" jobs: build: