-
Notifications
You must be signed in to change notification settings - Fork 3
42 lines (35 loc) · 898 Bytes
/
validate.yaml
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: "Validate"
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
validate-hassfest:
name: With hassfest
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: "Update manifest.json"
run: |
python3 ${{ github.workspace }}/manage/update_manifest.py
- name: Hassfest validation
uses: home-assistant/actions/hassfest@master
validate-hacs:
name: With HACS action
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: "Update manifest.json"
run: |
python3 ${{ github.workspace }}/manage/update_manifest.py
- name: HACS Validation
uses: hacs/action@main
with:
ignore: brands
category: integration
comment: True