Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GitHub actions #18

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/hacs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: HACS Action

on:
push:
pull_request:
schedule:
- cron: "0 0 * * *"

jobs:
hacs:
name: HACS Action
runs-on: "ubuntu-latest"
steps:
- name: HACS Action
uses: "hacs/action@main"
with:
category: "integration"
14 changes: 14 additions & 0 deletions .github/workflows/hassfest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Validate with hassfest

on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'

jobs:
validate:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- uses: "home-assistant/actions/hassfest@master"
8 changes: 4 additions & 4 deletions custom_components/openwrt/manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"domain": "openwrt",
"name": "OpenWrt",
"codeowners": ["@kvj"],
"config_flow": true,
"dependencies": [],
"documentation": "https://github.com/kvj/hass_openwrt",
"iot_class": "local_polling",
"issue_tracker": "https://github.com/kvj/hass_openwrt/issues",
"dependencies": [],
"codeowners": ["@kvj"],
"requirements": [],
"iot_class": "local_polling",
"config_flow": true,
"version": "0.0.2"
}

1 change: 0 additions & 1 deletion hacs.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "OpenWrt",
"domains": ["sensor"],
"render_readme": true
}