only run workflows when they are actually needed

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-06-03 20:24:27 +02:00
parent ba6195815e
commit 2e19b5ab58
8 changed files with 74 additions and 31 deletions

View file

@ -7,11 +7,13 @@ name: Lint php
on:
pull_request:
paths:
- 'php/**'
push:
branches:
- main
- master
- stable*
paths:
- 'php/**'
permissions:
contents: read