Skip to content

indent (#673)

indent (#673) #2

name: PROVISIONAL APPROVAL JOB CD
on:
push:
branches:
- main
- feature*
- hotfix*
- release*
paths:
- "jobs/provisional-approval/**"
- "src/strr_api/models/**"
- "src/strr_api/services/**"
- "src/strr_api/enums/**"
- "src/strr_api/exceptions/**"
- "src/strr_api/utils/**"
workflow_dispatch:
inputs:
target:
description: "Deploy To"
required: true
type: choice
options:
- "dev"
- "test"
- "uat"
- "sandbox"
- "prod"
redeploy:
description: "Redeploy Application"
required: true
type: choice
options:
- "false"
- "true"
jobs:
provisional-approval-job-cd:

Check failure on line 38 in .github/workflows/strr-provisional-approval-job-cd.yaml

View workflow run for this annotation

GitHub Actions / PROVISIONAL APPROVAL JOB CD

Invalid workflow file

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