From 17e6fd31399d26b3db4f6978d39c39447f9bbade Mon Sep 17 00:00:00 2001 From: Tom Parker-Shemilt Date: Mon, 1 Apr 2024 22:38:51 +0100 Subject: [PATCH] Split HA and HACS actions --- .github/workflows/ha.yaml | 12 ++++-------- .github/workflows/hacs.yaml | 21 +++++++++++++++++++++ 2 files changed, 25 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/hacs.yaml diff --git a/.github/workflows/ha.yaml b/.github/workflows/ha.yaml index 7fa0294..ca87778 100644 --- a/.github/workflows/ha.yaml +++ b/.github/workflows/ha.yaml @@ -1,5 +1,5 @@ --- -name: HACS/HA +name: HA on: push: @@ -10,13 +10,9 @@ on: - cron: 0 0 * * * jobs: - hacs: - name: HACS and Home assistant + ha: + name: Hassfest runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: home-assistant/actions/hassfest@master - - name: HACS Action - uses: hacs/action@main - with: - category: integration + - uses: home-assistant/actions/hassfest@master \ No newline at end of file diff --git a/.github/workflows/hacs.yaml b/.github/workflows/hacs.yaml new file mode 100644 index 0000000..93ab844 --- /dev/null +++ b/.github/workflows/hacs.yaml @@ -0,0 +1,21 @@ +--- +name: HACS + +on: + push: + branches: + - main + pull_request: + schedule: + - cron: 0 0 * * * + +jobs: + hacs: + name: HACS + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: HACS Action + uses: hacs/action@main + with: + category: integration