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>
This commit is contained in:
Adam DeMuri 2026-09-06 03:35:02 -06:00 committed by GitHub
commit 4b0638a4d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,6 +10,7 @@ on:
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