The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: update github workflows (#39237)
Charis3973cc3e5c8c
diff --git a/.github/dependabot.yml b/.github/dependabot.ymlnew file mode 100644index 00000000000..b18fd293573--- /dev/null+++ b/.github/dependabot.yml@@ -0,0 +1,6 @@+version: 2+updates:+ - package-ecosystem: 'github-actions'+ directory: '/'+ schedule:+ interval: 'weekly'diff --git a/.github/workflows/ai-tests.yml b/.github/workflows/ai-tests.ymlindex 7f579157731..72cb382d0e4 100644--- a/.github/workflows/ai-tests.yml+++ b/.github/workflows/ai-tests.yml@@ -32,21 +32,21 @@ jobs:working-directory: ./packages/ai-commandssteps:- - uses: actions/checkout@v4+ - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0with:sparse-checkout: |packages- - uses: pnpm/action-setup@v4+ - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0name: Install pnpmwith:run_install: false- name: Use Node.js- uses: actions/setup-node@v4+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0with:node-version-file: '.nvmrc'cache: 'pnpm'- name: Install deps- run: pnpm i+ run: pnpm install --frozen-lockfile- name: Type checkrun: pnpm run typecheck- name: Run testsdiff --git a/.github/workflows/auto-label-issues.yml b/.github/workflows/auto-label-issues.ymlindex 59dfb2f88c3..2e897310bcd 100644--- a/.github/workflows/auto-label-issues.yml+++ b/.github/workflows/auto-label-issues.yml@@ -8,26 +8,27 @@ jobs:permissions:issues: writesteps:- - name: Check if organization member- id: is-org-member- uses: JamesSingleton/[email protected]- with:- organization: ${{ github.repository_owner }}- username: ${{ github.event.issue.user.login }}- token: ${{ secrets.GITHUB_TOKEN }}- - name: label-member- env:- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}- GH_REPO: ${{ github.repository }}- NUMBER: ${{ github.event.issue.number }}- run: |- if [ ${{ steps.is-org-member.outputs.result }} != "true" ]; then- echo "User is outside of organization, labeling external"- gh issue edit "$NUMBER" --add-label "external-issue"- else- echo "User is within the organization, labeling internal"- gh issue edit "$NUMBER" --add-label "internal-issue"- fi+ - name: Check if organization member+ id: is-org-member+ uses: JamesSingleton/is-organization-member@39c59b3b17cca4eb75c81772b95e724e2a24c025 # v1.0.0+ with:+ organization: ${{ github.repository_owner }}+ username: ${{ github.event.issue.user.login }}+ token: ${{ secrets.GITHUB_TOKEN }}+ - name: label-member+ env:+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ GH_REPO: ${{ github.repository }}+ NUMBER: ${{ github.event.issue.number }}+ IS_INTERNAL: ${{ steps.is-org-member.outputs.result }}+ run: |+ if [ "$IS_INTERNAL" != "true" ]; then+ echo "User is outside of organization, labeling external"+ gh issue edit "$NUMBER" --add-label "external-issue"+ else+ echo "User is within the organization, labeling internal"+ gh issue edit "$NUMBER" --add-label "internal-issue"+ fitriage-new:runs-on: ubuntu-latestpermissions:diff --git a/.github/workflows/autofix_linters.yml b/.github/workflows/autofix_linters.ymlindex e24443c07bb..f86e63bf4db 100644--- a/.github/workflows/autofix_linters.yml+++ b/.github/workflows/autofix_linters.yml@@ -23,7 +23,7 @@ jobs:- name: Calculate number of commitsrun: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}"- - uses: actions/checkout@v4+ - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0with:ref: ${{ github.head_ref }}token: ${{ secrets.PAT_AUTOFIX }}@@ -32,23 +32,23 @@ jobs:packagesapps- - uses: pnpm/action-setup@v4+ - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0name: Install pnpm- - uses: actions/setup-node@v4+ - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0with:node-version-file: '.nvmrc'cache: pnpm- name: Install required dependencies- run: pnpm i+ run: pnpm install --frozen-lockfile- name: Run Prettier in fix moderun: pnpm run format- name: Commit changes and push to existing branch- uses: stefanzweifel/git-auto-commit-action@v5+ uses: stefanzweifel/git-auto-commit-action@b863ae1933cb653a53c021fe36dbb774e1fb9403 # v5.2.0with:- commit_message: "ci: Autofix updates from GitHub workflow"- commit_user_name: "kevcodez"- commit_user_email: "[email protected]"+ commit_message: 'ci: Autofix updates from GitHub workflow'+ commit_user_name: 'kevcodez'+ commit_user_email: '[email protected]'diff --git a/.github/workflows/avoid-typos.yml b/.github/workflows/avoid-typos.ymlindex 9897266012e..0b1b4004d72 100644--- a/.github/workflows/avoid-typos.yml+++ b/.github/workflows/avoid-typos.yml@@ -17,9 +17,9 @@ jobs:runs-on: blacksmith-4vcpu-ubuntu-2404steps:- name: Check out code.- uses: actions/checkout@v4+ uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0- name: misspell- uses: reviewdog/action-misspell@v1+ uses: reviewdog/action-misspell@9daa94af4357dddb6fd3775de806bc0a8e98d3e4 # v1.26.3with:github_token: ${{ secrets.github_token }}locale: 'US'diff --git a/.github/workflows/docs-js-libs-update.yml b/.github/workflows/docs-js-libs-update.ymlindex 0ec5bea40cd..2f6daecbc75 100644--- a/.github/workflows/docs-js-libs-update.yml+++ b/.github/workflows/docs-js-libs-update.yml@@ -22,23 +22,23 @@ jobs:runs-on: blacksmith-4vcpu-ubuntu-2404steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0with:ref: master- - uses: pnpm/action-setup@v4+ - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0name: Install pnpmwith:run_install: false- name: Use Node.js- uses: actions/setup-node@v4+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0with:node-version-file: '.nvmrc'cache: 'pnpm'- name: Install deps- run: pnpm i+ run: pnpm install --frozen-lockfile- name: Regenerate JS client libraries tsdoc filesworking-directory: apps/docs/spec@@ -55,7 +55,7 @@ jobs:npx vitest run --update ./features/docs/Reference.typeSpec.test.ts- name: Create pull request- uses: peter-evans/create-pull-request@v6+ uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0with:token: ${{ secrets.GITHUB_TOKEN }}commit-message: 'docs: update js client libraries (${{ github.event.inputs.version }})'diff --git a/.github/workflows/docs-last-changed.yml b/.github/workflows/docs-last-changed.ymlindex a7ebfdb0653..0cf0418a716 100644--- a/.github/workflows/docs-last-changed.yml+++ b/.github/workflows/docs-last-changed.yml@@ -23,24 +23,24 @@ jobs:steps:- name: Check out repo- uses: actions/checkout@v4+ uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0with:fetch-depth: 0sparse-checkout: |apps/docs- - uses: pnpm/action-setup@v4+ - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0name: Install pnpmwith:run_install: false- name: Setup node- uses: actions/setup-node@v4+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0with:node-version-file: '.nvmrc'- name: Download dependencies- run: pnpm i+ run: pnpm install --frozen-lockfile- name: Update last-changed datesworking-directory: ./apps/docsdiff --git a/.github/workflows/docs-lint-v2-comment.yml b/.github/workflows/docs-lint-v2-comment.ymlindex f69e2fc4f49..7c4561d3695 100644--- a/.github/workflows/docs-lint-v2-comment.yml+++ b/.github/workflows/docs-lint-v2-comment.yml@@ -25,7 +25,7 @@ jobs:steps:- id: download_artifactname: 'Download artifact'- uses: actions/github-script@v7+ uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0with:script: |const artifacts = await github.rest.actions.listWorkflowRunArtifacts({@@ -53,7 +53,7 @@ jobs:run: unzip lint_results.zip- name: 'Comment on PR'if: steps.download_artifact.outputs.contains_results == 'true'- uses: actions/github-script@v7+ uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0with:script: |const fs = require('fs');diff --git a/.github/workflows/docs-lint-v2-scheduled.yml b/.github/workflows/docs-lint-v2-scheduled.ymlindex af9e6955943..8691af99ead 100644--- a/.github/workflows/docs-lint-v2-scheduled.yml+++ b/.github/workflows/docs-lint-v2-scheduled.yml@@ -15,7 +15,7 @@ jobs:lint-all:runs-on: blacksmith-4vcpu-ubuntu-2404steps:- - uses: actions/checkout@v3+ - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0with:fetch-depth: 0sparse-checkout: |@@ -24,7 +24,7 @@ jobs:apps/docs/content- name: cache cargoid: cache-cargo- uses: actions/cache@v4+ uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0with:path: |~/.cargo/bin/diff --git a/.github/workflows/docs-lint-v2.yml b/.github/workflows/docs-lint-v2.ymlindex 89f42c2862c..5555f3245cd 100644--- a/.github/workflows/docs-lint-v2.yml+++ b/.github/workflows/docs-lint-v2.yml@@ -28,14 +28,14 @@ jobs:name: supa-mdx-lintruns-on: blacksmith-4vcpu-ubuntu-2404steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0with:fetch-depth: 0sparse-checkout: |supa-mdx-lint.config.tomlsupa-mdx-lintapps/docs/content- - uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 #v3.0.2+ - uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2id: filterwith:filters: |@@ -98,7 +98,7 @@ jobs:fi- name: save results as artifact (external)if: steps.filter.outputs.docs == 'true' && github.event.pull_request.head.repo.full_name != github.repository && steps.external_lint.outputs.LINT_EXIT_CODE != 0- uses: actions/upload-artifact@v4+ uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2with:name: lint_resultspath: __github_actions__pr/diff --git a/.github/workflows/docs-mgmt-api-update.yml b/.github/workflows/docs-mgmt-api-update.ymlindex e9261c90096..e170ddb04af 100644--- a/.github/workflows/docs-mgmt-api-update.yml+++ b/.github/workflows/docs-mgmt-api-update.yml@@ -15,32 +15,32 @@ jobs:runs-on: blacksmith-4vcpu-ubuntu-2404steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0with:ref: mastersparse-checkout: |apps/docs- - uses: pnpm/action-setup@v4+ - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0name: Install pnpmwith:run_install: false- name: Use Node.js- uses: actions/setup-node@v4+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0with:node-version-file: '.nvmrc'cache: 'pnpm'- name: Install deps- run: pnpm i+ run: pnpm install --frozen-lockfile- name: Change to apps/docs/spec directory and run make commandworking-directory: apps/docs/specrun: make download.api.v1 dereference.api.v1 generate.sections.api.v1 format- name: Create pull request- uses: peter-evans/create-pull-request@v6+ uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0with:token: ${{ secrets.GITHUB_TOKEN }}commit-message: 'feat: update mgmt api docs'diff --git a/.github/workflows/docs-sync-troubleshooting.yml b/.github/workflows/docs-sync-troubleshooting.ymlindex 703df013e7d..4f40768e8f8 100644--- a/.github/workflows/docs-sync-troubleshooting.yml+++ b/.github/workflows/docs-sync-troubleshooting.yml@@ -24,27 +24,27 @@ jobs:SUPABASE_SECRET_KEY: ${{ secrets.SEARCH_SUPABASE_SERVICE_ROLE_KEY }}steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0with:sparse-checkout: |apps/docs- - uses: pnpm/action-setup@v4+ - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0name: Install pnpmwith:run_install: false- name: Use Node.js- uses: actions/setup-node@v4+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0with:node-version-file: '.nvmrc'cache: 'pnpm'- name: Install dependencies- run: pnpm i+ run: pnpm install --frozen-lockfile- name: Run Troubleshooting script- run: pnpm run -F docs troubleshooting:sync+ run: pnpm run --filter docs troubleshooting:sync- name: Create Pull Requestuses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5diff --git a/.github/workflows/docs-sync.yml b/.github/workflows/docs-sync.ymlindex e4e78f0fc72..78843195d1e 100644--- a/.github/workflows/docs-sync.yml+++ b/.github/workflows/docs-sync.yml@@ -26,25 +26,25 @@ jobs:SUPABASE_SECRET_KEY: ${{ secrets.SEARCH_SUPABASE_SERVICE_ROLE_KEY }}steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0with:sparse-checkout: |apps/docspackages- - uses: pnpm/action-setup@v4+ - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0name: Install pnpmwith:run_install: false- name: Use Node.js- uses: actions/setup-node@v4+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0with:node-version-file: '.nvmrc'cache: 'pnpm'- name: Install dependencies- run: pnpm i+ run: pnpm install --frozen-lockfile- name: Run sync script- run: pnpm run -F docs sync+ run: pnpm run --filter docs syncdiff --git a/.github/workflows/docs-tests-smoke.yml b/.github/workflows/docs-tests-smoke.ymlindex 335dffb4316..942c5d70f7c 100644--- a/.github/workflows/docs-tests-smoke.yml+++ b/.github/workflows/docs-tests-smoke.yml@@ -19,25 +19,25 @@ jobs:runs-on: blacksmith-4vcpu-ubuntu-2404steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0with:sparse-checkout: |apps/docspackages- - uses: pnpm/action-setup@v4+ - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0name: Install pnpmwith:run_install: false- name: Use Node.js- uses: actions/setup-node@v4+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0with:node-version-file: '.nvmrc'cache: 'pnpm'- name: Install deps- run: pnpm i+ run: pnpm install --frozen-lockfile- name: Run testsrun: pnpm --prefix="apps/docs" run test:smokediff --git a/.github/workflows/docs-tests.yml b/.github/workflows/docs-tests.ymlindex 233418e270f..3020e13dc74 100644--- a/.github/workflows/docs-tests.yml+++ b/.github/workflows/docs-tests.yml@@ -23,7 +23,7 @@ jobs:runs-on: blacksmith-4vcpu-ubuntu-2404steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0with:sparse-checkout: |apps/docs@@ -31,19 +31,19 @@ jobs:packagessupabase- - uses: pnpm/action-setup@v4+ - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0name: Install pnpmwith:run_install: false- name: Use Node.js- uses: actions/setup-node@v4+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0with:node-version-file: '.nvmrc'cache: 'pnpm'- name: Install deps- run: pnpm i+ run: pnpm install --frozen-lockfile- name: Run testsrun: |diff --git a/.github/workflows/external-pr-comment.yml b/.github/workflows/external-pr-comment.ymlindex 5e3c36dd358..d330ad18b97 100644--- a/.github/workflows/external-pr-comment.yml+++ b/.github/workflows/external-pr-comment.yml@@ -13,7 +13,7 @@ jobs:if: github.event.pull_request.head.repo.full_name != github.repositorysteps:- name: Comment on PR- uses: actions/github-script@v7+ uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0with:script: |const commentBody = `diff --git a/.github/workflows/fix-typos.yml b/.github/workflows/fix-typos.ymlindex 84c9bbf4d34..a7af81d334d 100644--- a/.github/workflows/fix-typos.yml+++ b/.github/workflows/fix-typos.yml@@ -17,12 +17,10 @@ jobs:build:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v4+ - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0with:ref: master- - uses: sobolevn/misspell-fixer-action@master- - uses: peter-evans/create-pull-request@v4- env:- ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'+ - uses: sobolevn/misspell-fixer-action@06ff0b508d4f4c0ba70d15f9a628232c0aade536 # v0.1.0+ - uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0with:token: ${{ secrets.GITHUB_TOKEN }}diff --git a/.github/workflows/label_prs.yml b/.github/workflows/label_prs.ymlindex 36f4ec2dc90..741ddea4ac7 100644--- a/.github/workflows/label_prs.yml+++ b/.github/workflows/label_prs.yml@@ -13,4 +13,4 @@ jobs:pull-requests: writeruns-on: ubuntu-lateststeps:- - uses: actions/labeler@v6+ - uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.ymlindex a28d54e3f7c..56169a93802 100644--- a/.github/workflows/mirror.yml+++ b/.github/workflows/mirror.yml@@ -22,19 +22,19 @@ jobs:id-token: writesteps:- name: configure aws credentials- uses: aws-actions/configure-aws-credentials@v2+ uses: aws-actions/configure-aws-credentials@5fd3084fc36e372ff1fff382a39b10d03659f355 # v2.2.0with:role-to-assume: ${{ secrets.PROD_AWS_ROLE }}aws-region: us-east-1- - uses: docker/login-action@v2+ - uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0with:registry: public.ecr.aws- - uses: docker/login-action@v2+ - uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0with:registry: ghcr.iousername: ${{ github.actor }}password: ${{ secrets.GITHUB_TOKEN }}- - uses: akhilerm/[email protected]+ - uses: akhilerm/tag-push-action@85bf542f43f5f2060ef76262a67ee3607cb6db37 # v2.1.0with:src: docker.io/supabase/studio:${{ inputs.version }}dst: |diff --git a/.github/workflows/og_images.yml b/.github/workflows/og_images.ymlindex 6c2166e7558..02a40a0bf58 100644--- a/.github/workflows/og_images.yml+++ b/.github/workflows/og_images.yml@@ -21,10 +21,10 @@ jobs:steps:- name: Check out repo- uses: actions/checkout@v4+ uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0- name: Setup the Supabase CLI- uses: supabase/setup-cli@v1+ uses: supabase/setup-cli@b60b5899c73b63a2d2d651b1e90db8d4c9392f51 # v1.6.0with:version: latestdiff --git a/.github/workflows/pg-meta-tests.yml b/.github/workflows/pg-meta-tests.ymlindex bd051bf6508..fd6f2daedb6 100644--- a/.github/workflows/pg-meta-tests.yml+++ b/.github/workflows/pg-meta-tests.yml@@ -24,31 +24,31 @@ jobs:runs-on: blacksmith-4vcpu-ubuntu-2404steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0with:sparse-checkout: |packages/pg-metapackages/tsconfig- - uses: pnpm/action-setup@v4+ - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0name: Install pnpmwith:run_install: false- name: Use Node.js- uses: actions/setup-node@v4+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0with:node-version-file: '.nvmrc'cache: 'pnpm'- name: Install deps- run: pnpm i+ run: pnpm install --frozen-lockfile- name: Run testsrun: pnpm --filter=@supabase/pg-meta run test- name: Upload coverage to Codecov- uses: codecov/codecov-action@v3+ uses: codecov/codecov-action@ab904c41d6ece82784817410c45d8b8c02684457 # v3.1.6with:directory: packages/pg-meta/coverageflags: pg-metadiff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.ymlindex 9b06f5d533c..9c3ab48f0ac 100644--- a/.github/workflows/prettier.yml+++ b/.github/workflows/prettier.yml@@ -18,21 +18,21 @@ jobs:runs-on: blacksmith-4vcpu-ubuntu-2404steps:- name: Check out repo- uses: actions/checkout@v4+ uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0with:sparse-checkout: apps- - uses: pnpm/action-setup@v4+ - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0name: Install pnpmwith:run_install: false- name: Setup node- uses: actions/setup-node@v4+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0with:node-version-file: '.nvmrc'cache: 'pnpm'- name: Download dependenciesrun: |- pnpm i+ pnpm install --frozen-lockfile- name: Run prettierrun: |-pnpm run test:prettier@@ -42,22 +42,22 @@ jobs:runs-on: blacksmith-4vcpu-ubuntu-2404steps:- name: Check out repo- uses: actions/checkout@v4+ uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0with:sparse-checkout: |i18n- - uses: pnpm/action-setup@v4+ - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0name: Install pnpmwith:run_install: false- name: Setup node- uses: actions/setup-node@v4+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0with:node-version-file: '.nvmrc'cache: 'pnpm'- name: Download dependenciesrun: |- pnpm i+ pnpm install --frozen-lockfile- name: Run prettierrun: |-pnpm exec prettier -c 'i18n/**/*.{js,jsx,ts,tsx,css,md,mdx,json}'@@ -66,23 +66,23 @@ jobs:runs-on: blacksmith-4vcpu-ubuntu-2404steps:- name: Check out repo- uses: actions/checkout@v4+ uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0with:sparse-checkout: |apps/docs/pagesapps/docs/content- - uses: pnpm/action-setup@v4+ - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0name: Install pnpmwith:run_install: false- name: Setup node- uses: actions/setup-node@v4+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0with:node-version-file: '.nvmrc'cache: 'pnpm'- name: Download dependenciesrun: |- pnpm i+ pnpm install --frozen-lockfile- name: Run prettierrun: |-# Check mdx files which contain sql code blocksdiff --git a/.github/workflows/publish_image.yml b/.github/workflows/publish_image.ymlindex 8664bcf08ac..40c142134ab 100644--- a/.github/workflows/publish_image.yml+++ b/.github/workflows/publish_image.yml@@ -13,7 +13,7 @@ jobs:image_version: ${{ steps.meta.outputs.version }}steps:- id: meta- uses: docker/metadata-action@v4+ uses: docker/metadata-action@818d4b7b91585d195f67373fd9cb0332e31a7175 # v4.6.0with:images: |supabase/studio@@ -33,23 +33,23 @@ jobs:image_digest: ${{ steps.build.outputs.digest }}steps:- id: meta- uses: docker/metadata-action@v4+ uses: docker/metadata-action@818d4b7b91585d195f67373fd9cb0332e31a7175 # v4.6.0with:images: |supabase/studiotags: |type=raw,value=${{ needs.settings.outputs.image_version }}_${{ env.arch }}- - uses: docker/setup-buildx-action@v2+ - uses: docker/setup-buildx-action@885d1462b80bc1c1c7f0b00334ad271f09369c55 # v2.10.0- name: Login to DockerHub- uses: docker/login-action@v2+ uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0with:username: ${{ secrets.DOCKER_USERNAME }}password: ${{ secrets.DOCKER_PASSWORD }}- id: build- uses: docker/build-push-action@v3+ uses: docker/build-push-action@1104d471370f9806843c095c1db02b5a90c5f8b6 # v3.3.1with:push: truecontext: '{{defaultContext}}'@@ -69,22 +69,22 @@ jobs:outputs:image_digest: ${{ steps.build.outputs.digest }}steps:- - uses: actions/checkout@v3+ - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0- id: meta- uses: docker/metadata-action@v4+ uses: docker/metadata-action@818d4b7b91585d195f67373fd9cb0332e31a7175 # v4.6.0with:images: |supabase/studiotags: |type=raw,value=${{ needs.settings.outputs.image_version }}_${{ env.arch }}- - uses: docker/login-action@v2+ - uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0with:username: ${{ secrets.DOCKER_USERNAME }}password: ${{ secrets.DOCKER_PASSWORD }}- - uses: docker/setup-buildx-action@v2+ - uses: docker/setup-buildx-action@885d1462b80bc1c1c7f0b00334ad271f09369c55 # v2.10.0with:driver: dockerdriver-opts: |@@ -92,7 +92,7 @@ jobs:network=host- id: build- uses: docker/build-push-action@v3+ uses: docker/build-push-action@1104d471370f9806843c095c1db02b5a90c5f8b6 # v3.3.1with:push: truecontext: .@@ -109,9 +109,9 @@ jobs:- release_armruns-on: blacksmith-4vcpu-ubuntu-2404steps:- - uses: docker/setup-buildx-action@v2+ - uses: docker/setup-buildx-action@885d1462b80bc1c1c7f0b00334ad271f09369c55 # v2.10.0- - uses: docker/login-action@v2+ - uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0with:username: ${{ secrets.DOCKER_USERNAME }}password: ${{ secrets.DOCKER_PASSWORD }}diff --git a/.github/workflows/search.yml b/.github/workflows/search.ymlindex cdafa84f2ba..d9153a40b52 100644--- a/.github/workflows/search.yml+++ b/.github/workflows/search.yml@@ -40,7 +40,7 @@ jobs:steps:- name: Check out repo- uses: actions/checkout@v4+ uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0with:sparse-checkout: |apps/docs@@ -49,18 +49,18 @@ jobs:packagessupabase- - uses: pnpm/action-setup@v4+ - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0name: Install pnpmwith:run_install: false- name: Setup node- uses: actions/setup-node@v4+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0with:node-version-file: '.nvmrc'- name: Download dependencies- run: pnpm i+ run: pnpm install --frozen-lockfile- name: Update embeddingsworking-directory: ./apps/docsdiff --git a/.github/workflows/self-host-tests-smoke.yml b/.github/workflows/self-host-tests-smoke.ymlindex 78094b7ad3b..19228e752b5 100644--- a/.github/workflows/self-host-tests-smoke.yml+++ b/.github/workflows/self-host-tests-smoke.yml@@ -19,7 +19,7 @@ jobs:runs-on: blacksmith-4vcpu-ubuntu-2404steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0with:sparse-checkout: |docker/diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.ymlindex b059f217085..1050707fc74 100644--- a/.github/workflows/stale.yml+++ b/.github/workflows/stale.yml@@ -13,7 +13,7 @@ jobs:runs-on: ubuntu-lateststeps:- name: Label Stale Issues- uses: actions/[email protected]+ uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0with:days-before-issue-stale: 30stale-issue-message: 'After 30 days of inactivity, this issue has been marked as stale. Commenting (or other activity) will remove the stale label.'diff --git a/.github/workflows/studio-e2e-test.yml b/.github/workflows/studio-e2e-test.ymlindex 160f43494f5..42eb11cf906 100644--- a/.github/workflows/studio-e2e-test.yml+++ b/.github/workflows/studio-e2e-test.yml@@ -42,25 +42,25 @@ jobs:VERCEL_AUTOMATION_BYPASS_SELFHOSTED_STUDIO: ${{ secrets.VERCEL_AUTOMATION_BYPASS_SELFHOSTED_STUDIO }}steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0- name: Verify Vercel bypass secret existsrun: |if [ -z "${{ secrets.VERCEL_AUTOMATION_BYPASS_SELFHOSTED_STUDIO }}" ]; thenecho "Required secret VERCEL_AUTOMATION_BYPASS_SELFHOSTED_STUDIO is not set" >&2exit 1fi- - uses: pnpm/action-setup@v4+ - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0name: Install pnpmwith:run_install: false- name: Use Node.js- uses: actions/setup-node@v4+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0with:node-version-file: '.nvmrc'cache: 'pnpm'- name: Install dependencies- run: pnpm i+ run: pnpm install --frozen-lockfile# Deploy a preview to Vercel (CLI mode) and capture the URL- name: Install Vercel CLI@@ -94,7 +94,7 @@ jobs:VERCEL_AUTOMATION_BYPASS_SELFHOSTED_STUDIO: ${{ secrets.VERCEL_AUTOMATION_BYPASS_SELFHOSTED_STUDIO }}run: pnpm e2e- - uses: actions/upload-artifact@v4+ - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2if: always()with:name: playwright-artifacts@@ -106,7 +106,7 @@ jobs:- name: Prepare summary (outputs)if: always()id: summarize- uses: actions/github-script@v7+ uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0with:script: |const fs = require('fs')@@ -144,7 +144,7 @@ jobs:- name: Comment summary on PRif: always() && github.event_name == 'pull_request'- uses: actions/github-script@v7+ uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0with:script: |const owner = context.repo.ownerdiff --git a/.github/workflows/studio-unit-tests.yml b/.github/workflows/studio-unit-tests.ymlindex 08ffc95673f..a59c1318668 100644--- a/.github/workflows/studio-unit-tests.yml+++ b/.github/workflows/studio-unit-tests.yml@@ -32,22 +32,22 @@ jobs:test_number: [1]steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0with:sparse-checkout: |apps/studiopackages- - uses: pnpm/action-setup@v4+ - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0name: Install pnpmwith:run_install: false- name: Use Node.js- uses: actions/setup-node@v4+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0with:node-version-file: '.nvmrc'cache: 'pnpm'- name: Install deps- run: pnpm i+ run: pnpm install --frozen-lockfileworking-directory: ./- name: Run Testsenv:@@ -57,7 +57,7 @@ jobs:working-directory: ./apps/studio- name: Upload coverage results to Coveralls- uses: coverallsapp/github-action@master+ uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6with:parallel: trueflag-name: studio-tests@@ -72,7 +72,7 @@ jobs:runs-on: blacksmith-4vcpu-ubuntu-2404steps:- name: Coveralls Finished- uses: coverallsapp/github-action@master+ uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6with:parallel-finished: truegithub-token: ${{ secrets.GITHUB_TOKEN }}diff --git a/.github/workflows/trigger-nimbus-sync.yml b/.github/workflows/trigger-nimbus-sync.ymlindex 603360eb170..8e47cc31e5c 100644--- a/.github/workflows/trigger-nimbus-sync.yml+++ b/.github/workflows/trigger-nimbus-sync.yml@@ -10,7 +10,7 @@ jobs:runs-on: ubuntu-lateststeps:- name: Trigger sync in supabase-nimbus- uses: peter-evans/repository-dispatch@v4+ uses: peter-evans/repository-dispatch@5fc4efd1a4797ddb68ffd0714a238564e4cc0e6f # v4.0.0with:token: ${{ secrets.NIMBUS_SYNC_TOKEN }}repository: supabase/supabase-nimbusdiff --git a/.github/workflows/typecheck.yml b/.github/workflows/typecheck.ymlindex f5215584d86..dc8ea8b9a79 100644--- a/.github/workflows/typecheck.yml+++ b/.github/workflows/typecheck.yml@@ -21,21 +21,21 @@ jobs:steps:- name: Checkout- uses: actions/checkout@v4+ uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0- - uses: pnpm/action-setup@v4+ - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0name: Install pnpmwith:run_install: false- name: Use Node.js- uses: actions/setup-node@v4+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0with:node-version-file: '.nvmrc'cache: 'pnpm'- name: Install deps- run: pnpm i+ run: pnpm install --frozen-lockfile- name: Run TypeScript type checkrun: pnpm exec turbo run typecheckdiff --git a/.github/workflows/ui-patterns-tests.yml b/.github/workflows/ui-patterns-tests.ymlindex e666b815d67..008d33e82bd 100644--- a/.github/workflows/ui-patterns-tests.yml+++ b/.github/workflows/ui-patterns-tests.yml@@ -19,24 +19,24 @@ jobs:runs-on: blacksmith-4vcpu-ubuntu-2404steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0with:sparse-checkout: |packages- - uses: pnpm/action-setup@v4+ - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0name: Install pnpmwith:run_install: false- name: Use Node.js- uses: actions/setup-node@v4+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0with:node-version-file: '.nvmrc'cache: 'pnpm'- name: Install deps- run: pnpm i+ run: pnpm install --frozen-lockfile- name: Run testsrun: pnpm run test:ui-patternsdiff --git a/.github/workflows/ui-tests.yml b/.github/workflows/ui-tests.ymlindex 4a23fd33359..650dad54d68 100644--- a/.github/workflows/ui-tests.yml+++ b/.github/workflows/ui-tests.yml@@ -22,31 +22,31 @@ jobs:test_number: [1]steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0with:sparse-checkout: |packages- - uses: pnpm/action-setup@v4+ - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0name: Install pnpmwith:run_install: false- name: Use Node.js- uses: actions/setup-node@v4+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0with:node-version-file: '.nvmrc'cache: 'pnpm'- name: Install deps- run: pnpm i+ run: pnpm install --frozen-lockfile- name: Run testsrun: pnpm run test:ciworking-directory: ./packages/ui- name: Upload coverage results to Coveralls- uses: coverallsapp/github-action@master+ uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6with:parallel: trueflag-name: ui-tests@@ -60,7 +60,7 @@ jobs:runs-on: blacksmith-4vcpu-ubuntu-2404steps:- name: Coveralls Finished- uses: coverallsapp/github-action@master+ uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6with:parallel-finished: truegithub-token: ${{ secrets.GITHUB_TOKEN }}diff --git a/.github/workflows/update-js-libs.yml b/.github/workflows/update-js-libs.ymlindex 4d8da2a1845..aa41efd4db6 100644--- a/.github/workflows/update-js-libs.yml+++ b/.github/workflows/update-js-libs.yml@@ -22,17 +22,17 @@ jobs:runs-on: blacksmith-4vcpu-ubuntu-2404steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0with:ref: master- - uses: pnpm/action-setup@v4+ - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0name: Install pnpmwith:run_install: false- name: Use Node.js- uses: actions/setup-node@v4+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0with:node-version-file: '.nvmrc'cache: 'pnpm'@@ -41,36 +41,36 @@ jobs:run: |# Update @supabase/supabase-jssed -i "s/'@supabase\/supabase-js': .*/'@supabase\/supabase-js': ${{ github.event.inputs.version }}/" pnpm-workspace.yaml-+# Update @supabase/auth-jssed -i "s/'@supabase\/auth-js': .*/'@supabase\/auth-js': ${{ github.event.inputs.version }}/" pnpm-workspace.yaml-+# Update @supabase/realtime-jssed -i "s/'@supabase\/realtime-js': .*/'@supabase\/realtime-js': ${{ github.event.inputs.version }}/" pnpm-workspace.yaml-+echo "Updated pnpm-workspace.yaml:"cat pnpm-workspace.yaml- name: Install dependencies- run: pnpm i --no-frozen-lockfile+ run: pnpm install --no-frozen-lockfile- name: Create pull request- uses: peter-evans/create-pull-request@v6+ uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0with:token: ${{ secrets.GITHUB_TOKEN }}commit-message: 'feat: update @supabase/*-js libraries to v${{ github.event.inputs.version }}'title: 'feat: update @supabase/*-js libraries to v${{ github.event.inputs.version }}'body: |This PR updates @supabase/*-js libraries to version ${{ github.event.inputs.version }}.-+**Source**: ${{ github.event.inputs.source }}-+**Changes**:- Updated @supabase/supabase-js to ${{ github.event.inputs.version }}- Updated @supabase/auth-js to ${{ github.event.inputs.version }}- Updated @supabase/realtime-js to ${{ github.event.inputs.version }}- Refreshed pnpm-lock.yaml-+This PR was created automatically.branch: 'gha/auto-update-js-libs-v${{ github.event.inputs.version }}'base: 'master'