From f178e6b7c6af9db9dd9a14e23f05b8751bcbc319 Mon Sep 17 00:00:00 2001 From: rany Date: Wed, 12 Jun 2024 00:54:30 +0300 Subject: [PATCH] Add hassfest validation This is required to prepare for inclusion in the HACS default repo. Signed-off-by: rany --- .../{validate.yml => validation_hacs.yaml} | 4 ++-- .github/workflows/validation_hassfest.yaml | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) rename .github/workflows/{validate.yml => validation_hacs.yaml} (81%) create mode 100644 .github/workflows/validation_hassfest.yaml diff --git a/.github/workflows/validate.yml b/.github/workflows/validation_hacs.yaml similarity index 81% rename from .github/workflows/validate.yml rename to .github/workflows/validation_hacs.yaml index fc1b5f9..d5c8c55 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validation_hacs.yaml @@ -1,4 +1,4 @@ -name: Validate +name: HACS Action on: push: @@ -10,7 +10,7 @@ jobs: validate: runs-on: "ubuntu-latest" steps: - - uses: "actions/checkout@v2" + - uses: "actions/checkout@v4" - name: HACS validation uses: "hacs/action@main" with: diff --git a/.github/workflows/validation_hassfest.yaml b/.github/workflows/validation_hassfest.yaml new file mode 100644 index 0000000..d203eda --- /dev/null +++ b/.github/workflows/validation_hassfest.yaml @@ -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@v4" + - uses: "home-assistant/actions/hassfest@master"