Skip to content

Commit

Permalink
fix: 🩹 no sprint/… branch scope
Browse files Browse the repository at this point in the history
  • Loading branch information
thierrymichel committed Nov 22, 2023
1 parent 7b78d7f commit ae90433
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,12 @@ function fillPrompt(options) {
default: () => {
const branch = execSync('git branch --show-current').toString().trim()

if (branch === 'master' || branch === 'main') {
// No branch scope
if (
branch === 'master' ||
branch === 'main' ||
branch.startsWith('sprint/')
) {
return ''
}

Expand Down

0 comments on commit ae90433

Please sign in to comment.