Skip to content

Conversation

@adiologydev
Copy link
Contributor

Description

This will run the workflow on staging branch which is our target for all PRs + run migrations to staging database if PRs get merged to that branch.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Security enhancement
  • Performance improvement
  • Code refactoring (no functional changes)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added tests that prove my fix is effective or that my feature works
  • All tests pass locally and in CI (bun run test)
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules
  • I have updated version numbers as needed (if needed)
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Security Considerations:

  • My changes do not introduce any new security vulnerabilities
  • I have considered the security implications of my changes

Additional Information:

Any additional information, configuration or data that might be necessary to reproduce the issue or use the feature.

@adiologydev adiologydev requested a review from waleedlatif1 June 28, 2025 18:21
@vercel
Copy link

vercel bot commented Jun 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2025 6:21pm
sim ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2025 6:21pm

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

Extended CI workflow to support staging environment by configuring branch-specific database migrations and deployment pipeline.

  • Added staging branch triggers (push and pull_request) in .github/workflows/ci.yml alongside existing main branch triggers
  • Implemented conditional database migrations using separate URLs for staging (DATABASE_URL_STAGING) and production (DATABASE_URL)
  • Modified migration job conditions to execute on both main and staging branch merges

1 file reviewed, no comments
Edit PR Review Bot Settings | Greptile

@delve-auditor
Copy link

delve-auditor bot commented Jun 28, 2025

No security or compliance issues detected. Reviewed everything up to 7ee5a76.

Security Overview
  • 🔎 Scanned files: 1 changed file(s)
Detected Code Changes
Change Type Relevant files
Configuration changes ► .github/workflows/ci.yml
    Add staging branch to CI workflow
    Update database migration configuration for staging environment

Reply to this PR with @delve-auditor followed by a description of what change you want and we'll auto-submit a change to this PR to implement it.

@waleedlatif1 waleedlatif1 merged commit fb15ee0 into staging Jun 29, 2025
6 checks passed
@adiologydev adiologydev deleted the chore/ci-staging branch June 29, 2025 12:17
emir-karabeg added a commit that referenced this pull request Jun 30, 2025
* fix: icon properties error

* chore(ci): run ci on staging + migrations (#575)

* fix: eleven labs deployment returning uploaded blob (#583)

* fix(eleven-labs): fixed URL path (#584)

* fix: eleven labs deployment returning uploaded blob

* fix: added better URL pattern

---------

Co-authored-by: Aditya Tripathi <aditya@climactic.co>
arenadeveloper02 pushed a commit to arenadeveloper02/p2-sim that referenced this pull request Sep 19, 2025
* fix: icon properties error

* chore(ci): run ci on staging + migrations (simstudioai#575)

* fix: eleven labs deployment returning uploaded blob (simstudioai#583)

* fix(eleven-labs): fixed URL path (simstudioai#584)

* fix: eleven labs deployment returning uploaded blob

* fix: added better URL pattern

---------

Co-authored-by: Aditya Tripathi <aditya@climactic.co>
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.

2 participants