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"