Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: autofix action (#30421)

Charis3f08a033d9b7
diff --git a/.github/workflows/autofix_linters.yml b/.github/workflows/autofix_linters.yml
index fa02d5c9f8d..d181e750d80 100644
--- a/.github/workflows/autofix_linters.yml
+++ b/.github/workflows/autofix_linters.yml
@@ -18,10 +18,10 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' && (github.event.label.name == 'autofix') }}
steps:
-
- uses: actions/checkout@v4
with:
sparse-checkout: apps
+ ref: ${{ github.head_ref }}
- uses: actions/setup-node@v4
with:
@@ -39,7 +39,7 @@ jobs:
git config --global user.email '[email protected]'
if [[ `git status --porcelain` ]]; then
echo "[bot] Changes detected, committing."
-
+
echo "[bot] Running in non-squash mode."
git commit -am "ci: Autofix updates from GitHub workflow"
git push
diff --git a/apps/docs/app/api/ai/docs/route.ts b/apps/docs/app/api/ai/docs/route.ts
index 3b1df3ee2a7..b88d7837f82 100644
--- a/apps/docs/app/api/ai/docs/route.ts
+++ b/apps/docs/app/api/ai/docs/route.ts
@@ -6,7 +6,7 @@ import OpenAI from 'openai'
export const runtime = 'edge'
/* To avoid OpenAI errors, restrict to the Vercel Edge Function regions that
overlap with the OpenAI API regions.
-
+
Reference for Vercel regions: https://vercel.com/docs/edge-network/regions#region-list
Reference for OpenAI regions: https://help.openai.com/en/articles/5347006-openai-api-supported-countries-and-territories
*/