This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update poetry.lock | |
on: | |
push: | |
branches: | |
- "main" | |
paths: | |
- "pyproject.toml" | |
jobs: | |
update-and-push: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
- name: Setup Poetry | |
uses: Gr1N/setup-poetry@v8 | |
- name: Update poetry.lock | |
run: poetry update --lock | |
- name: Commit & Push changes | |
uses: actions-js/push@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: "main" |