Unverified Commit a1ca39a9 authored by Ryan McCormick's avatar Ryan McCormick Committed by GitHub
Browse files

ci: Skip gitlab job on docs-only changes, only run rust jobs on rust changes (#2775)


Signed-off-by: default avatarRyan McCormick <rmccormick@nvidia.com>
parent ea7a9236
...@@ -21,15 +21,10 @@ on: ...@@ -21,15 +21,10 @@ on:
branches: branches:
- main - main
# Run this workflow on pull requests targeting main but only if files in runtime/rust change. # Run this workflow on pull requests targeting main but only on rust changes.
pull_request: pull_request:
paths: paths:
- .github/workflows/pre-merge-rust.yml - .github/workflows/pre-merge-rust.yml
- 'lib/runtime/**'
- 'lib/llm/**'
- 'lib/bindings/**'
- 'launch/**'
- 'components/**'
- '**.rs' - '**.rs'
- 'Cargo.toml' - 'Cargo.toml'
- 'Cargo.lock' - 'Cargo.lock'
......
...@@ -18,8 +18,12 @@ name: NVIDIA Test Lab Validation ...@@ -18,8 +18,12 @@ name: NVIDIA Test Lab Validation
on: on:
push: push:
branches: branches:
- main - main
- "pull-request/[0-9]+" - "pull-request/[0-9]+"
# Skip docs only changes
paths-ignore:
- '**.md'
- '**.rst'
jobs: jobs:
mirror_repo: mirror_repo:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment