Bump dependencies #21
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: Bump dependencies | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 8 * * 1' # At 08:00 on Monday. | |
jobs: | |
bump-dependencies: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.12' | |
- run: python -m pip install poetry pre-commit | |
- run: poetry lock | |
- run: pre-commit autoupdate | |
- run: git status | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@18f7dc018cc2cd597073088f7c7591b9d1c02672 | |
with: | |
token: ${{ secrets.TRIGGER_WORKFLOW_KEY }} | |
branch: bump-dependencies | |
delete-branch: true | |
commit-message: Bump dependencies | |
title: 'Bump dependencies' | |
body: | | |
Weekly update of backend dependencies. | |
labels: | | |
:robot: bot | |
test deployment |