@@ -108,7 +108,7 @@ if (!process.env.GITHUB_REF) {
108
108
109
109
ghCore . context = ( filePath , line , column ) => {
110
110
console . log (
111
- `in https://github.com/EnterpriseDB/docs /blob/${ branch } /${ filePath } ?plain=1#L${ line } ` ,
111
+ `in https://github.com/${ process . env . GITHUB_REPOSITORY } /blob/${ branch } /${ filePath } ?plain=1#L${ line } ` ,
112
112
) ;
113
113
} ;
114
114
}
@@ -120,7 +120,7 @@ async function main() {
120
120
? ! ! ghCore . getInput ( "update-links" )
121
121
: args . fix ;
122
122
const sourceFiles = await glob ( [
123
- path . resolve ( basePath , "product_docs/**/*.mdx" ) ,
123
+ path . resolve ( basePath , "product_docs/docs/ **/*.mdx" ) ,
124
124
path . resolve ( basePath , "advocacy_docs/**/*.mdx" ) ,
125
125
] ) ;
126
126
@@ -190,15 +190,15 @@ async function main() {
190
190
//
191
191
const resourceFiles = await glob ( [
192
192
...resourceExts . flatMap ( ( ext ) => [
193
- path . resolve ( basePath , "product_docs/**/*" + ext ) ,
193
+ path . resolve ( basePath , "product_docs/docs/ **/*" + ext ) ,
194
194
path . resolve ( basePath , "advocacy_docs/**/*" + ext ) ,
195
195
] ) ,
196
196
...imageExts . flatMap ( ( ext ) => [
197
- path . resolve ( basePath , "product_docs/**/*" + ext ) ,
197
+ path . resolve ( basePath , "product_docs/docs/ **/*" + ext ) ,
198
198
path . resolve ( basePath , "advocacy_docs/**/*" + ext ) ,
199
199
] ) ,
200
200
...rawExts . flatMap ( ( ext ) => [
201
- path . resolve ( basePath , "product_docs/**/*" + ext ) ,
201
+ path . resolve ( basePath , "product_docs/docs/ **/*" + ext ) ,
202
202
path . resolve ( basePath , "advocacy_docs/**/*" + ext ) ,
203
203
] ) ,
204
204
] ) ;
0 commit comments