chore: add token permissions #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Mirror PostgREST | ||
on: | ||
push: | ||
branches: | ||
- develop | ||
- rest-ci | ||
paths: | ||
- ".github/workflows/mirror-postgrest.yml" | ||
- "common.vars*" | ||
jobs: | ||
version: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
postgrest_release: ${{ steps.args.outputs.result }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- id: args | ||
uses: mikefarah/yq@master | ||
with: | ||
cmd: yq '.postgrest_release' 'ansible/vars.yml' | ||
mirror: | ||
Check failure on line 24 in .github/workflows/mirror-postgrest.yml GitHub Actions / Mirror PostgRESTInvalid workflow file
|
||
needs: | ||
- version | ||
permissions: | ||
packages: write | ||
uses: supabase/cli/.github/workflows/mirror-image.yml@main | ||
with: | ||
image: postgrest/postgrest:v${{ needs.version.outputs.postgrest_release }} | ||
secrets: inherit |