Skip to content

Commit 4f7a258

Browse files
committed
Fix it
1 parent bfa1898 commit 4f7a258

1 file changed

Lines changed: 2 additions & 14 deletions

File tree

.github/scripts/create-changeset-from-pr.mjs

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -144,20 +144,8 @@ async function getAffectedPackages(
144144

145145
for (const changedFile of changedFiles) {
146146
const normalizedPath = changedFile.replace(/\\/g, '/');
147-
const rootChanges = [
148-
'package.json',
149-
'pnpm-workspace.yaml',
150-
'nx.json',
151-
'tsconfig.base.json',
152-
'pnpm-lock.yaml',
153-
];
154-
155-
if (rootChanges.includes(normalizedPath)) {
156-
for (const workspacePackage of workspacePackagesList) {
157-
if (!ignoredPackages.has(workspacePackage.name)) {
158-
affectedPackageNames.add(workspacePackage.name);
159-
}
160-
}
147+
148+
if (!normalizedPath.startsWith('packages/')) {
161149
continue;
162150
}
163151

0 commit comments

Comments
 (0)