update-deps #962
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-deps | |
on: | |
schedule: | |
- cron: "0 10 * * *" # Run at 10 am every day | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.7 | |
- name: Update Dependencies | |
run: | | |
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python - | |
source $HOME/.poetry/env | |
poetry build | |
poetry update | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
commit-message: update dependencies | |
title: Update Dependencies | |
body: | | |
Autogenerated PR to update all deps to latest versions | |
branch: update-dependencies |