diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 87f3776..28a8e71 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,9 +2,7 @@ name: "Lint" on: workflow_call: - push: - branches: ['dev'] - paths: ['custom_components/**'] + pull_request: branches: ['main'] paths: ['custom_components/**'] diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index e2c98a3..11f3bdd 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -2,9 +2,6 @@ name: "Validate" on: workflow_call: - push: - branches: ['dev'] - paths: ['custom_components/**'] pull_request: branches: ['main'] paths: ['custom_components/**']