From 3198bd91d11a969fd4645f23933b0312d15ab49e Mon Sep 17 00:00:00 2001 From: MayNiklas Date: Tue, 9 Apr 2024 10:50:54 +0200 Subject: [PATCH] change filter --- .woodpecker/x86-linux.yaml | 4 ++-- packages/woodpecker-pipeline/default.nix | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.woodpecker/x86-linux.yaml b/.woodpecker/x86-linux.yaml index c5023078..1c28161b 100644 --- a/.woodpecker/x86-linux.yaml +++ b/.woodpecker/x86-linux.yaml @@ -199,8 +199,8 @@ "event": "push" }, { - "event": "pull_request", - "repo": "MayNiklas/nixos" + "branch": "update_flake_lock_action", + "event": "push" } ] } diff --git a/packages/woodpecker-pipeline/default.nix b/packages/woodpecker-pipeline/default.nix index 6810b419..968cf99c 100644 --- a/packages/woodpecker-pipeline/default.nix +++ b/packages/woodpecker-pipeline/default.nix @@ -39,7 +39,9 @@ let when = pkgs.lib.lists.flatten ([ { event = "manual"; } { event = "push"; branch = "main"; } - { event = "pull_request"; repo = "MayNiklas/nixos"; } + { event = "push"; branch = "update_flake_lock_action"; } + # could allow PRs from forks + # { event = "pull_request"; repo = "MayNiklas/nixos"; } ]); steps = pkgs.lib.lists.flatten ([ nixFlakeShow ] ++ [ atticSetupStep ] ++ (map