@@ -40,19 +40,22 @@ jobs:
40
40
team_slug,
41
41
username: actor,
42
42
})
43
+ console.log('res', JSON.stringify(res, null, 2))
43
44
return res && res.status === 200
44
45
} catch (_) {
45
46
return false
46
47
}
47
48
}
48
-
49
49
const isAdmin = await isTeamMember('admin')
50
50
const isClientLibs = await isTeamMember('client-libs')
51
51
const isMember = isAdmin || isClientLibs
52
+ console.log('isAdmin', isAdmin)
53
+ console.log('isClientLibs', isClientLibs)
54
+ console.log('isMember', isMember)
52
55
core.setOutput('is_team_member', isMember ? 'true' : 'false')
53
56
54
57
- name : Fail if not authorized
55
- if : ${{ steps.team-check.outputs.is_team_member != 'true' }}
58
+ if : steps.team-check.outputs.is_team_member != 'true'
56
59
run : |
57
60
echo "You must be a member of @supabase/admin or @supabase/client-libs."
58
61
exit 1
@@ -207,8 +210,7 @@ jobs:
207
210
uses : ./.github/workflows/ci-auth-js-node18.yml
208
211
permissions :
209
212
actions : read
210
- contents :
211
- read
213
+ contents : read
212
214
213
215
# ==========================================
214
216
# CANARY RELEASE (only on master, after all CI passes)
@@ -268,20 +270,20 @@ jobs:
268
270
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
269
271
RELEASE_GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
270
272
271
- notify-stable-failure :
272
- name : Notify Slack for Stable failure
273
- needs : release-stable
274
- if : ${{ always() && github.event_name == 'workflow_dispatch' && needs.release-stable.result == 'failure' }}
275
- uses : ./.github/workflows/slack-notify.yml
276
- secrets : inherit
277
- with :
278
- subject : ' Stable Release'
279
-
280
- notify-canary-failure :
281
- name : Notify Slack for Canary failure
282
- needs : release-canary
283
- if : ${{ always() && github.event_name == 'push' && needs.release-canary.result == 'failure' }}
284
- uses : ./.github/workflows/slack-notify.yml
285
- secrets : inherit
286
- with :
287
- subject : ' Canary Release'
273
+ # notify-stable-failure:
274
+ # name: Notify Slack for Stable failure
275
+ # needs: release-stable
276
+ # if: ${{ always() && github.event_name == 'workflow_dispatch' && needs.release-stable.result == 'failure' }}
277
+ # uses: ./.github/workflows/slack-notify.yml
278
+ # secrets: inherit
279
+ # with:
280
+ # subject: 'Stable Release'
281
+
282
+ # notify-canary-failure:
283
+ # name: Notify Slack for Canary failure
284
+ # needs: release-canary
285
+ # if: ${{ always() && github.event_name == 'push' && needs.release-canary.result == 'failure' }}
286
+ # uses: ./.github/workflows/slack-notify.yml
287
+ # secrets: inherit
288
+ # with:
289
+ # subject: 'Canary Release'
0 commit comments