From 2862c505a2637f3837eabdbb9b25df01d64dd9f1 Mon Sep 17 00:00:00 2001 From: demik Date: Mon, 3 Mar 2025 13:22:18 +0100 Subject: [PATCH] only start github actions when push to master/main --- .github/workflows/idf.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/idf.yml b/.github/workflows/idf.yml index 7e1c5c0..3a2860a 100644 --- a/.github/workflows/idf.yml +++ b/.github/workflows/idf.yml @@ -1,3 +1,10 @@ +on: + push: + branches: + - 'master' + paths: + - 'main/**' + jobs: build: runs-on: ubuntu-latest @@ -7,7 +14,7 @@ jobs: uses: actions/checkout@v4 with: submodules: 'recursive' - - name: esp-idf build + - name: ESP-IDF build uses: espressif/esp-idf-ci-action@v1 with: esp_idf_version: v5.4