[Submission] The Spinster in Society #330
Workflow file for this run
This file contains hidden or 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: "Validate Submissions" | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| ref: | |
| description: "The branch or commit to validate artifacts from" | |
| required: true | |
| type: string | |
| base_ref: | |
| description: "The base ref to determine which artifacts to validate" | |
| required: true | |
| default: "HEAD~1" | |
| type: string | |
| pull_request: | |
| paths: ["submissions/*.json"] | |
| jobs: | |
| validate: | |
| name: "Validate Submissions" | |
| uses: ./.github/workflows/submit.yaml | |
| with: | |
| mode: "validate" | |
| ref: ${{ github.event.inputs.ref || github.ref }} | |
| # We default to HEAD~1 for pull_request events. | |
| base_ref: ${{ github.event.inputs.base_ref || 'HEAD~1' }} | |
| secrets: inherit |