Skip to content

Commit bc1896a

Browse files
authored
Merge pull request #18024 from github/repo-sync
repo sync
2 parents 23ae5a1 + 2897cd8 commit bc1896a

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

tests/meta/repository-references.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ If this test is failing...
1111
(1) edit the file to remove the reference; or
1212
(2) the repository is public,
1313
add the repository name to PUBLIC_REPOS; or
14-
(3) the feature references a docs repository,
14+
(3) the file references a docs repository,
1515
add the file name to ALLOW_DOCS_PATHS.
1616
*/
1717

@@ -132,7 +132,15 @@ describe('check if a GitHub-owned private repository is referenced', () => {
132132
})
133133
expect(
134134
matches,
135-
`Please edit ${filename} to remove references to ${matches.join(', ')}`
135+
`This test exists to make sure we don't reference private GitHub owned repositories in our open-source repository.
136+
137+
In '${filename}' we found references to these private repositories: ${matches.join(', ')}
138+
139+
You can:
140+
141+
(1) edit the file to remove the repository reference; or
142+
(2) if the repository is public, add the repository name to the 'PUBLIC_REPOS' variable in this test file; or
143+
(3) if the file references a docs repository, add the file name to the 'ALLOW_DOCS_PATHS' variable in this test file.`
136144
).toHaveLength(0)
137145
})
138146
})

0 commit comments

Comments
 (0)