Skip to content

Commit

Permalink
chore(repo): Dispatch events to sdk-infra-workers (#5190)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikosdouvlis authored Feb 27, 2025
1 parent bb4b762 commit d3ce940
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,13 @@ jobs:
const clerkjsVersion = require('./packages/clerk-js/package.json').version;
const nextjsVersion = require('./packages/nextjs/package.json').version;
if (clerkjsVersion.includes('canary')) {
console.log('clerk-js changed, will notify clerk/cloudflare-workers');
github.rest.actions.createWorkflowDispatch({
owner: 'clerk',
repo: 'cloudflare-workers',
workflow_id: 'release-canary-clerkjs-proxy.yml',
repo: 'sdk-infra-workers',
workflow_id: 'update-clerks.yml',
ref: 'main',
inputs: { version: clerkjsVersion }
})
}
if (nextjsVersion.includes('canary')) {
console.log('clerk/nextjs changed, will notify clerk/accounts');
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ jobs:
github.rest.actions.createWorkflowDispatch({
owner: 'clerk',
repo: 'cloudflare-workers',
workflow_id: 'prepare-prod-clerkjs-proxy-pr.yml',
repo: 'sdk-infra-workers',
workflow_id: 'update-clerks.yml',
ref: 'main',
inputs: { version: clerkjsVersion }
})
Expand Down

0 comments on commit d3ce940

Please sign in to comment.