Skip to content

Commit ab83ab0

Browse files
author
Sreeparna Deb
committed
fixing GitHub App token Auth
1 parent 6166db7 commit ab83ab0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/update_plugininfo.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ jobs:
4444
owner: ManiVaultStudio
4545
repositories: manivaultstudio.github.io # ensure the App is installed on this repo with Contents: write
4646

47+
- name: List repos accessible to this installation token
48+
env:
49+
APP_TOKEN: ${{ steps.app_token.outputs.token }}
50+
run: |
51+
curl -s -H "Authorization: Bearer ${APP_TOKEN}" -H "Accept: application/vnd.github+json" \
52+
https://api.github.com/installation/repositories | jq -r '.repositories[].full_name'
53+
4754
# quick sanity: token can read the repo
4855
- name: Sanity check token can read website repo
4956
env:

0 commit comments

Comments
 (0)