From d6effc3dbc164c688112fd2b06957c4486244a6e Mon Sep 17 00:00:00 2001 From: Marco Franke Date: Thu, 5 Oct 2023 14:21:32 +0000 Subject: [PATCH] ci: fixed --- .github/workflows/lint.yml | 6 +++--- .github/workflows/semantic_release.yml | 10 ++++++---- .github/workflows/validate.yml | 10 ++++++---- 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4c02ee9..6329d25 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,14 +2,14 @@ name: "Lint" on: push: - branches: ['dev', 'main'] + branches: ['dev'] paths: ['custom_components/**'] pull_request: - branches: ['dev', 'main'] + branches: ['main'] paths: ['custom_components/**'] jobs: - ruff: + lint: name: "Ruff" runs-on: "ubuntu-latest" steps: diff --git a/.github/workflows/semantic_release.yml b/.github/workflows/semantic_release.yml index c6b5970..7c75174 100644 --- a/.github/workflows/semantic_release.yml +++ b/.github/workflows/semantic_release.yml @@ -1,10 +1,12 @@ name: "Semantic Release" on: - workflow_run: - workflows: [Validate] - types: - - completed + push: + branches: ['dev'] + paths: ['custom_components/**'] + pull_request: + branches: ['main'] + paths: ['custom_components/**'] # push: # branches: ['main', 'dev'] # paths: ['custom_components/**'] diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index b8bf6b7..a3cec1e 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -1,10 +1,12 @@ name: "Validate" on: - workflow_run: - workflows: [Lint] - types: - - completed + push: + branches: ['dev'] + paths: ['custom_components/**'] + pull_request: + branches: ['main'] + paths: ['custom_components/**'] # push: # branches: ['main', 'dev'] # pull_request: ['main', 'dev']