Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT]: Get the current github_app from a data source similar to github_user #2229

Open
1 task done
dreinhardt89 opened this issue Apr 11, 2024 · 1 comment
Open
1 task done
Labels
Status: Up for grabs Issues that are ready to be worked on by anyone Type: Feature New feature or request

Comments

@dreinhardt89
Copy link

Describe the need

You can currently get the current github_user via a data source like below:

# Retrieve information about the currently authenticated user.
data "github_user" "current" {
  username = ""
}

it would be nice to be able to do the same with the github_app data source (for when you are authenticating the provider with a github app).

ex:

# Retrieve information about the currently authenticated app.
data "github_app" "current" {
  slug = ""
}

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
@dreinhardt89 dreinhardt89 added Status: Triage This is being looked at and prioritized Type: Feature New feature or request labels Apr 11, 2024
@wyatterp365

This comment was marked as spam.

@kfcampbell kfcampbell added Status: Up for grabs Issues that are ready to be worked on by anyone and removed Status: Triage This is being looked at and prioritized labels Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Up for grabs Issues that are ready to be worked on by anyone Type: Feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants