Skip to content

Merge pull request #453 from dimak1/feat/pr-requirements #2

Merge pull request #453 from dimak1/feat/pr-requirements

Merge pull request #453 from dimak1/feat/pr-requirements #2

name: STRR APPLICATION AUTO APPROVAL JOB CD
on:
push:
branches:
- main
- feature*
- hotfix*
- release*
paths:
- "jobs/auto-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"
- "sandbox"
- "prod"
redeploy:
description: "Redeploy Application"
required: true
type: choice
options:
- "false"
- "true"
jobs:
strr-auto-approval-cd:

Check failure on line 37 in .github/workflows/strr-auto-approval-job-cd.yaml

View workflow run for this annotation

GitHub Actions / STRR APPLICATION AUTO APPROVAL JOB CD

Invalid workflow file

The workflow is not valid. .github/workflows/strr-auto-approval-job-cd.yaml (Line: 37, 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: "strr-auto-approval"
working_directory: "./jobs/auto-approval"
redeploy: ${{ inputs.redeploy }}
secrets:
WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }}
GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }}