Skip to content

Commit

Permalink
add ignored_pr_jobs input to checks.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ajschmidt8 committed May 3, 2024
1 parent dfc1a87 commit ede553a
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

jobs:
other-checks:
Expand All @@ -43,7 +52,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 ede553a

Please sign in to comment.