Skip to content

Update cd.yml

Update cd.yml #96

Workflow file for this run

name: Business Filings UI CD
on:
push:
branches:
- main
- feature*
- hotfix*
workflow_dispatch:
inputs:
target:
description: "Deploy To"
required: true
type: choice
options:
- dev
- test
- sandbox
- prod
jobs:
business-filings-ui-cd:

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

View workflow run for this annotation

GitHub Actions / Business Filings UI CD

Invalid workflow file

The workflow is not valid. .github/workflows/cd.yml (Line: 22, Col: 3): Error calling workflow 'bcgov/bcregistry-sre/.github/workflows/frontend-cd.yaml@main'. The nested job 'setup' is requesting 'contents: write', but is only allowed 'contents: read'. .github/workflows/cd.yml (Line: 22, Col: 3): Error calling workflow 'bcgov/bcregistry-sre/.github/workflows/frontend-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/frontend-cd.yaml@main
with:
target: ${{ inputs.target }}
app_name: "business-filings-ui"
secrets:
WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }}
GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }}