repro-ci.yml: Modified into a reusable workflow, added stub steps #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Scheduled Checks - Branch Specific | ||
on: | ||
workflow_call: | ||
inputs: | ||
config-branch: | ||
type: string | ||
required: true | ||
description: A config branch to use for the reproducibility run | ||
jobs: | ||
repro-ci: | ||
uses: ./.github/workflows/repro-ci.yml@main | ||
with: | ||
model-name: access-om2 | ||
config-branch: ${{ inputs.config-branch }} | ||
successful-repro: | ||
name: Successful Reproduction | ||
needs: | ||
- repro-ci | ||
if: needs.repro.outputs.result == 'true' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
failed-repro: | ||
name: Failed Reproduction | ||
needs: | ||
- repro-ci | ||
if: needs.repro.outputs.result == 'false' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 |