The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
ci(docs): scheduled linter (#36116)
Charisdf9c1bc0174a
diff --git a/.github/workflows/docs-lint-v2-scheduled.yml b/.github/workflows/docs-lint-v2-scheduled.ymlindex a6cfd2506a3..f476dfcf920 100644--- a/.github/workflows/docs-lint-v2-scheduled.yml+++ b/.github/workflows/docs-lint-v2-scheduled.yml@@ -45,18 +45,15 @@ jobs:git config --global user.email '[email protected]'BRANCH_NAME="bot/docs-lint-fixes"EXISTING_BRANCH=$(git ls-remote --heads origin $BRANCH_NAME)- if [ -n "$EXISTING_BRANCH" ]; then- git checkout $BRANCH_NAME- else- git checkout -b $BRANCH_NAME+ if [[ -n "$EXISTING_BRANCH" ]]; then+ git push origin --delete $BRANCH_NAMEfi+ git checkout -b $BRANCH_NAMEsupa-mdx-lint apps/docs/content --fix || FIX_FAILED=1git add .git commit -m '[bot] fix lint errors' || truegit push origin $BRANCH_NAME- if [ -z "$EXISTING_BRANCH" ]; then- gh pr create --title '[bot] fix lint errors' --body 'This PR fixes lint errors in the documentation.' --head $BRANCH_NAME- fi+ gh pr create --title '[bot] fix lint errors' --body 'This PR fixes lint errors in the documentation.' --head $BRANCH_NAMEif [ "${FIX_FAILED:-0}" -eq 1 ]; thenecho "Fix did not correct all errors."exit 1diff --git a/supa-mdx-lint/Rule003Spelling.toml b/supa-mdx-lint/Rule003Spelling.tomlindex 9ca43af1105..9c174104a2f 100644--- a/supa-mdx-lint/Rule003Spelling.toml+++ b/supa-mdx-lint/Rule003Spelling.toml@@ -35,6 +35,7 @@ allow_list = ["[Cc]onfigs?","[Cc]onsecutiveness","[Cc]ooldowns?",+ "[Cc]oroutines?","[Cc]ron","[Dd]atasets?","[Dd]atasources?",