Skip to content

stg

stg #47

name: build backend for stg
on:
repository_dispatch:
types: [stg]
jobs:
build-and-deploy:

Check failure on line 7 in .github/workflows/build-backend-stg.yml

View workflow run for this annotation

GitHub Actions / build backend for stg

Invalid workflow file

The workflow is not valid. .github/workflows/build-backend-stg.yml (Line: 7, Col: 3): Error calling workflow 'PaperDebugger/paperdebugger/.github/workflows/_build-backend.yml@5d5b595fbefcba8179d40270551a4a13dfb24ec1'. The nested job 'build-backend-and-push' is requesting 'packages: write', but is only allowed 'packages: read'. .github/workflows/build-backend-stg.yml (Line: 7, Col: 3): Error calling workflow 'PaperDebugger/paperdebugger/.github/workflows/_build-backend.yml@5d5b595fbefcba8179d40270551a4a13dfb24ec1'. The nested job 'deploy-backend' is requesting 'contents: write', but is only allowed 'contents: read'.
uses: ./.github/workflows/_build-backend.yml
secrets: inherit
with:
environment: stg
ref: staging
version_tag: ${{ github.event.client_payload.tag }}