Switch CI to branches-ignore #36
Workflow file for this run
This file contains 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: CI | |
on: | |
pull_request: | |
push: | |
branches-ignore: | |
- 'main' | |
- 'dependabot/**' | |
- 'gh-pages' | |
workflow_dispatch: | |
jobs: | |
ci: | |
name: Building ${{ matrix.file }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
file: | |
- bed-presence-mk1.factory.yaml | |
steps: | |
- name: Checkout source code | |
uses: actions/[email protected] | |
- name: Build ESPHome firmware to verify configuration | |
uses: esphome/[email protected] | |
id: esphome-build | |
with: | |
yaml-file: ${{ matrix.file }} | |
- uses: actions/[email protected] | |
with: | |
name: ${{ matrix.file }} | |
path: ${{ steps.esphome-build.outputs.name }} |