Skip to content

automatic upload by server #195

automatic upload by server

automatic upload by server #195

---
name: Home Assistant CI
# yamllint disable-line rule:truthy
on:
push:
pull_request:
branches: [master, main]
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
#yamllint:
# name: 🧹 yamllint
# runs-on: ubuntu-latest
# steps:
# - name: ⤵️ Check out configuration from GitHub
# uses: actions/[email protected]
# - name: 🚀 Run yamllint
# uses: frenck/[email protected]
# continue-on-error: true
#remarklint:
# runs-on: ubuntu-18.04
# steps:
# - name: ⤵️ Check out configuration from GitHub
# uses: actions/[email protected]
# - name: Running Remark lint
# uses: "docker://pipelinecomponents/remark-lint:latest"
# continue-on-error: true
# with:
# args: "remark --no-stdout --color --frail --use preset-lint-recommended ."
home-assistant:
name: "Home Assistant Core ${{ matrix.version }} Configuration Check"
#needs: [yamllint]
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out configuration from GitHub
uses: actions/[email protected]
- name: Rename Dummy files and remove custom component stuff for config check
run: |
mv -f dummy_files/custom_components_dummy.yaml custom_components.yaml
mv -f dummy_files/Homeassistant-SmartLife-Dummy.json Homeassistant_google_assistant.json
rm -r -f switch/switch_custom_components.yaml
rm -r -f sensor/sensor_custom_components.yaml
rm -r -f light/light_custom_components.yaml
rm -r -f notify/notify_custom_components.yaml
rm -r -f device_tracker/device_tracker_custom_components.yaml
sed -n '/## Custom Components/q;p' < configuration.yaml > configuration.yaml
- name: 🚀 Run Home Assistant Configuration Check
uses: frenck/[email protected]
with:
path: "."
secrets: ./secrets.fake.yaml
version: "beta"