From 678661f3a357cbdaa1484ec223f74834cdb1eaf2 Mon Sep 17 00:00:00 2001 From: Robert Resch Date: Tue, 30 Nov 2021 12:56:53 +0100 Subject: [PATCH] adjust branches (#55) --- .github/workflows/ci.yml | 14 ++++++++++---- .github/workflows/codeql-analysis.yml | 6 ++++-- .github/workflows/cron.yaml | 3 ++- 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 00ab5d9..62fd5a0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,16 +6,17 @@ name: CI on: push: branches: - - main + - release + - dev pull_request: ~ env: DEFAULT_PYTHON: 3.9 jobs: - validate: + validate-hacs: runs-on: "ubuntu-latest" - name: Validate + name: Validate with HACS steps: - uses: "actions/checkout@v2" @@ -23,7 +24,12 @@ jobs: uses: "hacs/action@main" with: category: "integration" - ignore: brands + + validate-hassfest: + runs-on: "ubuntu-latest" + name: Validate with Hassfest + steps: + - uses: "actions/checkout@v2" - name: Hassfest validation uses: "home-assistant/actions/hassfest@master" diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index c73209c..5178596 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -14,11 +14,13 @@ name: "CodeQL" on: push: branches: - - main + - dev + - release pull_request: # The branches below must be a subset of the branches above branches: - - main + - dev + - release schedule: - cron: "20 10 * * 0" diff --git a/.github/workflows/cron.yaml b/.github/workflows/cron.yaml index 8eeb9be..97a1a66 100644 --- a/.github/workflows/cron.yaml +++ b/.github/workflows/cron.yaml @@ -10,12 +10,13 @@ jobs: name: Validate steps: - uses: "actions/checkout@v2" + with: + ref: "release" - name: HACS validation uses: "hacs/action@main" with: category: "integration" - ignore: brands - name: Hassfest validation uses: "home-assistant/actions/hassfest@master"