From c2d541f89c85cfae5a05fc3f353e00b1dace42e4 Mon Sep 17 00:00:00 2001 From: Sergey Bronnikov Date: Fri, 29 Aug 2025 18:44:07 +0300 Subject: [PATCH] ci: update events that cause workflows to run 1. https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#on --- .github/workflows/cflite_pr.yml | 5 ++++- .github/workflows/check.yaml | 6 ++++++ .github/workflows/oss-fuzz.yml | 6 +++--- .github/workflows/test.yaml | 3 +++ 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cflite_pr.yml b/.github/workflows/cflite_pr.yml index 73950b0e..f7bea28b 100644 --- a/.github/workflows/cflite_pr.yml +++ b/.github/workflows/cflite_pr.yml @@ -7,8 +7,11 @@ name: Testing in ClusterFuzzLite (PR) on: + push: + branches: + - 'master' pull_request: - types: [opened, reopened, synchronize, labeled] + types: [opened, reopened, synchronize] paths-ignore: - 'cmake/BuildLua.cmake' - 'README.md' diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index c75b09d0..de544f23 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -2,7 +2,13 @@ name: Static analysis on: push: + branches: + - 'master' pull_request: + types: [opened, reopened, synchronize] + paths: + - '**.lua' + - 'CMakePresets.json' jobs: cmake-presets: diff --git a/.github/workflows/oss-fuzz.yml b/.github/workflows/oss-fuzz.yml index cf43072e..2b89b8aa 100644 --- a/.github/workflows/oss-fuzz.yml +++ b/.github/workflows/oss-fuzz.yml @@ -4,15 +4,15 @@ on: push: branches: - 'master' + pull_request: + types: [opened, reopened, synchronize] paths: - - '.github/workflows/**' + - '.github/workflows/oss-fuzz.yml' # Lua is not supported by OSS Fuzz, # https://github.com/google/oss-fuzz/issues/13782. - 'tests/capi/**' - 'cmake/**' - 'CMakeLists.txt' - pull_request: - types: [opened, reopened, synchronize, labeled] concurrency: # Update of a developer branch cancels the previously scheduled workflow diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 45610257..f07eafb5 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -2,7 +2,10 @@ name: Testing on: push: + branches: + - 'master' pull_request: + types: [opened, reopened, synchronize] concurrency: # Update of a developer branch cancels the previously scheduled workflow