Detect existing lock codes during setup and options updates #636
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: Integration | |
| # GHA requires bare `on:` which yamllint sees as boolean | |
| # yamllint disable-line rule:truthy | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| concurrency: | |
| group: integration-${{ github.head_ref || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| check-changes: | |
| name: Check Changes | |
| runs-on: ubuntu-latest | |
| outputs: | |
| python: ${{ steps.filter.outputs.python }} | |
| frontend: ${{ steps.filter.outputs.frontend }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dorny/paths-filter@v4 | |
| id: filter | |
| with: | |
| filters: | | |
| python: | |
| - '**.py' | |
| - 'requirements*.txt' | |
| - 'pyproject.toml' | |
| - '.github/workflows/integration.yaml' | |
| - '.github/workflows/python-checks.yml' | |
| frontend: | |
| - '**.js' | |
| - '**.ts' | |
| - 'ts/**' | |
| - '.eslintrc.cjs' | |
| - 'package.json' | |
| - 'rollup.config.js' | |
| - 'tsconfig.json' | |
| - 'vitest.config.ts' | |
| - '.github/workflows/integration.yaml' | |
| - '.github/workflows/frontend-checks.yml' | |
| python: | |
| name: Python | |
| needs: check-changes | |
| if: needs.check-changes.outputs.python == 'true' | |
| uses: ./.github/workflows/python-checks.yml | |
| secrets: inherit | |
| hacs: | |
| name: HACS | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: HACS Action | |
| uses: hacs/action@main | |
| with: | |
| category: integration | |
| hassfest: | |
| name: Hassfest | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: home-assistant/actions/hassfest@master | |
| frontend: | |
| name: Frontend | |
| needs: check-changes | |
| if: needs.check-changes.outputs.frontend == 'true' | |
| uses: ./.github/workflows/frontend-checks.yml | |
| secrets: inherit |