opral / lix-sdk

1 stars 0 forks source link

Add `target_id` to repo metadata #21

Open NiklasBuchfink opened 3 months ago

NiklasBuchfink commented 3 months ago

Context

@niklas.buchfink said in FINK-54:

Scenario: User (Collaborator with push permissions) wants to contribute to a public repo. Here I see two common issues:

  1. User installs the app not for the organization, but for the own account. It might be possible to skip the selection, by fetching the target-id of the GitHub repo and direct to https://github.com/apps/inlang-dev2/installations/new/permissions?target_id={target_id} instead of "https://github.com/apps/inlang-dev2/installations/select_target"

Proposal

Add target_id to the repo metadata object to skip user/orga selection by user