Skip to content

Commit

Permalink
13
Browse files Browse the repository at this point in the history
  • Loading branch information
RasmusSkytte committed Nov 15, 2023
1 parent 2d411c3 commit c496c2e
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/workflow_dispatcher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ on:

R_files_changed:
required: true
type: bool
type: string
test_files_changed:
required: true
type: bool
type: string
man_files_changed:
required: true
type: bool
type: string
vignette_files_changed:
required: true
type: bool
type: string
readme_files_changed:
required: true
type: bool
type: string

schema_creation:
required: false
Expand All @@ -37,35 +37,35 @@ on:
jobs:

lint:
if: ${{ contains(inputs.jobs, 'lint') && (inputs.R_files_changed || inputs.man_files_changed) }}
if: ${{ contains(inputs.jobs, 'lint') && (inputs.R_files_changed = 'true' || inputs.man_files_changed = 'true') }}
uses: ./.github/workflows/lint.yaml

R-CMD-check:
if: ${{ contains(inputs.jobs, 'R-CMD-check') && (inputs.R_files_changed || inputs.test_files_changed || inputs.man_files_changed || inputs.vignette_files_changed) }}
if: ${{ contains(inputs.jobs, 'R-CMD-check') && (inputs.R_files_changed = 'true' || inputs.test_files_changed = 'true' || inputs.man_files_changed = 'true' || inputs.vignette_files_changed = 'true') }}
uses: ./.github/workflows/R-CMD-check.yaml
secrets: inherit

test-coverage:
if: ${{ contains(inputs.jobs, 'test-coverage') && (inputs.R_files_changed || inputs.test_files_changed) }}
if: ${{ contains(inputs.jobs, 'test-coverage') && (inputs.R_files_changed = 'true' || inputs.test_files_changed = 'true') }}
uses: ./.github/workflows/test-coverage.yaml
with:
schema_creation: ${{ inputs.schema_creation }}
secrets: inherit

document:
if: ${{ contains(inputs.jobs, 'document') && inputs.R_files_changed }}
if: ${{ contains(inputs.jobs, 'document') && inputs.R_files_changed = 'true' }}
uses: ./.github/workflows/document.yaml
secrets: inherit

pkgdown:
if: ${{ contains(inputs.jobs, 'pkgdown') && (inputs.R_files_changed || inputs.man_files_changed || inputs.vignette_files_changed) }}
if: ${{ contains(inputs.jobs, 'pkgdown') && (inputs.R_files_changed = 'true' || inputs.man_files_changed = 'true' || inputs.vignette_files_changed = 'true') }}
uses: ./.github/workflows/pkgdown.yaml
with:
event_name: ${{ inputs.event_name }}
run_id: ${{ inputs.run_id }}
secrets: inherit

readme:
if: ${{ contains(inputs.jobs, 'render-readme') && inputs.readme_files_changed}}
if: ${{ contains(inputs.jobs, 'render-readme') && inputs.readme_files_changed = 'true'}}
uses: ./.github/workflows/render-readme.yaml
secrets: inherit

0 comments on commit c496c2e

Please sign in to comment.