From 8c6c58f12f2602e4b70e0ec04582d6dc4f4866d8 Mon Sep 17 00:00:00 2001 From: Ben Lye Date: Sun, 20 Dec 2020 19:08:36 +0000 Subject: [PATCH] Update main.yml Only run CI workflow on push or PR if firmware source code has changed. --- .github/workflows/main.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fe9d2af..cf99978 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,11 +9,15 @@ on: - '**' tags-ignore: - '**' - + paths: + - 'Multiprotocol/**' + # Trigger the workflow on pull requests to the master branch pull_request: branches: - master + paths: + - 'Multiprotocol/**' # Triggers the workflow on release creation release: @@ -21,7 +25,7 @@ on: - created # Allows the workflow to be triggered manually from the Actions tab - workflow_dispatch: + # workflow_dispatch: jobs: build: