Skip to content

HACS Validation

HACS Validation #1154

Workflow file for this run

name: HACS Validation
on:
workflow_dispatch:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
schedule:
- cron: "0 0 * * *"
jobs:
pre_job:
runs-on: ubuntu-latest
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@v5
with:
cancel_others: 'true'
concurrent_skipping: 'same_content_newer'
paths_ignore: '[ "**/CHANGELOG.md" ]'
skip_after_successful_duplicate: 'true'
hacs:
name: HACS Validation
needs: pre_job
if: >
needs.pre_job.outputs.should_skip != 'true'
&& github.repository == 'zanna-37/hass-swipe-navigation'
&& (
github.event_name != 'pull_request'
|| github.event.pull_request.head.repo.full_name == 'zanna-37/hass-swipe-navigation'
)
timeout-minutes: 10
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- name: HACS Action
uses: "hacs/action@main"
with:
category: "plugin"