From 4b0638a4d81442acb62d9ae6ae7eeaaa7ce067ca Mon Sep 17 00:00:00 2001 From: Adam DeMuri Date: Sun, 6 Sep 2026 03:35:02 -0600 Subject: [PATCH] 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 Co-authored-by: Bas Nijholt --- .github/workflows/validate.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index b7c1a44b..885b40c2 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -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