File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Update requirements.txt
2+ on :
3+ push :
4+ branches : [main]
5+ paths :
6+ - ' pyproject.toml'
7+ workflow_dispatch :
8+
9+ jobs :
10+ update-requirements :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v4
14+
15+ - name : Set up Python
16+ uses : actions/setup-python@v5
17+ with :
18+ python-version : ' 3.12'
19+
20+ - name : Install pip-tools
21+ run : pip install pip-tools
22+
23+ - name : Compile requirements
24+ run : pip-compile pyproject.toml -o requirements.txt --resolver=backtracking
25+
26+ - name : Commit changes
27+ run : |
28+ git config --local user.email "action@github.com"
29+ git config --local user.name "GitHub Action"
30+ git add requirements.txt
31+ git diff --staged --quiet || git commit -m "chore: Update requirements.txt"
32+ git push
Original file line number Diff line number Diff line change 22# This file is autogenerated by pip-compile with Python 3.11
33# by the following command:
44#
5- # pip-compile --cert=None --client-cert=None --index-url=None -- output-file=requirements.txt --pip-args=None pyproject.toml
5+ # pip-compile --output-file=requirements.txt pyproject.toml
66#
7+ --index-url https://pkgs.safetycli.com/repository/omnipkg/pypi/simple/
78
89aiohappyeyeballs == 2.6.1
910 # via aiohttp
@@ -17,7 +18,7 @@ anyio==4.10.0
1718 # via httpx
1819attrs == 25.3.0
1920 # via aiohttp
20- authlib == 1.6.4
21+ authlib == 1.6.5
2122 # via
2223 # omnipkg (pyproject.toml)
2324 # safety
@@ -115,7 +116,7 @@ ruamel-yaml==0.18.15
115116 # safety-schemas
116117ruamel-yaml-clib == 0.2.14
117118 # via ruamel-yaml
118- safety == 3.6.1 ; python_version >= "3.10"
119+ safety == 3.6.1 ; python_version >= "3.10" and python_version < "3.14"
119120 # via omnipkg (pyproject.toml)
120121safety-schemas == 0.0.14
121122 # via safety
You can’t perform that action at this time.
0 commit comments