From 4da0679d4e40b6e9aee121a2498abd227b493010 Mon Sep 17 00:00:00 2001 From: user Date: Thu, 5 Feb 2026 23:00:10 +0100 Subject: [PATCH] ci: Skip build job on tag pushes (deploy rebuilds) --- .gitea/workflows/lint.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/lint.yml b/.gitea/workflows/lint.yml index b254ea1..60690dc 100644 --- a/.gitea/workflows/lint.yml +++ b/.gitea/workflows/lint.yml @@ -21,6 +21,7 @@ jobs: build: name: Build Firmware needs: [cppcheck, flawfinder, gitleaks] + if: ${{ !startsWith(github.ref, 'refs/tags/') }} runs-on: anvil container: image: docker.io/espressif/idf:v5.3 @@ -87,7 +88,7 @@ jobs: deploy: name: Deploy to ESP Fleet runs-on: anvil - needs: build + needs: [cppcheck, flawfinder, gitleaks] if: github.event_name == 'workflow_dispatch' && github.event.inputs.deploy == 'true' || startsWith(github.ref, 'refs/tags/v') container: image: docker.io/espressif/idf:v5.3