Skip to content

Commit 723c7c7

Browse files
committed
chore(ci): only supabase
1 parent c31a8a6 commit 723c7c7

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_dispatch:
55

66
env:
7-
NODE_VERSION: '20'
7+
NODE_VERSION: "20"
88

99
jobs:
1010
trigger-update-js-libs:
@@ -23,6 +23,13 @@ jobs:
2323
- name: Show token permissions
2424
run: |
2525
curl -H "Authorization: token ${{ steps.app-token.outputs.token }}" https://api.github.com/
26+
27+
- name: Show token permissions for supabase/supabase
28+
run: |
29+
curl -i -H "Authorization: token ${{ steps.app-token.outputs.token }}" \
30+
https://api.github.com/repos/supabase/supabase | grep "x-accepted-github-permissions"
31+
curl -i -H "Authorization: token ${{ steps.app-token.outputs.token }}" \
32+
https://api.github.com/user | grep login
2633
- name: Trigger supabase/supabase update-js-libs workflow
2734
uses: actions/github-script@v7
2835
with:
@@ -67,5 +74,3 @@ jobs:
6774
source: 'supabase-js-stable-release'
6875
}
6976
});
70-
71-

0 commit comments

Comments
 (0)