Skip to content

23152 - partial refunds fixes / updates (#3116) #16

23152 - partial refunds fixes / updates (#3116)

23152 - partial refunds fixes / updates (#3116) #16

name: Account Mailer CD
on:
push:
branches:
- main
- feature*
- hotfix*
paths:
- "queue_services/account-mailer/**"
- "auth-api/src/auth_api/models/**"
- "auth-api/src/auth_api/services/gcp_queue/*"
- "auth-api/src/auth_api/utils/account_mailer.py"
- "auth-api/src/auth_api/utils/enums.py"
workflow_dispatch:
inputs:
target:
description: "Deploy To"
required: true
type: choice
options:
- dev
- test
- sandbox
- prod
jobs:
account-mailer-cd:

Check failure on line 27 in .github/workflows/account-mailer-cd.yml

View workflow run for this annotation

GitHub Actions / Account Mailer CD

Invalid workflow file

The workflow is not valid. .github/workflows/account-mailer-cd.yml (Line: 27, Col: 3): Error calling workflow 'bcgov/bcregistry-sre/.github/workflows/backend-cd.yaml@main'. The nested job 'setup' is requesting 'contents: write', but is only allowed 'contents: read'. .github/workflows/account-mailer-cd.yml (Line: 27, Col: 3): Error calling workflow 'bcgov/bcregistry-sre/.github/workflows/backend-cd.yaml@main'. The nested job 'deploy' is requesting 'contents: write, id-token: write', but is only allowed 'contents: read, id-token: none'.
uses: bcgov/bcregistry-sre/.github/workflows/backend-cd.yaml@main
with:
target: ${{ inputs.target }}
app_name: "account-mailer"
working_directory: "./queue_services/account-mailer"
secrets:
WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }}
GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }}