From 20922328aaaf6534cae2899e6719d2f66aa13683 Mon Sep 17 00:00:00 2001 From: timniklas Date: Sat, 19 Oct 2024 23:29:02 +0200 Subject: [PATCH] only run github actions on main branch --- .github/workflows/action.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/action.yaml b/.github/workflows/action.yaml index ea6cf6f..f067569 100644 --- a/.github/workflows/action.yaml +++ b/.github/workflows/action.yaml @@ -10,6 +10,7 @@ jobs: hacs: name: HACS Action runs-on: "ubuntu-latest" + if: github.ref == 'refs/heads/main' steps: - name: HACS Action uses: "hacs/action@main"