From 146935adc874a415a0b679f7509290a697f66f42 Mon Sep 17 00:00:00 2001 From: Victor Date: Tue, 1 Oct 2024 23:00:03 +0000 Subject: [PATCH] ci: use renovatebot reusable workflows to use the new reusable workflows we created in https://github.com/turo/dependency-management-tools --- .github/workflows/update-dependencies.yaml | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/.github/workflows/update-dependencies.yaml b/.github/workflows/update-dependencies.yaml index 580ddf9..b9661c8 100644 --- a/.github/workflows/update-dependencies.yaml +++ b/.github/workflows/update-dependencies.yaml @@ -1,10 +1,6 @@ name: Update dependencies -concurrency: update-dependencies on: - schedule: - # Every day at midnight - - cron: "0 0 * * *" workflow_dispatch: issue_comment: types: @@ -12,17 +8,9 @@ on: pull_request: types: - edited + - synchronize jobs: update-dependencies: - runs-on: ubuntu-latest - name: Update dependencies - # Only run in turo-dependency-manager PRs or when manually triggered or as part of a schedule - if: (github.event_name == 'issue_comment' && github.event.issue.user.login == 'turo-dependency-manager') || (github.event_name == 'pull_request' && github.actor == 'turo-dependency-manager') || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' - steps: - - name: Update dependencies - uses: open-turo/action-renovate@v1 - with: - github-token: ${{ secrets.TURO_GITHUB_DEPENDENCY_MANAGER_TOKEN }} - docker-username: ${{ secrets.DOCKER_USERNAME }} - docker-password: ${{ secrets.DOCKER_PASSWORD }} + uses: turo/dependency-management-tools/.github/workflows/reusable-workflow.update-dependencies.yaml@v1 + secrets: inherit