-
-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (24 loc) · 667 Bytes
/
validate.yml
File metadata and controls
27 lines (24 loc) · 667 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Validate (hassfest & HACS)
on:
push:
branches: [ main, dev ]
pull_request:
jobs:
hassfest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v40
with:
files_ignore: |
README.md
.gitignore
.pre-commit-config.yaml
files: custom_components/bakalari/**
- name: Run hassfest if files changed
if: steps.changed-files.outputs.any_changed == 'true'
uses: home-assistant/actions/hassfest@master
with:
path: custom_components/bakalari