Skip to content

Commit

Permalink
Add workflow to update python dependencies
Browse files Browse the repository at this point in the history
Using the new opensafely-core/update-dependencies-action
  • Loading branch information
rebkwok committed Oct 16, 2024
1 parent 3ec0e55 commit a1ce3a9
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Update python dependencies

on:
workflow_dispatch:
schedule:
- cron: "0 23 * * *"
jobs:
update-dependencies:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: "opensafely-core/setup-action@v1"
with:
python-version: "3.11"
install-just: true
- uses: opensafely-core/update-dependencies-action@main
with:
update_command: "just compile-reqs -U"
on_changes_command: "just test-all"

0 comments on commit a1ce3a9

Please sign in to comment.