Bläddra i källkod

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 1 månad sedan
förälder
incheckning
3aaed40965
2 ändrade filer med 2 tillägg och 0 borttagningar
  1. 1 0
      .github/workflows/hacs-validate.yml
  2. 1 0
      .github/workflows/hassfest-validate.yml

+ 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