Generate Initial Checksums #2
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: Generate Initial Checksums | |
on: | |
workflow_dispatch: | |
inputs: | |
config-branch-name: | |
type: string | |
required: true | |
description: The configuration branch that will be run that will generate the checksums. | |
commit-checksums: | |
type: boolean | |
required: true | |
description: Whether to commit the checksums to the target branch once generated. | |
committed-checksum-location: | |
type: string | |
required: false | |
default: ./testing/checksums | |
description: "If `commit-checksums`: Where in the repository the generated checksums should be committed to." | |
committed-checksum-tag: | |
type: string | |
required: false | |
description: "If `commit-checksums`: An optional tag to attach to the committed checksums" | |
jobs: | |
generate-checksums: | |
name: Generate Checksums | |
uses: access-nri/reproducibility/.github/workflows/generate-initial-checksums.yml@main | |
with: | |
model-name: access-om2 | |
config-branch-name: ${{ inputs.config-branch-name }} | |
commit-checksums: ${{ inputs.commit-checksums }} | |
committed-checksum-location: ${{ inputs.committed-checksum-location }} | |
committed-checksum-tag: "${{ inputs.config-branch-name }}-1.0" | |
environment-name: "Gadi Initial Checksum" | |
permissions: | |
contents: write | |
secrets: inherit |