From d31cde7738e62d22e009e938b34f08281a1732f4 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Mon, 15 Jul 2024 12:56:14 -0400 Subject: [PATCH] ci: Run lint job if pipeline configs change The pipeline validation script runs as part of the lint workflow. Update the workflow to config if the files under `src/instructlab/sdg/pipelines/` change. Otherwise, a PR that only changes a yaml file in this directory won't run this workflow. Signed-off-by: Russell Bryant --- .github/workflows/lint.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 80ff4f12..3934cebe 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,6 +14,7 @@ on: - 'tox.ini' - 'scripts/*.sh' - '.github/**' + - 'src/instructlab/sdg/pipelines/**' pull_request: branches: - "main" @@ -25,6 +26,7 @@ on: - 'tox.ini' - 'scripts/*.sh' - '.github/**' + - 'src/instructlab/sdg/pipelines/**' env: PYTHON_VERSION: 3.11