Skip to content

20320 Get entity-filer tests running (#2533) #1

20320 Get entity-filer tests running (#2533)

20320 Get entity-filer tests running (#2533) #1

name: Business API CD
on:
push:
branches:
- feature-legal-name
paths:
- "legal-api/**"
workflow_dispatch:
inputs:
target:
description: "Deploy To"
required: true
type: choice
options:
- dev
- test
- sandbox
- prod
jobs:
business-api-cd:

Check failure on line 22 in .github/workflows/business-api-cd.yml

View workflow run for this annotation

GitHub Actions / Business API CD

Invalid workflow file

The workflow is not valid. .github/workflows/business-api-cd.yml (Line: 22, Col: 3): Error calling workflow 'bcgov/bcregistry-sre/.github/workflows/cloud-run-service-cd.yaml@main'. The nested job 'setup' is requesting 'contents: write', but is only allowed 'contents: read'. .github/workflows/business-api-cd.yml (Line: 22, Col: 3): Error calling workflow 'bcgov/bcregistry-sre/.github/workflows/cloud-run-service-cd.yaml@main'. The nested job 'deploy' is requesting 'contents: write, id-token: write', but is only allowed 'contents: read, id-token: none'.
uses: bcgov/bcregistry-sre/.github/workflows/cloud-run-service-cd.yaml@main
with:
target: ${{ inputs.target }}
app_name: "business-api"
working_directory: "./legal-api"
secrets:
WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }}
GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }}