Skip to content

Commit

Permalink
fix: better filtering of touched files
Browse files Browse the repository at this point in the history
  • Loading branch information
b12k committed Feb 27, 2023
1 parent 0a85a70 commit 7cbc931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/skip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const skip = (config: SkipConfig) => {
const touchedFiles = execSync(`git diff --name-only ${latestTag}..HEAD`)
.toString()
.split('\n')
.filter((file) => Boolean(file) && file.includes(workspaceName));
.filter((file) => Boolean(file) && file.includes(`${workspaceName}/`));

if (touchedFiles.length > 0) {
log({
Expand Down

0 comments on commit 7cbc931

Please sign in to comment.