From fd162fd7a4535c631d343f330bf659a507d580a5 Mon Sep 17 00:00:00 2001 From: linogaliana Date: Fri, 15 Mar 2024 10:30:46 +0000 Subject: [PATCH] conditionne workflow --- src/appli14/.github/workflows/test.yaml | 6 +++++- src/appli15/.github/workflows/prod.yaml | 7 ++++++- src/appli15/.github/workflows/test.yaml | 7 ++++++- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/src/appli14/.github/workflows/test.yaml b/src/appli14/.github/workflows/test.yaml index c427142..5d654c7 100644 --- a/src/appli14/.github/workflows/test.yaml +++ b/src/appli14/.github/workflows/test.yaml @@ -1,6 +1,10 @@ name: Python package -on: [push] +on: + push: + branches: + - main + - dev jobs: build: diff --git a/src/appli15/.github/workflows/prod.yaml b/src/appli15/.github/workflows/prod.yaml index d89e988..8c58cc2 100644 --- a/src/appli15/.github/workflows/prod.yaml +++ b/src/appli15/.github/workflows/prod.yaml @@ -1,6 +1,11 @@ name: Construction image Docker -on: [push] +on: + push: + branches: + - main + - dev + jobs: docker: diff --git a/src/appli15/.github/workflows/test.yaml b/src/appli15/.github/workflows/test.yaml index c427142..0226f61 100644 --- a/src/appli15/.github/workflows/test.yaml +++ b/src/appli15/.github/workflows/test.yaml @@ -1,6 +1,11 @@ name: Python package -on: [push] +on: + push: + branches: + - main + - dev + jobs: build: