From b9f5a0745d74db8a0dc7b439821f9b3a19b43b7a Mon Sep 17 00:00:00 2001 From: Riku Isokoski Date: Tue, 5 Jul 2022 09:22:29 +0300 Subject: [PATCH] Don't build the firmware when only docs were modified (#1198) --- .github/workflows/lv_sim.yml | 6 ++++++ .github/workflows/main.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/lv_sim.yml b/.github/workflows/lv_sim.yml index aa71260f..90ba4a76 100644 --- a/.github/workflows/lv_sim.yml +++ b/.github/workflows/lv_sim.yml @@ -5,8 +5,14 @@ name: Build PineTime LVGL Simulator on: push: branches: [ master, develop ] + paths-ignore: + - 'doc/**' + - 'images/**' pull_request: branches: [ master, develop ] + paths-ignore: + - 'doc/**' + - 'images/**' jobs: build: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8d129726..eebd54bd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,8 +8,14 @@ name: Build PineTime Firmware on: push: branches: [ master, develop ] + paths-ignore: + - 'doc/**' + - 'images/**' pull_request: branches: [ master, develop ] + paths-ignore: + - 'doc/**' + - 'images/**' jobs: build: