Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Crowdsplit Staging Sync
name: Backend Staging Sync

on:
repository_dispatch:
types: [crowdsplit-staging-pushed]
types: [backend-staging-pushed]

permissions:
issues: write

concurrency:
group: crowdsplit-sync
group: backend-sync
cancel-in-progress: false

jobs:
Expand Down Expand Up @@ -111,11 +111,11 @@ jobs:
await github.rest.issues.create({
owner: context.repo.owner,
repo: context.repo.repo,
title: `[API Sync] Crowdsplit staging updated — ${fileCount} file(s) changed`,
title: `[API Sync] Backend staging updated — ${fileCount} file(s) changed`,
body: [
`## Crowdsplit Staging Change Detected`,
`## Backend Staging Change Detected`,
``,
`A push to Crowdsplit \`staging\` included changes that may require SDK updates.`,
`A push to the backend \`staging\` branch included changes that may require SDK updates.`,
``,
`**Commit:** ${commitLink}`,
`**Message:** ${commitMessage}`,
Expand All @@ -125,12 +125,12 @@ jobs:
truncationNote,
``,
`### Action required`,
`1. Review the changed files in Crowdsplit`,
`1. Review the changed files in the backend`,
`2. Determine if SDK types, services, or methods need updating`,
`3. Follow SDK patterns (Result<T,E>, factory functions, withAuth)`,
``,
`---`,
`${runLink} · _Auto-generated by Crowdsplit Staging Sync workflow_`,
`${runLink} · _Auto-generated by Backend Staging Sync workflow_`,
].join('\n'),
labels: ['api-sync', 'crowdsplit'],
labels: ['api-sync', 'backend'],
});
Loading