From 0ac6b54db80036cd70ca7382f338159d0b86ba9c Mon Sep 17 00:00:00 2001 From: Jean Date: Fri, 5 Jul 2024 12:46:03 +0200 Subject: [PATCH] =?UTF-8?q?[GITHUB=20ACTION]=20Arr=C3=AAte=20d'ex=C3=A9cut?= =?UTF-8?q?er=20le=20workflow=20inutilement.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Quand certains fichiers autres que le code sont modifiés, le workflow n'est pas exécuté, d'éviter de faire des builds inutiles sans aucun changement à l'intérieur. Ces fichiers sont : .github/PULL_REQUEST_TEMPLATE.md .gitignore LICENSE CODE_OF_CONDUCT.md CONTRIBUTING.md README.md --- .github/workflows/main.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d4da5c05..539371df 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,5 +1,21 @@ name: Build DEV Jars -on: [push, pull_request] +on: + pull_request: + paths-ignore: + - '.github/PULL_REQUEST_TEMPLATE.md' + - '.gitignore' + - 'LICENSE' + - 'CODE_OF_CONDUCT.md' + - 'CONTRIBUTING.md' + - 'README.md' + push: + paths-ignore: + - '.github/PULL_REQUEST_TEMPLATE.md' + - '.gitignore' + - 'LICENSE' + - 'CODE_OF_CONDUCT.md' + - 'CONTRIBUTING.md' + - 'README.md' jobs: build_dev_jars: name: Build DEV jars