Skip to content

Commit

Permalink
Merge pull request #179 from taiga-project/feature-178
Browse files Browse the repository at this point in the history
Update Githook and CI for branch two
  • Loading branch information
matyasaradi authored Feb 4, 2024
2 parents 361f8c3 + 4e86e55 commit cb253f8
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 cb253f8

Please sign in to comment.