From 0f4d9ed4fcbe9d6c5fc61ca848fbfc8ec3a197ce Mon Sep 17 00:00:00 2001 From: Jared Pereira Date: Tue, 10 Mar 2026 14:28:16 -0400 Subject: [PATCH] only run stripe sync on main --- .github/workflows/stripe-sync.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/stripe-sync.yml b/.github/workflows/stripe-sync.yml index c85affb6..9c889123 100644 --- a/.github/workflows/stripe-sync.yml +++ b/.github/workflows/stripe-sync.yml @@ -5,20 +5,10 @@ on: branches: [main] paths: ["stripe/**"] workflow_dispatch: - inputs: - mode: - description: "Stripe mode" - required: true - default: "test" - type: choice - options: - - test - - live jobs: sync: runs-on: ubuntu-latest - environment: ${{ github.event.inputs.mode == 'live' && 'production' || 'staging' }} steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -27,4 +17,4 @@ jobs: - run: npm ci - run: npx tsx stripe/sync.ts env: - STRIPE_SECRET_KEY: ${{ github.event.inputs.mode == 'live' && secrets.STRIPE_SECRET_KEY_LIVE || secrets.STRIPE_SECRET_KEY_TEST }} + STRIPE_SECRET_KEY: ${{ secrets.STRIPE_SECRET_KEY }} -- 2.51.2