Skip to content

Commit 1b36a26

Browse files
committed
Merge branch 'deps/fix-renovate'
2 parents 3b0c460 + cb11ca8 commit 1b36a26

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,19 @@ jobs:
1717
- name: Set up the environment
1818
uses: ./.github/actions/setup-python-env
1919

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+
run: |
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+
2033
- name: Run pre-commit
2134
run: uv run pre-commit run -a --show-diff-on-failure
2235

0 commit comments

Comments
 (0)