Skip to content

Commit 180e5d5

Browse files
authored
ci: disable scheduled build/push on forks
See nginx-proxy/nginx-proxy#2586
1 parent e1548d0 commit 180e5d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
matrix:
2626
base: [alpine, debian]
2727
runs-on: ubuntu-latest
28-
28+
if: (github.event_name == "schedule" && github.repository == "nginx-proxy/docker-gen") || (github.event_name != "schedule")
2929
steps:
3030
- name: Checkout
3131
uses: actions/checkout@v4

0 commit comments

Comments
 (0)