Skip to content

Commit 12b26ed

Browse files
authored
chore(repo): Fix retheme deploy preview (clerk#2116)
1 parent 86ac27a commit 12b26ed

1 file changed

Lines changed: 1 addition & 17 deletions

File tree

.github/workflows/preview.retheme.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Deploy Retheme Preview
2-
run-name: Deploy Retheme Preview by ${{ github.actor }}
2+
run-name: Deploy Retheme Preview
33

44
env:
55
VERCEL_ORG_ID: ${{ secrets.VERCEL_CLERK_PROD_ORG_ID }}
@@ -22,22 +22,6 @@ jobs:
2222
contents: write
2323
pull-requests: write
2424
steps:
25-
- name: Limit action to Clerk members
26-
uses: actions/github-script@v6
27-
with:
28-
result-encoding: string
29-
retries: 3
30-
retry-exempt-status-codes: 400,401
31-
github-token: ${{ secrets.CLERK_COOKIE_PAT }}
32-
script: |
33-
const isMember = await github.rest.orgs.checkMembershipForUser({
34-
org: 'clerk',
35-
username: context.actor
36-
});
37-
if (!isMember) {
38-
core.setFailed(`@${actor} is not a member of the Clerk organization`);
39-
}
40-
4125
- name: Checkout repo
4226
uses: actions/checkout@v4
4327

0 commit comments

Comments
 (0)