From 2e7671d99a279b35666fe9d0cadc559fdfadbb0a Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Fri, 14 Jul 2023 00:27:26 -0400 Subject: [PATCH] Only run rustfmt on main/master. This way we don't end up trying to push to tags. --- .lighthouse/triggers.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.lighthouse/triggers.yaml b/.lighthouse/triggers.yaml index f3d40c4..6b2e9ce 100644 --- a/.lighthouse/triggers.yaml +++ b/.lighthouse/triggers.yaml @@ -32,7 +32,8 @@ spec: # Override https-based url from lighthouse events. clone_uri: "git@code.fizz.buzz:talexander/organic.git" branches: - - "^v[0-9]+\\.[0-9]+\\.[0-9]+$" + - ^main$ + - ^master$ - name: rust-test source: "pipeline-rust-test.yaml" # Override https-based url from lighthouse events.