From 68d74d89c5a238f84324cad506a5e84950c97b8a Mon Sep 17 00:00:00 2001 From: seeul8er <24637325+seeul8er@users.noreply.github.com> Date: Sun, 14 Jul 2024 18:47:50 +0200 Subject: [PATCH] github action to only test the code of the current branch --- .github/workflows/esp_idf.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/esp_idf.yml b/.github/workflows/esp_idf.yml index d9545ab..7224eec 100644 --- a/.github/workflows/esp_idf.yml +++ b/.github/workflows/esp_idf.yml @@ -18,6 +18,7 @@ jobs: - name: Checkout repo uses: actions/checkout@v4 with: + ref: ${{ github.ref }} submodules: 'recursive' - name: ESP-IDF v5.1 build uses: ./.github/actions/esp-idf-with-node @@ -34,6 +35,7 @@ jobs: - name: Checkout repo uses: actions/checkout@v4 with: + ref: ${{ github.ref }} submodules: 'recursive' - name: ESP-IDF v5.2 build uses: ./.github/actions/esp-idf-5_2-with-node