main-06-R-CMD-check-final #41
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: R-CMD-check | |
on: | |
workflow_dispatch: | |
inputs: | |
force_failure: | |
description: 'A backdoor trigger to force the final R CMD Check status to failed.' | |
required: true | |
default: false | |
repository_dispatch: | |
types: [main-06-R-CMD-check-final] | |
jobs: | |
R-CMD-check: | |
runs-on: macOS-latest | |
steps: | |
- name: Convey final status of all R-CMD-check workflows | |
if: ${{ (github.event_name != 'workflow_dispatch' && !github.event.client_payload.success) || (github.event_name == 'workflow_dispatch' && github.event.inputs.force_failure) }} | |
run: exit 1 | |