Skip to content

fixes error message for missing PolInceptionDate #1795

fixes error message for missing PolInceptionDate

fixes error message for missing PolInceptionDate #1795

Workflow file for this run

# Workflow to test the MDK command line works by invoking
# 'oasislmf model run' on a piwind branch
#
# The output is not checked, and will fail on either exceptions
# or empty output files
name: PiWind MDK
on:
pull_request:
push:
branches:
- main
- stable**
workflow_dispatch:
inputs:
piwind_branch:
description: 'Branch to run PiWind from'
required: true
default: main
mdk_run_type:
description: 'Loss modes to test, options are one of "[gul, il, ri]"'
required: true
default: ri
ods_branch:
description: 'Build ods_tools package before test [git ref]'
required: false
type: string
jobs:
PiWind:
uses: OasisLMF/OasisPiWind/.github/workflows/run_mdk.yml@main

Check failure on line 33 in .github/workflows/piwind-mdk.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/piwind-mdk.yml

Invalid workflow file

error parsing called workflow ".github/workflows/piwind-mdk.yml" -> "OasisLMF/OasisPiWind/.github/workflows/run_mdk.yml@main" (source branch with sha:5b8b4c48ba1cb8f1db9196b9f0dfac6489d5ad8b) --> "OasisLMF/ODS_Tools/.github/workflows/build.yml@main" (source branch with sha:ffa8b7d97725c5c9f2c36c9d2724c106f4879bee) ---> "OasisLMF/ODS_OpenExposureData/.github/workflows/build.yml@develop" : failed to fetch workflow: reference to workflow should be either a valid branch, tag, or commit
with:
mdk_branch: ${{ github.ref }}
mdk_run_type: ${{ github.event_name != 'workflow_dispatch' && 'ri' || inputs.mdk_run_type }}
piwind_branch: ${{ github.event_name != 'workflow_dispatch' && 'main' || inputs.piwind_branch }}
ods_branch: ${{ github.event_name != 'workflow_dispatch' && 'main' || inputs.ods_branch }}