diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f96b8d2c8..a23b3bcd3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -32,7 +32,7 @@ jobs: with: app-id: ${{ secrets.APP_ID }} private-key: ${{ secrets.PRIVATE_KEY }} - - name: Check if actor is member of admin or client-libs team + - name: Check if actor is member of admin or sdk team id: team-check uses: actions/github-script@v7 with: @@ -54,14 +54,14 @@ jobs: } } const isAdmin = await isTeamMember('admin') - const isClientLibs = await isTeamMember('client-libs') - const isMember = isAdmin || isClientLibs + const isSdk = await isTeamMember('sdk') + const isMember = isAdmin || isSdk core.setOutput('is_team_member', isMember ? 'true' : 'false') - name: Fail if not authorized if: ${{ steps.team-check.outputs.is_team_member != 'true' }} run: | - echo "You must be a member of @supabase/admin or @supabase/client-libs." + echo "You must be a member of @supabase/admin or @supabase/sdk." exit 1 - uses: actions/checkout@v5 diff --git a/.github/workflows/slack-notify.yml b/.github/workflows/slack-notify.yml index 8c7419c38..3f2a0d936 100644 --- a/.github/workflows/slack-notify.yml +++ b/.github/workflows/slack-notify.yml @@ -56,7 +56,7 @@ jobs: }, { "type": "section", - "text": { "type": "mrkdwn", "text": "See workflow details below. @group-client-libs" } + "text": { "type": "mrkdwn", "text": "See workflow details below. @group-sdk" } }, { "type": "section",