From b2b8db525ccdb63edc618b1950b9511030124e76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliv=C3=A9r=20Falvai?= Date: Tue, 12 Oct 2021 10:40:01 -0700 Subject: [PATCH] Fix CI workflow triggers (#23) * Fix CI workflow triggers * Fix CI workflow triggers * Limit push trigger to main branch --- .github/workflows/test.yml | 8 +++++++- .github/workflows/validate_hacs.yml | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b4aabb2..5ba79e9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,12 @@ name: Run tests -on: [push] +on: + pull_request: + branches: + - main + push: + branches: + - main jobs: test: diff --git a/.github/workflows/validate_hacs.yml b/.github/workflows/validate_hacs.yml index 59afc6e..81c78b4 100644 --- a/.github/workflows/validate_hacs.yml +++ b/.github/workflows/validate_hacs.yml @@ -2,6 +2,8 @@ name: Validate HACS on: pull_request: + branches: + - main jobs: validate: