Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ignored_pr_jobs input to checks.yaml #208

Merged
merged 1 commit into from
May 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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