Skip to content

Commit 49329b5

Browse files
Michael Vasseurvmcj
authored andcommitted
Only run when a file has changed
1 parent 58d6a0a commit 49329b5

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

.github/workflows/build-contributor-container-PR.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,15 @@ name: 'Build Contributor container (PR)'
44

55
on:
66
push:
7+
paths:
8+
- docker-contributor
9+
- .github/workflows/build-contributor-container-PR.yml
710
pull_request:
811
branches:
912
- main
13+
paths:
14+
- docker-contributor
15+
- .github/workflows/build-contributor-container-PR.yml
1016

1117
jobs:
1218
pr-contributor:

.github/workflows/build-domjudge-container-PR.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,15 @@ name: 'Build domjudge container (PR)'
22

33
on:
44
push:
5+
paths:
6+
- .github/workflows/build-domjudge-container-PR.yml
7+
- docker
58
pull_request:
69
branches:
710
- main
11+
paths:
12+
- .github/workflows/build-domjudge-container-PR.yml
13+
- docker
814

915
env:
1016
DOMJUDGE_VERSION: M.m.p

.github/workflows/build-gitlab-container-PR.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,17 @@ name: 'Build GitLab CI container (PR)'
22

33
on:
44
push:
5+
paths:
6+
- docker-contributor/php-config
7+
- docker-gitlabci
8+
- .github/workflows/build-gitlab-container-PR.yml
59
pull_request:
610
branches:
711
- main
12+
paths:
13+
- docker-contributor/php-config
14+
- docker-gitlabci
15+
- .github/workflows/build-gitlab-container-PR.yml
816

917
jobs:
1018
pr-gitlab:

0 commit comments

Comments
 (0)