Skip to content
Merged
Show file tree
Hide file tree
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
73 changes: 5 additions & 68 deletions .github/workflows/ci-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,72 +4,9 @@ on:
pull_request:
branches: ['**']

permissions:
contents: read
pull-requests: write
issues: read
checks: write

concurrency:
group: ci-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true

jobs:
lint:
name: "Lint"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install --frozen-lockfile
- run: bun run lint

typecheck:
name: "Typecheck"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install --frozen-lockfile
- run: bun run typecheck

test:
name: "Test"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install --frozen-lockfile
- run: bun run test -- --passWithNoTests || echo "No tests"

review:
name: "AI Review"
needs: [lint, typecheck]
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Code Quality Review
id: review
uses: constellos/claude-code-actions/.github/actions/code-quality-reviewer@main
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
pr_number: ${{ github.event.pull_request.number }}
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Post review comment
if: always()
uses: constellos/claude-code-actions/.github/actions/review-comment@main
with:
review_name: 'Code Quality'
passed: ${{ steps.review.outputs.passed }}
result_json: ${{ steps.review.outputs.result }}
checks_passed: ${{ steps.review.outputs.checks_passed }}
checks_failed: ${{ steps.review.outputs.checks_failed }}
checks_skipped: ${{ steps.review.outputs.checks_skipped }}
pr_number: ${{ github.event.pull_request.number }}
sha: ${{ github.sha }}
github_token: ${{ secrets.GITHUB_TOKEN }}
CI:
uses: constellos/.github/.github/workflows/ci-pipeline-reusable.yml@main
with:
node_version: '22'
secrets: inherit
2 changes: 1 addition & 1 deletion plugins/github-orchestration/hooks/await-pr-status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ async function handler(
ci_status: ciRun?.status,
vercel_urls: groupedPreviews.vercel,
cloudflare_urls: groupedPreviews.cloudflare,
supabase_urls: groupedPreviews.supabase,
supabase_urls: groupedPreviews.supabase.map(s => s.dashboardUrl),
});

return {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -819,19 +819,19 @@ function formatPRStatusWithCommit(
}
}

// Cloudflare Previews
// Cloudflare Deployments
if (groupedPreviews.cloudflare.length > 0) {
message += '\n☁️ Cloudflare Worker Previews:\n';
message += '\n☁️ Cloudflare Deployments:\n';
for (const url of groupedPreviews.cloudflare) {
message += ` • ${url}\n`;
}
}

// Supabase Previews
// Supabase Previews (dashboard links)
if (groupedPreviews.supabase.length > 0) {
message += '\n⚡ Supabase Preview Branches:\n';
for (const url of groupedPreviews.supabase) {
message += ` • ${url}\n`;
for (const preview of groupedPreviews.supabase) {
message += ` • ${preview.dashboardUrl}\n`;
}
}

Expand Down Expand Up @@ -899,19 +899,19 @@ function formatPRStatusInfo(
}
}

// Cloudflare Previews
// Cloudflare Deployments
if (groupedPreviews.cloudflare.length > 0) {
message += '\n☁️ Cloudflare Worker Previews:\n';
message += '\n☁️ Cloudflare Deployments:\n';
for (const url of groupedPreviews.cloudflare) {
message += ` • ${url}\n`;
}
}

// Supabase Previews
// Supabase Previews (dashboard links)
if (groupedPreviews.supabase.length > 0) {
message += '\n⚡ Supabase Preview Branches:\n';
for (const url of groupedPreviews.supabase) {
message += ` • ${url}\n`;
for (const preview of groupedPreviews.supabase) {
message += ` • ${preview.dashboardUrl}\n`;
}
}

Expand Down
Loading
Loading