Skip to content

20327 Fix error occurred when testing filer on GCP for registration -… #1

20327 Fix error occurred when testing filer on GCP for registration -…

20327 Fix error occurred when testing filer on GCP for registration -… #1

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

Check failure on line 23 in .github/workflows/business-auth-cd.yml

View workflow run for this annotation

GitHub Actions / Business Auth CD

Invalid workflow file

The workflow is not valid. .github/workflows/business-auth-cd.yml (Line: 23, 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-auth-cd.yml (Line: 23, 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-auth"
working_directory: "./queue_services/entity-auth"
secrets:
WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }}
GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }}