Skip to content

Update python dependencies #5

Update python dependencies

Update python dependencies #5

name: Update python dependencies
on:
workflow_dispatch:
schedule:
- cron: "5 3 * * WED"
jobs:
update-dependencies:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: "opensafely-core/setup-action@v1"
with:
python-version: "3.8"
install-just: true
- uses: actions/create-github-app-token@v1
id: generate-token
with:
app-id: 1031449 # opensafely-core Create PR app
private-key: ${{ secrets.CREATE_PR_APP_PRIVATE_KEY }}
- uses: bennettoxford/update-dependencies-action@v1
with:
token: ${{ steps.generate-token.outputs.token }}
update_command: "just upgrade prod && just upgrade dev"
pr_title: "Update python dependencies"