Skip to content

Update Python dependencies #295

Update Python dependencies

Update Python dependencies #295

name: Update Python dependencies
on:
workflow_dispatch:
schedule:
- cron: "0 8 * * *"
jobs:
update-dep:
runs-on: ubuntu-latest
strategy:
matrix:
python-versions: [ "3.9" ]
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
- uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1
with:
python-version: ${{ matrix.python-versions }}
- name: Install prerequisites
run: |
pip install tox pipenv
- name: Update dependencies
run: |
pipenv update -d
make requirements
- name: Run tests
run: |
make tests
- name: Create Pull Request
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "build: Update Python dependencies"
branch: "rstuf-bot/update-python-dependencies"
delete-branch: true
title: "build: Update Python dependencies"
body: >
The following PR updates the Python dependencies and generates new pipfile and requirements file.
labels: report, automated pr, python