limit action run on path glob

This commit is contained in:
Simon
2024-05-21 16:51:06 +02:00
parent 4a49d70b17
commit 91f9351502
2 changed files with 19 additions and 5 deletions

View File

@@ -1,5 +1,13 @@
name: lint_python
on: [pull_request, push]
on:
push:
paths:
- '**/*.py'
pull_request:
paths:
- '**/*.py'
jobs:
lint_python:
runs-on: ubuntu-latest