We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3289c7b + 295fc28 commit 72f18d1Copy full SHA for 72f18d1
.github/update-requirements.yml
@@ -0,0 +1,26 @@
1
+name: Update requirements
2
+on:
3
+ push:
4
+ paths:
5
+ - 'pyproject.toml'
6
+ - '.github/workflows/update-requirements.yml'
7
+
8
+jobs:
9
+ update:
10
+ name: Update requirements
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Install the latest version of rye
14
+ uses: eifinger/setup-rye@v3
15
+ - name: Build app
16
+ run: rye run update-requirements
17
+ commit:
18
+ name: Commit changes
19
+ run: |
20
+ git config --global user.name 'github-actions'
21
+ git config --global user.email 'github-actions[bot]@users.noreply.github.com'
22
+ git add .
23
+ git commit -m "ci: update requirements.txt [skip ci]"
24
+ git push
25
+ env:
26
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments