From 7005dc1860754a6b087b6bdadc830e449bd15962 Mon Sep 17 00:00:00 2001 From: 42CrMo4 <44754810+42CrMo4@users.noreply.github.com> Date: Sun, 7 Jul 2024 00:39:36 +0200 Subject: [PATCH] Update generate_output.yml --- .github/workflows/generate_output.yml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate_output.yml b/.github/workflows/generate_output.yml index 3eed852..3526ac2 100644 --- a/.github/workflows/generate_output.yml +++ b/.github/workflows/generate_output.yml @@ -1,8 +1,24 @@ name: CI output design -# only run menualy +# Controls when the action will run. Triggers the workflow on push or pull request +# events that happen on all branches on: - workflow_dispatch: + push: + # branches: [ main ] + paths: + - '*.kicad_sch' + - '*.kicad_pcb' + - '*.kiplot.yaml' + - '.github/workflows/generate_output.yml' + - 'project.properties' + + pull_request: + # branches: [ main ] + paths: + - '*.kicad_sch' + - '*.kicad_pcb' + - '*.kiplot.yaml' + - '.github/workflows/generate_output.yml' # A workflow run is made up of one or more jobs that can run sequentially or in parallel. #jobs: