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 @@ -884,21 +884,15 @@ ${this.results.reduce((x, y) => {
884884 const value = propertyFilter [ name ]
885885
886886 try {
887- const query = `props.${ name } . ${ value } `
887+ const query = `props.${ name } : ${ value } `
888888 const encodedQuery = encodeURIComponent ( query )
889-
890- return this . github . paginate (
891- this . github . repos . getCustomPropertiesValues ,
892- {
893- org : organizationName ,
894- repository_query : encodedQuery ,
895- per_page : 100
896- }
897- )
889+ const options = this . github . request . endpoint ( ( `/orgs/${ organizationName } /properties/values?repository_query=${ encodedQuery } ` ) )
890+ return this . github . paginate ( options )
898891 } catch ( error ) {
899892 throw new Error ( `Failed to filter repositories for property ${ name } : ${ error . message } ` )
900893 }
901894 }
895+
902896
903897 async getSubOrgRepositories ( subOrgProperties ) {
904898 const organizationName = this . repo . owner
You can’t perform that action at this time.
0 commit comments