diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml index bb48e4d0..4376f496 100644 --- a/.github/workflows/update-dependencies.yml +++ b/.github/workflows/update-dependencies.yml @@ -4,6 +4,9 @@ on: workflow_dispatch: schedule: - cron: "0 23 * * *" + push: + branches: + - update-dependencies-action jobs: update-dependencies: runs-on: ubuntu-latest @@ -21,5 +24,5 @@ jobs: - uses: opensafely-core/update-dependencies-action@main with: + token: ${{ secrets.CREATE_PR_TOKEN }} update_command: "just compile-reqs -U" - on_changes_command: "just assets && just docs-build && just test --ignore=tests/functional"