We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3a6ca4 commit a49f2d9Copy full SHA for a49f2d9
2 files changed
.github/workflows/update-requirements.yml
@@ -0,0 +1,19 @@
1
+name: Update requirements.txt on PR merge
2
+
3
+on:
4
+ pull_request:
5
+ types: [closed]
6
+ branches:
7
+ - master
8
9
+jobs:
10
+ update-requirements:
11
+ if: github.event.pull_request.merged == true
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v2
15
+ - name: Automatic requirements.txt for Python Project
16
+ uses: ryan-rozario/pipreqs-action@master
17
+ with:
18
+ PROJECT_PATH: project_folder # Replace with the path to your Python project
19
+ REQUIREMENT_PATH: project_folder/requirements.txt # Replace with your requirements.txt file path
.gitignore
@@ -2,6 +2,10 @@
*.pyc
.idea*
build/
-.ipynb_checkpoints*
data/
-.vscode/
+.vscode/
+.ipynb_checkpoints*
+.ipynb_checkpoints/
+.pytest_cache/
+venv/
+.venv/
0 commit comments