diff --git a/.github/workflows/update-requirements.yml b/.github/workflows/update-requirements.yml deleted file mode 100644 index a53a445..0000000 --- a/.github/workflows/update-requirements.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Update Requirements.txt - -on: - pull_request: - paths: - - 'pyproject.toml' - - 'poetry.lock' - workflow_dispatch: - -jobs: - update-requirements: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.11' - - - name: Install Poetry - run: pipx install poetry==1.8.2 - - - name: Export requirements.txt - run: | - poetry export -f requirements.txt --output requirements.txt --without-hashes - - - name: Commit changes - run: | - git config --global user.name 'GitHub Actions' - git config --global user.email 'actions@github.com' - git add requirements.txt - git commit -m "Update requirements.txt" || echo "No changes to commit" - git push \ No newline at end of file