Skip to content

Merge branch 'bcgov:main' into main #4

Merge branch 'bcgov:main' into main

Merge branch 'bcgov:main' into main #4

Workflow file for this run

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

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

View workflow run for this annotation

GitHub Actions / STRR API CD

Invalid workflow file

The workflow is not valid. .github/workflows/strr-api-cd.yaml (Line: 22, 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: "strr-api"
working_directory: "./strr-api"
secrets:
WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }}
GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }}