Skip to content

Commit

Permalink
Add ignored_pr_jobs input to checks.yaml (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajschmidt8 authored May 3, 2024
1 parent 8515b58 commit 92b4559
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,30 @@ on:
required: false
type: string
enable_check_size:
description: "Whether to enable the size checker"
default: true
type: boolean
required: false
enable_check_style:
description: "Whether to enable the style checker"
default: true
type: boolean
required: false
enable_check_generated_files:
description: "Whether to enable the generated files checker"
default: true
type: boolean
required: false
enable_check_pr_job_dependencies:
description: "Whether to enable the PR workflow dependency checker"
default: true
type: boolean
required: false
ignored_pr_jobs:
description: "Space separated list of jobs to ignore when checking PR workflow dependencies"
default: ""
type: string
required: false

defaults:
run:
Expand Down Expand Up @@ -51,7 +60,9 @@ jobs:
RAPIDS_BASE_BRANCH: ${{ fromJSON(steps.get-pr-info.outputs.pr-info).base.ref }}
- name: Check workflow file dependencies
if: ${{ inputs.enable_check_pr_job_dependencies }}
run: rapids-check-pr-job-dependencies
run: rapids-check-pr-job-dependencies "${IGNORED_JOBS}"
env:
IGNORED_JOBS: ${{ inputs.ignored_pr_jobs }}
check-style:
if: ${{ inputs.enable_check_style }}
runs-on: ubuntu-latest
Expand Down

0 comments on commit 92b4559

Please sign in to comment.