From 4e86e559f64b0b1cadc572131e85d55704af267f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1ty=C3=A1s=20Aradi?= <20679946+matyasaradi@users.noreply.github.com> Date: Mon, 5 Feb 2024 00:34:12 +0100 Subject: [PATCH] Update Githook and CI for branch two --- .githooks/pre-commit | 2 +- .github/workflows/taiga.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.githooks/pre-commit b/.githooks/pre-commit index 3ddc2e2..35d9198 100755 --- a/.githooks/pre-commit +++ b/.githooks/pre-commit @@ -2,6 +2,6 @@ # pre-commit: block to commit to master or develop branches case "$(git rev-parse --abbrev-ref HEAD)" in -master|develop) echo "Error: commit rejected. Master and develop branches are protected!" 1>&2; exit 1;; +master|develop|two) echo "Error: commit rejected. Master and develop branches are protected!" 1>&2; exit 1;; esac exit 0 diff --git a/.github/workflows/taiga.yml b/.github/workflows/taiga.yml index c8690f6..10c5d34 100644 --- a/.github/workflows/taiga.yml +++ b/.github/workflows/taiga.yml @@ -5,6 +5,7 @@ on: branches: - master - develop + - two jobs: build: