The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: explicit permissions on actions (#43526)
Etienne Stalmans92bdbb2f57d6
diff --git a/.github/workflows/docs-js-libs-update.yml b/.github/workflows/docs-js-libs-update.ymlindex 398ebf0b5fb..9f94c4addbb 100644--- a/.github/workflows/docs-js-libs-update.yml+++ b/.github/workflows/docs-js-libs-update.yml@@ -42,10 +42,13 @@ jobs:- name: Regenerate JS client libraries tsdoc filesworking-directory: apps/docs/spec+ env:+ SOURCE: ${{ github.event.inputs.source }}+ VERSION: ${{ github.event.inputs.version }}run: |echo "Regenerating tsdoc files for JS client libraries..."- echo "Source: ${{ github.event.inputs.source }}"- echo "Version: ${{ github.event.inputs.version }}"+ echo "Source: ${SOURCE}"+ echo "Version: ${VERSION}"make- name: Generate new typespec snapshot@@ -68,7 +71,7 @@ jobs:commit-message: 'docs: update js sdk docs (${{ github.event.inputs.version }})'title: 'docs: update js sdk docs (${{ github.event.inputs.version }})'body: |- Updates JS sdk documentation following stable release.+ Updates JS sdk documentation following stable release.Ran `make` in apps/docs/spec to regenerate tsdoc files.**Details:**diff --git a/.github/workflows/publish_image.yml b/.github/workflows/publish_image.ymlindex 9865b284630..10143775f32 100644--- a/.github/workflows/publish_image.yml+++ b/.github/workflows/publish_image.yml@@ -6,6 +6,9 @@ on:- cron: '0 4 * * 1'workflow_dispatch:+permissions:+ contents: read+jobs:settings:runs-on: blacksmith-4vcpu-ubuntu-2404diff --git a/.github/workflows/trigger-nimbus-sync.yml b/.github/workflows/trigger-nimbus-sync.ymlindex 8e47cc31e5c..082e15905fe 100644--- a/.github/workflows/trigger-nimbus-sync.yml+++ b/.github/workflows/trigger-nimbus-sync.yml@@ -5,6 +5,9 @@ on:branches: [master]workflow_dispatch: # Allow manual triggering+permissions:+ contents: read+jobs:trigger-nimbus-sync:runs-on: ubuntu-latestdiff --git a/.github/workflows/update-js-libs.yml b/.github/workflows/update-js-libs.ymlindex ef6a611e712..3fea336ff5c 100644--- a/.github/workflows/update-js-libs.yml+++ b/.github/workflows/update-js-libs.yml@@ -38,32 +38,34 @@ jobs:cache: 'pnpm'- name: Update @supabase/*-js packages in pnpm-workspace.yaml+ env:+ VERSION: ${{ github.event.inputs.version }}run: |# Update @supabase/supabase-js- sed -i "s/'@supabase\/supabase-js': .*/'@supabase\/supabase-js': ${{ github.event.inputs.version }}/" pnpm-workspace.yaml+ sed -i "s|'@supabase/supabase-js': .*|'@supabase/supabase-js': ${VERSION}|" pnpm-workspace.yaml# Update @supabase/auth-js- sed -i "s/'@supabase\/auth-js': .*/'@supabase\/auth-js': ${{ github.event.inputs.version }}/" pnpm-workspace.yaml+ sed -i "s|'@supabase/auth-js': .*|'@supabase/auth-js': ${VERSION}|" pnpm-workspace.yaml# Update @supabase/realtime-js- sed -i "s/'@supabase\/realtime-js': .*/'@supabase\/realtime-js': ${{ github.event.inputs.version }}/" pnpm-workspace.yaml+ sed -i "s|'@supabase/realtime-js': .*|'@supabase/realtime-js': ${VERSION}|" pnpm-workspace.yaml# Update @supabase/postgrest-js- sed -i "s/'@supabase\/postgrest-js': .*/'@supabase\/postgrest-js': ${{ github.event.inputs.version }}/" pnpm-workspace.yaml+ sed -i "s|'@supabase/postgrest-js': .*|'@supabase/postgrest-js': ${VERSION}|" pnpm-workspace.yamlecho "Updated pnpm-workspace.yaml:"cat pnpm-workspace.yaml- name: Install dependenciesrun: pnpm install --no-frozen-lockfile-+- name: Generate tokenid: app-tokenuses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1with:app-id: ${{ secrets.GH_AUTOFIX_APP_ID }}private-key: ${{ secrets.GH_AUTOFIX_PRIVATE_KEY }}-+- name: Create pull requestuses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0with:diff --git a/.github/workflows/validate-pr.yml b/.github/workflows/validate-pr.ymlindex ffb9c43ca95..af68e012b3d 100644--- a/.github/workflows/validate-pr.yml+++ b/.github/workflows/validate-pr.yml@@ -5,6 +5,9 @@ on:pull_request:types: [opened, labeled, unlabeled, synchronize, ready_for_review]+permissions:+ contents: read+jobs:validate-pr:runs-on: ubuntu-latest