Skip to content

Merge pull request #141 from pwei1018/main #3

Merge pull request #141 from pwei1018/main

Merge pull request #141 from pwei1018/main #3

name: Notify API CD GCP
on:
push:
branches:
- main
paths:
- "notify-api/**"
workflow_dispatch:
inputs:
target:
description: "Deploy To"
required: true
type: choice
options:
- dev
- test
- sandbox
- prod
jobs:
notify-api-cd:

Check failure on line 22 in .github/workflows/notify-api-cd-gcp.yaml

View workflow run for this annotation

GitHub Actions / Notify API CD GCP

Invalid workflow file

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