소스 검색

ci: disable scheduled build/push on forks

Nicolas Duchon 3 달 전
부모
커밋
82eec358bf
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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