Skip to content

Commit

Permalink
fix: improve workflow updater
Browse files Browse the repository at this point in the history
  • Loading branch information
exKAZUu committed Feb 14, 2025
1 parent 6ea5412 commit 2ee35ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/generators/workflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ async function writeWorkflowYaml(config: PackageConfig, workflowsPath: string, k
}
if (newSettings.on?.push) {
newSettings.on.push['paths-ignore'] = [
...new Set<string>([...(newSettings.on.push['paths-ignore'] ?? []), '**.md', '**/docs/**']),
...new Set(['**.md', '**/docs/**', ...(newSettings.on.push['paths-ignore'] ?? [])]),
];
}
}
Expand Down

0 comments on commit 2ee35ff

Please sign in to comment.