Align Rules Applied to Ticket Types

When I am working on a story, my git branch will probably be called something like story/PRJ-123/blah-blah-blah.

When I am working on a subtask within a story, my git branch will probably be called something like subtask/PRJ-123/blah-blah-blah.

It is very common that when we split the story, we will deal with testing within different subtask which will eventually be merged into a story branch.

This being the case, if we are in a subtask branch were we are focused on the solution, we don’t want
to apply rules which have to deal with testing.

But, when the subtasks have been merged into the story branch, we want to ensure the testing rules are applied.

Since git has no way of knowing the ticket types, it could parse the branch names for conventions and apply all rules if no conventions match.

1 Like