haystack/.github/workflows/docstrings_linting.yml
Silvano Cerza a34869da3f
ci: Fix docstrings linting workflow never running (#8327)
* Fix docstrings linting workflow never running

* Trigger file

* Remove trigger file

* Remove unnecessary trigger
2024-09-04 17:57:38 +02:00

26 lines
441 B
YAML

name: run docstrings linting
on:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
paths:
- "**.py"
jobs:
docstrings-linting:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Hatch
run: pip install hatch=="1.9.3"
- name: ruff docstrings linting
run: hatch run ruff check haystack