Skip to content

Commit 35a9cd9

Browse files
committed
fix(release): debug 2
1 parent 28d6826 commit 35a9cd9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,19 @@ jobs:
3434
const { actor } = context
3535
3636
async function isTeamMember(team_slug) {
37-
console.log('isTeamMember', team_slug)
38-
console.log('actor', actor)
39-
console.log('Context', JSON.stringify(context, null, 2))
37+
console.log('isTeamMember', team_slug)
38+
console.log('actor', actor)
39+
console.log('Context', JSON.stringify(context, null, 2))
4040
try {
4141
const res = await github.rest.teams.getMembershipForUserInOrg({
4242
org,
4343
team_slug,
4444
username: actor,
4545
})
46+
console.log('Here is res', JSON.stringify(res, null, 2))
4647
return res && res.status === 200
4748
} catch (_) {
49+
console.log('Here is error', JSON.stringify(_, null, 2))
4850
return false
4951
}
5052
}

0 commit comments

Comments
 (0)