Skip to content

Commit

Permalink
Adds HACS validation action (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored Apr 23, 2020
1 parent a727e06 commit 97dd68d
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 9 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,17 @@ on:
- cron: '0 0 * * *'

jobs:
hassfest:
validate:
runs-on: "ubuntu-latest"
name: Validate with hassfest
name: Validate
steps:
- uses: "actions/checkout@v2"
- uses: "home-assistant/actions/hassfest@master"

- name: HACS validation
uses: "hacs/integration/action@master"
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CATEGORY: "integration"

- name: Hassfest validation
uses: "home-assistant/actions/hassfest@master"
14 changes: 11 additions & 3 deletions .github/workflows/pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,20 @@ on:
pull_request:

jobs:
hassfest:
validate:
runs-on: "ubuntu-latest"
name: Validate with hassfest
name: Validate
steps:
- uses: "actions/checkout@v2"
- uses: "home-assistant/actions/hassfest@master"

- name: HACS validation
uses: "hacs/integration/action@master"
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CATEGORY: "integration"

- name: Hassfest validation
uses: "home-assistant/actions/hassfest@master"

style:
runs-on: "ubuntu-latest"
Expand Down
14 changes: 11 additions & 3 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,20 @@ on:
- dev

jobs:
hassfest:
validate:
runs-on: "ubuntu-latest"
name: Validate with hassfest
name: Validate
steps:
- uses: "actions/checkout@v2"
- uses: "home-assistant/actions/hassfest@master"

- name: HACS validation
uses: "hacs/integration/action@master"
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CATEGORY: "integration"

- name: Hassfest validation
uses: "home-assistant/actions/hassfest@master"

style:
runs-on: "ubuntu-latest"
Expand Down

0 comments on commit 97dd68d

Please sign in to comment.