Skip to content

Merge branch 'master' into with-feature #3

Merge branch 'master' into with-feature

Merge branch 'master' into with-feature #3

Workflow file for this run

name: Generate requirements.txt
on:
push:
paths:
- "pyproject.toml"
- "poetry.lock"
jobs:
generate-requirements:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install Poetry and poetry-plugin-export
run: |
pipx install poetry
pipx inject poetry poetry-plugin-export
- name: Add path for Python packages
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Export requirements.txt
run: poetry export --without-hashes --without-urls -o requirements.txt
- name: Commit and push changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: update requirements.txt
# Optional glob pattern of files which should be added to the commit
file_pattern: requirements.txt
# Optional. Prevents the shell from expanding filenames.
# Details: https://www.gnu.org/software/bash/manual/html_node/Filename-Expansion.html
disable_globbing: true