Skip to content

Commit

Permalink
[GITHUB ACTION] Arrête d'exécuter le workflow inutilement. (#34)
Browse files Browse the repository at this point in the history
Quand certains fichiers autres que le code sont modifiés, le workflow
n'est maintenant pas exécuté, afin 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
  • Loading branch information
Margouta authored Jul 5, 2024
2 parents 909705b + 0ac6b54 commit 12d86c2
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 12d86c2

Please sign in to comment.