From 7da94b5c6fd2723aa92dc7cd7d80538eb6c1f072 Mon Sep 17 00:00:00 2001
From: Sergey Bronnikov <sergeyb@tarantool.org>
Date: Thu, 17 Aug 2023 16:10:24 +0300
Subject: [PATCH] ci: update paths in a fuzzing workflow

Fuzzing is a heavyweight job, we can reduce a set of paths used for
triggering this job and therefore reduce an overall time of testing in
some cases.

The patch replaces `.github/workflows/**` to
`.github/workflows/fuzzing.yml` because workflows are independent and
changes in other workflows does not affect fuzzing at all and patch adds
Lua files (`**.lua`) to ignores because fuzzing focused on C/C++ code.

NO_CHANGELOG=ci
NO_DOC=ci
NO_TEST=ci

(cherry picked from commit f14cb97d43c5742ef1492df69c1b2e0a331bd655)
---
 .github/workflows/fuzzing.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/fuzzing.yml b/.github/workflows/fuzzing.yml
index ce2152d85e..c474361afa 100644
--- a/.github/workflows/fuzzing.yml
+++ b/.github/workflows/fuzzing.yml
@@ -8,10 +8,12 @@ on:
     tags:
       - '**'
     paths:
-      - '.github/workflows/**'
+      - '.github/workflows/fuzzing.yml'
       - 'src/**'
       - 'test/fuzz/**'
       - 'test/static/corpus/**'
+    paths-ignore:
+      - '**.lua'
   pull_request:
     types: [opened, reopened, synchronize, labeled]
 
-- 
GitLab