Skip to content

Commit

Permalink
fix; database ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jkergal committed Dec 12, 2023
1 parent 38fe91b commit cc9e704
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: CI for supaback
name: CI for database
on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
paths:
- .github/actions/install-pnpm/action.yml
- .github/actions/install-dependencies/action.yml
- .github/workflows/ci-supaback.yml
- supaback/supabase/migrations/**
- supaback/package.json
- .github/workflows/database.yml
- database/supabase/migrations/**
- database/package.json
permissions:
contents: write
jobs:
Expand All @@ -17,7 +17,7 @@ jobs:
timeout-minutes: 10
defaults:
run:
working-directory: ./supaback
working-directory: ./database
steps:
- name: ⚒️ Checkout the commit
uses: actions/checkout@v4
Expand All @@ -40,10 +40,10 @@ jobs:
- name: Push detected changes on generated files
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'chore(supaback): update types / generated files'
commit_message: 'chore(database): update types / generated files'
commit_options: '--no-verify'
file_pattern: 'database.types.ts *.generated.sql'
repository: './supaback'
repository: './database'

- name: Verify Bot compilation
run: pnpm build
Expand Down

0 comments on commit cc9e704

Please sign in to comment.