From f58d1ba4ca0ec51bd101793713e33d6a0315b697 Mon Sep 17 00:00:00 2001 From: Manan Gupta Date: Tue, 27 Aug 2024 16:25:21 +0530 Subject: [PATCH] feat: we should run the static checks workflow if the file changes Signed-off-by: Manan Gupta --- .github/workflows/static_checks_etc.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/static_checks_etc.yml b/.github/workflows/static_checks_etc.yml index 4ac95f25e90..e7c6e265e35 100644 --- a/.github/workflows/static_checks_etc.yml +++ b/.github/workflows/static_checks_etc.yml @@ -52,6 +52,7 @@ jobs: - '*.go' - 'go.sum' - 'go.mod' + - '.github/workflows/static_checks_etc.yml' parser_changes: - 'go/vt/sqlparser/**' - 'go.sum' @@ -118,6 +119,7 @@ jobs: - '.github/**' - 'Makefile' - 'test/ci_workflow_gen.go' + - '.github/workflows/static_checks_etc.yml' - name: Set up Go if: steps.skip-workflow.outputs.skip-workflow == 'false' && (steps.changes.outputs.go_files == 'true' || steps.changes.outputs.parser_changes == 'true' || steps.changes.outputs.proto_changes == 'true')