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 Pay CD
on:
push:
branches:
- feature-legal-name
paths:
- "queue_services/entity-pay/**"
- "queue_services/common/**"
workflow_dispatch:
inputs:
target:
description: "Deploy To"
required: true
type: choice
options:
- dev
- test
- sandbox
- prod
jobs:
business-pay-cd:

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

View workflow run for this annotation

GitHub Actions / Business Pay CD

Invalid workflow file

The workflow is not valid. .github/workflows/business-pay-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-pay-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-pay"
working_directory: "./queue_services/entity-pay"
secrets:
WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }}
GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }}