Skip to content

Commit

Permalink
Only run when a file has changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Vasseur authored and vmcj committed Jun 3, 2024
1 parent 58d6a0a commit 49329b5
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-contributor-container-PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@ name: 'Build Contributor container (PR)'

on:
push:
paths:
- docker-contributor
- .github/workflows/build-contributor-container-PR.yml
pull_request:
branches:
- main
paths:
- docker-contributor
- .github/workflows/build-contributor-container-PR.yml

jobs:
pr-contributor:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/build-domjudge-container-PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@ name: 'Build domjudge container (PR)'

on:
push:
paths:
- .github/workflows/build-domjudge-container-PR.yml
- docker
pull_request:
branches:
- main
paths:
- .github/workflows/build-domjudge-container-PR.yml
- docker

env:
DOMJUDGE_VERSION: M.m.p
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/build-gitlab-container-PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,17 @@ name: 'Build GitLab CI container (PR)'

on:
push:
paths:
- docker-contributor/php-config
- docker-gitlabci
- .github/workflows/build-gitlab-container-PR.yml
pull_request:
branches:
- main
paths:
- docker-contributor/php-config
- docker-gitlabci
- .github/workflows/build-gitlab-container-PR.yml

jobs:
pr-gitlab:
Expand Down

0 comments on commit 49329b5

Please sign in to comment.