You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the github_organization datasource exposes all the repos of the org in the repositories attribute. I would like to make it possible to filter these repos based on whether they are archived or not. While this is possible to do afterwards, you'd have to make a second API call via a github_repository datasource, which I want to avoid.
My initial idea would be to add a ignore_archived_repos argument (defaulted to false if not explicitly set to not break current usage), which simply would simply filter the list returned in the repositories attribute to only return repos that aren't archived. I could also add a separate attribute called non-archived-repos or similar, returning both the filtered and unfiltered lists. I'm leaning towards the former approach, but I could be convinced to go the other way
And I could work on this.
SDK Version
No response
API Version
No response
Relevant log output
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Describe the need
Currently the
github_organization
datasource exposes all the repos of the org in therepositories
attribute. I would like to make it possible to filter these repos based on whether they arearchived
or not. While this is possible to do afterwards, you'd have to make a second API call via agithub_repository
datasource, which I want to avoid.My initial idea would be to add a
ignore_archived_repos
argument (defaulted tofalse
if not explicitly set to not break current usage), which simply would simply filter the list returned in therepositories
attribute to only return repos that aren'tarchived
. I could also add a separate attribute callednon-archived-repos
or similar, returning both the filtered and unfiltered lists. I'm leaning towards the former approach, but I could be convinced to go the other wayAnd I could work on this.
SDK Version
No response
API Version
No response
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: