File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed
Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -898,21 +898,15 @@ ${this.results.reduce((x, y) => {
898898 const value = propertyFilter [ name ]
899899
900900 try {
901- const query = `props.${ name } . ${ value } `
901+ const query = `props.${ name } : ${ value } `
902902 const encodedQuery = encodeURIComponent ( query )
903-
904- return this . github . paginate (
905- this . github . repos . getCustomPropertiesValues ,
906- {
907- org : organizationName ,
908- repository_query : encodedQuery ,
909- per_page : 100
910- }
911- )
903+ const options = this . github . request . endpoint ( ( `/orgs/${ organizationName } /properties/values?repository_query=${ encodedQuery } ` ) )
904+ return this . github . paginate ( options )
912905 } catch ( error ) {
913906 throw new Error ( `Failed to filter repositories for property ${ name } : ${ error . message } ` )
914907 }
915908 }
909+
916910
917911 async getSubOrgRepositories ( subOrgProperties ) {
918912 const organizationName = this . repo . owner
You can’t perform that action at this time.
0 commit comments