From 0f4d9ed4fcbe9d6c5fc61ca848fbfc8ec3a197ce Mon Sep 17 00:00:00 2001 From: Jared Pereira Date: Tue, 10 Mar 2026 18:28:16 +0000 Subject: [PATCH] only run stripe sync on main --- .github/workflows/stripe-sync.yml | 12 +----------- 1 file(s) changed, 1 insertion(s)(+), 11 deletion(s)(-) diff --git a/.github/workflows/stripe-sync.yml b/.github/workflows/stripe-sync.yml --- a/.github/workflows/stripe-sync.yml +++ b/.github/workflows/stripe-sync.yml @@ -5,20 +5,10 @@ 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 @@ - 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 }} -- tangled.sh