adaptive-lighting/.github/workflows/validate.yml
Adam DeMuri 4b0638a4d8
Only run the validate_hacs CI action on the upstream repo. (#1423)
This avoids running this action on forks, since they likely won't have
issues or topics enabled, and shouldn't need them.

Co-authored-by: Bas Nijholt <basnijholt@users.noreply.github.com>
Co-authored-by: Bas Nijholt <bas@nijho.lt>
2026-09-06 11:35:02 +02:00

19 lines
406 B
YAML

name: Validate
on:
push:
branches: [master]
pull_request:
schedule:
- cron: "0 0 * * *"
jobs:
validate_hacs:
runs-on: "ubuntu-latest"
if: github.repository == 'basnijholt/adaptive-lighting' # Don't run on forked repos
steps:
- uses: "actions/checkout@v7.0.1"
- name: HACS validation
uses: "hacs/action@main"
with:
category: "integration"