From 713465257075dcd179f34bf870f725a8c1ddf0ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=ADas=20Israelson?= <57065102+israpps@users.noreply.github.com> Date: Wed, 17 Apr 2024 09:56:23 -0300 Subject: [PATCH] [tools] only run CI if PR changed tools dir Finishes my incomplete PR #584 I forgot you guys always add the pull request trigger. Wich causes double execution of CI on pull request when paired with `push` --- .github/workflows/tools.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/tools.yml b/.github/workflows/tools.yml index 0fddda49ec3..2f3ca8eaf53 100644 --- a/.github/workflows/tools.yml +++ b/.github/workflows/tools.yml @@ -6,6 +6,9 @@ on: - 'tools/**' - '.github/workflows/tools.yml' pull_request: + paths: + - 'tools/**' + - '.github/workflows/tools.yml' repository_dispatch: types: [run_build] workflow_dispatch: {}