Skip to content

ci: gate deploy-backend on Supabase secrets presence - #12

Merged
KrishP147 merged 1 commit into
mainfrom
krish/ci-gate-supabase-deploy
Sep 24, 2026
Merged

KrishP147 merged 1 commit into
mainfrom
krish/ci-gate-supabase-deploy

Conversation

@KrishP147

Copy link
Copy Markdown
Owner

Fixes #2

main has been red since 6edfb6f because deploy-backend runs with empty SUPABASE_ACCESS_TOKEN / SUPABASE_PROJECT_REF. Adds a check step that writes has_secrets to GITHUB_OUTPUT; CLI setup + deploy steps are skipped (job green, ::notice::) when either secret is unset. deploy-backend now needs frontend-tests.

Note: the job only runs on push to main, so this PR shows it skipped; the main run after merge is the real proof.

🤖 Generated with Claude Code

Skip Setup CLI + Deploy steps when SUPABASE_ACCESS_TOKEN/PROJECT_REF unset, add needs frontend-tests.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 24, 2026 02:05

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@vercel

vercel Bot commented Sep 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
nutrisync-frontend Ready Ready Preview Sep 24, 2026 2:05am UTC

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@KrishP147
KrishP147 merged commit 5c3eed1 into main Sep 24, 2026
8 checks passed
@codecov

codecov Bot commented Sep 24, 2026

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

This branch was successfully deployed

1 active deployment
Preview 3fbf5430 Deployed Sep 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: gate deploy-backend job on Supabase secrets so main is green

3 participants