Skip to content

Commit 240f58c

Browse files
committed
chore(ci): only supabase
1 parent ca006f8 commit 240f58c

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/publish.yml

Lines changed: 10 additions & 5 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:
@@ -18,11 +18,18 @@ jobs:
1818
app-id: ${{ secrets.APP_ID }}
1919
private-key: ${{ secrets.PRIVATE_KEY }}
2020
owner: supabase
21-
repositories: supabase, supabase-js
21+
repositories: supabase
2222

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:
@@ -50,7 +57,7 @@ jobs:
5057
app-id: ${{ secrets.APP_ID }}
5158
private-key: ${{ secrets.PRIVATE_KEY }}
5259
owner: supabase
53-
repositories: supabase, supabase-js
60+
repositories: supabase
5461

5562
- name: Trigger supabase/supabase docs workflow
5663
uses: actions/github-script@v7
@@ -67,5 +74,3 @@ jobs:
6774
source: 'supabase-js-stable-release'
6875
}
6976
});
70-
71-

0 commit comments

Comments
 (0)