We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3b0c460 + cb11ca8 commit 1b36a26Copy full SHA for 1b36a26
.github/workflows/ci.yml
@@ -17,6 +17,19 @@ jobs:
17
- name: Set up the environment
18
uses: ./.github/actions/setup-python-env
19
20
+ - name: Regenerate requirements.txt
21
+ run: |
22
+ uv export --no-hashes --output-file=requirements.txt
23
+ uv export --no-hashes --only-group=docs --output-file=docs/requirements.txt
24
+
25
+ - name: Commit changes if needed
26
27
+ git config --local user.email "action@github.com"
28
+ git config --local user.name "GitHub Action"
29
+ git add requirements.txt docs/requirements.txt
30
+ git diff --staged --quiet || git commit -m "chore: update requirements.txt files"
31
+ git push
32
33
- name: Run pre-commit
34
run: uv run pre-commit run -a --show-diff-on-failure
35
0 commit comments