Przeglądaj źródła

ci: avoid running hassfest and hacs on forks

These often fail when they are run on another user's repo that is not
set up for HACS/HA requirements. Users creating PRs should not have to
jump through these hoops, since their submission will be via the main
repo.
Jason Rumney 2 miesięcy temu
rodzic
commit
3aaed40965

+ 1 - 0
.github/workflows/hacs-validate.yml

@@ -10,6 +10,7 @@ jobs:
     permissions:
       contents: read
       pull-requests: write
+    if: github.repository_owner == 'make-all'
 
     steps:
       - uses: actions/checkout@v6

+ 1 - 0
.github/workflows/hassfest-validate.yml

@@ -10,6 +10,7 @@ jobs:
     permissions:
       contents: read
       pull-requests: write
+    if: github.repository_owner == 'make-all'
 
     steps:
       - uses: actions/checkout@v6