Skip to content

Commit d4ec49a

Browse files
committed
chore: renaming vars
1 parent dc716f4 commit d4ec49a

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.yarn/install-state.gz

2.18 KB
Binary file not shown.

changeset-feedback/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ inputs:
1212
issue-number:
1313
description: issue number of the PR
1414
required: true
15-
is-community-plugins-repo:
16-
description: If it's the community plugins repo this is a collection of workspaces
15+
multiple-workspaces:
16+
description: If it's this repository is a collection of workspaces
1717
required: false
1818
bot-username:
1919
description: username of the bot used to post comments on behalf of the action. Will be used when locating existing changeset feedback comments to update.

changeset-feedback/generateFeedback.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,11 @@ const findPackagesInDir = async (dir: string) => {
9191
};
9292

9393
export async function listPackages({
94-
isCommunityPluginsRepo,
94+
multipleWorkspaces,
9595
}: {
96-
isCommunityPluginsRepo?: boolean;
96+
multipleWorkspaces?: boolean;
9797
}) {
98-
if (!isCommunityPluginsRepo) {
98+
if (!multipleWorkspaces) {
9999
return findPackagesInDir(process.cwd());
100100
}
101101

changeset-feedback/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ async function main() {
1818
const diffRef = core.getInput('diff-ref', { required: true });
1919
const issueNumberStr = core.getInput('issue-number', { required: true });
2020
const botUsername = core.getInput('bot-username', { required: true });
21-
const isCommunityPluginsRepo = core.getInput('is-community-plugins-repo', {
21+
const multipleWorkspaces = core.getBooleanInput('multiple-workspaces', {
2222
required: false,
2323
});
2424
const changedFiles = await listChangedFiles(diffRef);
25-
const packages = await listPackages({ isCommunityPluginsRepo });
25+
const packages = await listPackages({ multipleWorkspaces });
2626
const changesets = await loadChangesets(changedFiles);
2727
const changedPackages = await listChangedPackages(changedFiles, packages);
2828
const feedback = formatSummary(changedPackages, changesets);

0 commit comments

Comments
 (0)