From 0dff27498f704b9eab8527f03c769efb7e7f051c Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Mon, 1 Jun 2026 07:20:19 +0200 Subject: [PATCH] ci : fix path to whisper.h in examples.yml [no ci] (#3842) This commit updates the include path to whisper.h and also ensures that this is only built on pushes to master. --- .github/workflows/build.yml | 5 +++-- .github/workflows/examples.yml | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 878c5833e..b7badd510 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,8 +29,9 @@ on: pull_request: types: [opened, synchronize, reopened] paths-ignore: - - 'bindings/ruby/**' # handled by bindings-ruby.yml - - 'bindings/go/**' # handled by bindings-go.yml + - 'bindings/ruby/**' # handled by bindings-ruby.yml + - 'bindings/go/**' # handled by bindings-go.yml + - 'examples/addon.node/**' # handled by examples.yml workflow_dispatch: inputs: create_release: diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 1c9ade5a3..df3aa832c 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -1,13 +1,15 @@ name: Examples Tests on: push: + branches: + - master paths: - examples/addon.node/** - - whisper.h + - include/whisper.h pull_request: paths: - examples/addon.node/** - - whisper.h + - include/whisper.h jobs: addon_node-ubuntu-22: