The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: cleaner action gh tokens (#41196)
Etienne Stalmans346fccec853f
diff --git a/.github/workflows/autofix_linters.yml b/.github/workflows/autofix_linters.ymlindex 860525080d2..2ae0159afa5 100644--- a/.github/workflows/autofix_linters.yml+++ b/.github/workflows/autofix_linters.yml@@ -10,9 +10,6 @@ concurrency:group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}cancel-in-progress: true-permissions:- contents: read-jobs:autofix:runs-on: blacksmith-2vcpu-ubuntu-2404@@ -23,10 +20,18 @@ jobs:- name: Calculate number of commitsrun: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}"+ - name: Generate token+ id: app-token+ uses: actions/create-github-app-token@v2+ with:+ app-id: ${{ secrets.GH_AUTOFIX_APP_ID }}+ private-key: ${{ secrets.GH_AUTOFIX_PRIVATE_KEY }}+ permission-contents: write+- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0with:ref: ${{ github.head_ref }}- token: ${{ secrets.PAT_AUTOFIX }}+ token: ${{ steps.app-token.outputs.token }}fetch-depth: ${{ env.PR_FETCH_DEPTH }}sparse-checkout: |packagesdiff --git a/.github/workflows/fix-typos.yml b/.github/workflows/fix-typos.ymlindex 02c50f7416d..fad2bfb8d40 100644--- a/.github/workflows/fix-typos.yml+++ b/.github/workflows/fix-typos.yml@@ -10,8 +10,7 @@ concurrency:cancel-in-progress: truepermissions:- contents: write- pull-requests: write+ contents: readjobs:build:@@ -21,6 +20,16 @@ jobs:with:ref: master- uses: sobolevn/misspell-fixer-action@06ff0b508d4f4c0ba70d15f9a628232c0aade536 # v0.1.0++ - name: Generate token+ id: app-token+ uses: actions/create-github-app-token@v2+ with:+ app-id: ${{ secrets.GH_AUTOFIX_APP_ID }}+ private-key: ${{ secrets.GH_AUTOFIX_PRIVATE_KEY }}+ permission-contents: write+ permission-pull-requests: write+- uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0with:- token: ${{ secrets.GITHUB_TOKEN }}+ token: ${{ steps.app-token.outputs.token }}