The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: simplify autofix (#28407)
Kevin Grüneberg2f7331a80d05
diff --git a/.github/workflows/autofix_linters.yml b/.github/workflows/autofix_linters.ymlindex ca8882d7e04..cc937074c06 100644--- a/.github/workflows/autofix_linters.yml+++ b/.github/workflows/autofix_linters.yml@@ -5,6 +5,9 @@ on:types:- labeled+permissions:+ contents: write+# Cancel old builds on new commit for same workflow + branch/PRconcurrency:group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}@@ -13,33 +16,22 @@ concurrency:jobs:autofix:runs-on: ubuntu-latest- permissions:- contents: writeif: ${{ github.event_name == 'pull_request' && (github.event.label.name == 'autofix') }}steps:- - name: Calculate number of commits- run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}"- uses: actions/checkout@v4with:- ref: ${{ github.head_ref }}sparse-checkout: apps- fetch-depth: ${{ env.PR_FETCH_DEPTH }}- uses: actions/setup-node@v4with:node-version-file: '.nvmrc'- # Installing all dependencies takes up to three minutes, hacking around to only installing prettier+deps- name: Install required dependencies- run: |- rm package.json- rm package-lock.json- npm i [email protected] prettier-plugin-sql-cst+ run: npm ci- name: Run Prettier in fix mode- run: |- npx prettier --write 'apps/**/*.{js,jsx,ts,tsx,css,md,mdx,json}'+ run: npm run format- name: Commit changes and push to existing branchrun: |