Skip to content

Merge pull request #1935 from hfekete/30630 #8

Merge pull request #1935 from hfekete/30630

Merge pull request #1935 from hfekete/30630 #8

Workflow file for this run

name: Namex API CD
on:
push:
branches:
- main
paths:
- "api/**"
workflow_dispatch:
inputs:
target:
description: "Deploy To"
required: true
type: choice
options:
- dev
- test
- sandbox
- prod
redeploy:
description: "Redeploy Application"
required: true
type: choice
options:
- "false"
- "true"
jobs:
namex-api-cd:

Check failure on line 28 in .github/workflows/namex-api-cd.yml

View workflow run for this annotation

GitHub Actions / Namex API CD

Invalid workflow file

The workflow is not valid. .github/workflows/namex-api-cd.yml (Line: 28, Col: 3): Error calling workflow 'bcgov/bcregistry-sre/.github/workflows/backend-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/backend-cd.yaml@main
with:
target: ${{ inputs.target }}
app_name: "namex-api"
working_directory: "./api"
redeploy: ${{ inputs.redeploy }}
secrets:
WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }}
GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }}