Skip to content

Commit f3f3bba

Browse files
authored
Merge pull request #154 from backstage/rugvip/api-report-matching
changeset-feedback: match all kind of API report names
2 parents 772cef0 + 288a202 commit f3f3bba

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

changeset-feedback/generateFeedback.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,9 @@ function isPublishedPath(path: string) {
4545
// API report changes by themselves don't count
4646
if (
4747
path === 'cli-report.md' ||
48-
path === 'api-report.md' ||
49-
path.endsWith('-api-report.md')
48+
(path.includes('api-report') && path.endsWith('.md')) ||
49+
path.endsWith('.api.md') ||
50+
path.endsWith('.cli.md')
5051
) {
5152
return false;
5253
}

0 commit comments

Comments
 (0)