[MAINT]: Make github_ref
respect owner
(vs taking it from the PAT)
#1650
Labels
Status: Triage
This is being looked at and prioritized
Type: Maintenance
Any dependency, housekeeping, and clean up Issue or PR
Describe the need
Currently, the
github_ref
data source does not take anowner
input and defaults to the one that can be derived from the PAT.When using the data source with a personal access token (for my user
ksatirli
), this results in an empty response for agithub_ref
forhashicorp/setup-terraform
:Output:
Comparatively: when I poll a
repository
that belongs to the sameowner
as the PAT, the data source works as expected.Change request: The
github_ref
data source should support anowner
attribute that is used to query the GH API.SDK Version
5.22.0 and earlier
API Version
n/a
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: