From 91fbaf081e04c8c858d03d5f5ca548d4e68cf79a Mon Sep 17 00:00:00 2001 From: Becky Smith Date: Thu, 17 Oct 2024 17:16:05 +0100 Subject: [PATCH] Use PAT as token --- .github/workflows/update-dependencies.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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"