Skip to content

Merge pull request #141 from pwei1018/main #3

Merge pull request #141 from pwei1018/main

Merge pull request #141 from pwei1018/main #3

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

Check failure on line 21 in .github/workflows/notify-api-cd-ocp.yaml

View workflow run for this annotation

GitHub Actions / Notify API CD OCP

Invalid workflow file

The workflow is not valid. .github/workflows/notify-api-cd-ocp.yaml (Line: 21, Col: 3): Error calling workflow 'bcgov/bcregistry-sre/.github/workflows/backend-cd-ocp.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-ocp.yaml@main
with:
target: ${{ inputs.target }}
app_name: "notify-api"
working_directory: "./notify-api"
secrets:
OP_CONNECT_URL: ${{ secrets.OP_CONNECT_URL }}
OP_CONNECT_TOKEN: ${{ secrets.OP_CONNECT_TOKEN }}
OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT_DOCKER_REGISTRY }}
OPENSHIFT_LOGIN_REGISTRY: ${{secrets.OPENSHIFT_LOGIN_REGISTRY}}
OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT_SA_NAME }}
OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT_SA_TOKEN }}
OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT_REPOSITORY }}