Sfoglia il codice sorgente

ci: disable scheduled build/push on forks

Nicolas Duchon 3 mesi fa
parent
commit
82eec358bf
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      .github/workflows/build-publish.yml

+ 1 - 0
.github/workflows/build-publish.yml

@@ -25,6 +25,7 @@ jobs:
       matrix:
         base: [alpine, debian]
     runs-on: ubuntu-latest
+    if: (github.event_name == "schedule" && github.repository == "nginx-proxy/nginx-proxy") || (github.event_name != "schedule")
     steps:
       - name: Checkout
         uses: actions/checkout@v4