Spring cleaning ☀️ (#23)
* Spring cleaning * Actions * Fix branches * Changes for config_flow
This commit is contained in:
23
.github/settings.yml
vendored
23
.github/settings.yml
vendored
@@ -1,23 +0,0 @@
|
||||
repository:
|
||||
private: false
|
||||
has_issues: true
|
||||
has_projects: false
|
||||
has_wiki: false
|
||||
has_downloads: false
|
||||
default_branch: master
|
||||
allow_squash_merge: true
|
||||
allow_merge_commit: false
|
||||
allow_rebase_merge: false
|
||||
labels:
|
||||
- name: "Feature Request"
|
||||
color: "fbca04"
|
||||
- name: "Bug"
|
||||
color: "b60205"
|
||||
- name: "Wont Fix"
|
||||
color: "ffffff"
|
||||
- name: "Enhancement"
|
||||
color: a2eeef
|
||||
- name: "Documentation"
|
||||
color: "008672"
|
||||
- name: "Stale"
|
||||
color: "930191"
|
||||
@@ -1,14 +1,13 @@
|
||||
name: Validate with hassfest
|
||||
name: Cron actions
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
jobs:
|
||||
validate:
|
||||
hassfest:
|
||||
runs-on: "ubuntu-latest"
|
||||
name: Validate with hassfest
|
||||
steps:
|
||||
- uses: "actions/checkout@v2"
|
||||
- uses: home-assistant/actions/hassfest@master
|
||||
- uses: "home-assistant/actions/hassfest@master"
|
||||
23
.github/workflows/pull.yml
vendored
Normal file
23
.github/workflows/pull.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
name: Pull actions
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
hassfest:
|
||||
runs-on: "ubuntu-latest"
|
||||
name: Validate with hassfest
|
||||
steps:
|
||||
- uses: "actions/checkout@v2"
|
||||
- uses: "home-assistant/actions/hassfest@master"
|
||||
|
||||
style:
|
||||
runs-on: "ubuntu-latest"
|
||||
name: Check style formatting
|
||||
steps:
|
||||
- uses: "actions/checkout@v2"
|
||||
- uses: "actions/setup-python@v1"
|
||||
with:
|
||||
python-version: "3.x"
|
||||
- run: python3 -m pip install black
|
||||
- run: black .
|
||||
26
.github/workflows/push.yml
vendored
Normal file
26
.github/workflows/push.yml
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
name: Push actions
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- dev
|
||||
|
||||
jobs:
|
||||
hassfest:
|
||||
runs-on: "ubuntu-latest"
|
||||
name: Validate with hassfest
|
||||
steps:
|
||||
- uses: "actions/checkout@v2"
|
||||
- uses: "home-assistant/actions/hassfest@master"
|
||||
|
||||
style:
|
||||
runs-on: "ubuntu-latest"
|
||||
name: Check style formatting
|
||||
steps:
|
||||
- uses: "actions/checkout@v2"
|
||||
- uses: "actions/setup-python@v1"
|
||||
with:
|
||||
python-version: "3.x"
|
||||
- run: python3 -m pip install black
|
||||
- run: black .
|
||||
Reference in New Issue
Block a user