Skip to content

Commit

Permalink
Update Githook and CI for branch two
Browse files Browse the repository at this point in the history
  • Loading branch information
matyasaradi committed Feb 4, 2024
1 parent 361f8c3 commit 4e86e55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .githooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions .github/workflows/taiga.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- master
- develop
- two

jobs:
build:
Expand Down

0 comments on commit 4e86e55

Please sign in to comment.