Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
ezzatron committed Aug 25, 2024
1 parent 58dbacf commit a15bd56
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/test-inputs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ jobs:
appB:
appId: ${{ toJSON(vars.APP_ID_B) }}
privateKey: ${{ toJSON(secrets.APP_PK_B) }}
appC:
appId: ${{ toJSON(vars.APP_ID_C) }}
privateKey: ${{ toJSON(secrets.APP_PK_C) }}
3 changes: 2 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ async function main(): Promise<void> {
);

for await (const { data: installations } of pages) {
for (const { id, target_id, target_type } of installations) {
for (const { app_slug, id, target_id, target_type } of installations) {
info(`App ${name} has installation ${id}`);
info(`Installation ${id} has app_slug ${app_slug}`);
info(`Installation ${id} has target_type ${target_type}`);
info(`Installation ${id} has target_id ${target_id}`);
}
Expand Down

0 comments on commit a15bd56

Please sign in to comment.