Skip to content

Commit

Permalink
[GITHUB ACTION] Arrête d'exécuter le workflow inutilement.
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 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
  • Loading branch information
Pixfri committed Jul 5, 2024
1 parent 909705b commit 0ac6b54
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 0ac6b54

Please sign in to comment.