meme-api / .github /workflows /update_poetry_lock.yml
CikeyQi's picture
Upload 964 files (#1)
346533a
raw
history blame
631 Bytes
name: Update poetry.lock
on:
push:
branches:
- "main"
paths:
- "pyproject.toml"
workflow_dispatch:
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"