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]: Enable app installation for user repository #2468

Open
1 task done
M0NsTeRRR opened this issue Nov 21, 2024 · 0 comments · May be fixed by #2469
Open
1 task done

[FEAT]: Enable app installation for user repository #2468

M0NsTeRRR opened this issue Nov 21, 2024 · 0 comments · May be fixed by #2469
Labels
Status: Triage This is being looked at and prioritized Type: Feature New feature or request

Comments

@M0NsTeRRR
Copy link

M0NsTeRRR commented Nov 21, 2024

Describe the need

The github_app_installation_repository currently looks for an organization, but the GitHub API endpoint also supports users.

A GitHub App installation refers to any user or organization account that has installed the app.

https://docs.github.com/en/rest/apps/installations?apiVersion=2022-11-28#about-github-app-installations

Tested with curl and it works (PAT token is required).
https://docs.github.com/en/rest/apps/installations?apiVersion=2022-11-28#add-a-repository-to-an-app-installation

SDK Version

No response

API Version

No response

Relevant log output

I'm using pulumi so maybe the output is different :)

error:   sdk-v2/provider2.go:520: sdk.helper_schema: this resource can only be used in the context of an organization, "m0nsterrr" is a user: [email protected]
    error: 1 error occurred:
        * this resource can only be used in the context of an organization, "m0nsterrr" is a user

Code of Conduct

  • I agree to follow this project's Code of Conduct
@M0NsTeRRR M0NsTeRRR added Status: Triage This is being looked at and prioritized Type: Feature New feature or request labels Nov 21, 2024
@M0NsTeRRR M0NsTeRRR linked a pull request Nov 21, 2024 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage This is being looked at and prioritized Type: Feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant