From 89582b43637583b2b0bea5b80ea9d2458c9f1354 Mon Sep 17 00:00:00 2001 From: aunefyren Date: Sun, 4 Feb 2024 13:49:58 +0100 Subject: [PATCH] New workflows --- .github/workflows/cron.yml | 21 --------------------- .github/workflows/hacs.yml | 4 +--- .github/workflows/hassfest.yml | 20 ++++++++------------ 3 files changed, 9 insertions(+), 36 deletions(-) delete mode 100644 .github/workflows/cron.yml diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml deleted file mode 100644 index 1b8b72d..0000000 --- a/.github/workflows/cron.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Cron actions - -on: - schedule: - - cron: '0 0 * * *' - -jobs: - validate: - runs-on: "ubuntu-latest" - name: Validate - steps: - - uses: "actions/checkout@v2" - - - name: HACS validation - uses: "hacs/action@main" - with: - category: "integration" - ignore: brands - - # - name: Hassfest validation - # uses: "home-assistant/actions/hassfest@master" \ No newline at end of file diff --git a/.github/workflows/hacs.yml b/.github/workflows/hacs.yml index 4eb51e1..8369e39 100644 --- a/.github/workflows/hacs.yml +++ b/.github/workflows/hacs.yml @@ -11,9 +11,7 @@ jobs: name: HACS Action runs-on: "ubuntu-latest" steps: - - uses: "actions/checkout@v2" - name: HACS Action uses: "hacs/action@main" with: - category: "integration" - ignore: brands \ No newline at end of file + category: "integration" \ No newline at end of file diff --git a/.github/workflows/hassfest.yml b/.github/workflows/hassfest.yml index 5683383..0a1bd9c 100644 --- a/.github/workflows/hassfest.yml +++ b/.github/workflows/hassfest.yml @@ -1,18 +1,14 @@ -name: Test hassfest +name: Validate with hassfest on: - pull_request: - branches: ["master"] push: - branches: ["master"] + pull_request: + schedule: + - cron: '0 0 * * *' jobs: - hassfest: - runs-on: ubuntu-latest - name: hassfest + validate: + runs-on: "ubuntu-latest" steps: - - name: Check out the repository - uses: actions/checkout@v2 - - - name: Test hassfest - uses: home-assistant/actions/hassfest@master \ No newline at end of file + - uses: "actions/checkout@v4" + - uses: "home-assistant/actions/hassfest@master" \ No newline at end of file