diff --git a/.github/workflows/crowdsplit-sync.yml b/.github/workflows/backend-sync.yml similarity index 90% rename from .github/workflows/crowdsplit-sync.yml rename to .github/workflows/backend-sync.yml index 3bbbce4..4bcf137 100644 --- a/.github/workflows/crowdsplit-sync.yml +++ b/.github/workflows/backend-sync.yml @@ -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: @@ -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}`, @@ -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, 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'], });