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