Skip to content

Commit 24b8bfc

Browse files
committed
Add HACS github validation actions
1 parent 857f11d commit 24b8bfc

File tree

3 files changed

+28
-7
lines changed

3 files changed

+28
-7
lines changed

.github/workflows/validate.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Validate
2+
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
- cron: "0 0 * * *"
8+
workflow_dispatch:
9+
10+
jobs:
11+
validate-hacs:
12+
runs-on: "ubuntu-latest"
13+
steps:
14+
- uses: "actions/checkout@v3"
15+
- name: HACS validation
16+
uses: "hacs/action@main"
17+
with:
18+
category: "integration"
19+
20+
validate-hassfest:
21+
runs-on: "ubuntu-latest"
22+
steps:
23+
- uses: "actions/checkout@v4"
24+
- uses: "home-assistant/actions/hassfest@master"
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{
22
"domain": "magiqtouch",
33
"name": "Seeley MagIQtouch",
4+
"codeowners": ["@andrewleech"],
45
"config_flow": true,
6+
"dependencies": [],
57
"documentation": "https://gitlab.com/alelec/ha_magiqtouch",
8+
"iot_class": "cloud_polling",
69
"issue_tracker": "https://gitlab.com/alelec/ha_magiqtouch/-/issues",
7-
"dependencies": [],
8-
"version": "3.0"
10+
"version": "2.0"
911
}

hacs.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
{
22
"name": "MagiQtouch",
33
"hacs": "1.6.0",
4-
"domains": [
5-
"binary_sensor",
6-
"sensor",
7-
"switch"
8-
],
94
"render_readme": true,
105
"homeassistant": "0.118.0"
116
}

0 commit comments

Comments
 (0)