From 5ff2148016b5477b09059974b02604c7e27b17a3 Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Mon, 5 May 2025 19:51:23 +0200 Subject: [PATCH] chore: fully switch to Dependabot --- .github/dependabot.yml | 8 +++++ .github/workflows/update-dependencies.yml | 42 ----------------------- 2 files changed, 8 insertions(+), 42 deletions(-) delete mode 100644 .github/workflows/update-dependencies.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index a5ae40e3e..feee2eda8 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -11,3 +11,11 @@ updates: update-types: - minor - patch + - package-ecosystem: docker + directory: / + schedule: + interval: weekly + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly \ No newline at end of file diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml deleted file mode 100644 index b8fcd3b4a..000000000 --- a/.github/workflows/update-dependencies.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: Update dependencies - -on: - workflow_dispatch: - schedule: - - cron: '0 0 * * 0' - -permissions: - contents: write - pull-requests: write - -jobs: - update-dependencies: - if: github.repository == 'Koenkk/zigbee2mqtt' - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - ref: dev - token: ${{ secrets.GH_TOKEN }} - - uses: pnpm/action-setup@v4 - - uses: actions/setup-node@v4 - with: - node-version: 22 - cache: pnpm - - run: | - # Disable for now as pnpm updates through corepack - # don't work well yet for bare-metal installations. - # pnpm self-update - pnpm up --latest - - uses: peter-evans/create-pull-request@v7 - id: cpr - with: - commit-message: 'fix(ignore): update dependencies' - branch: 'deps/all' - title: 'fix(ignore): update dependencies' - token: ${{ secrets.GH_TOKEN }} - - uses: peter-evans/create-or-update-comment@v4 - if: ${{ steps.cpr.outputs.pull-request-number }} - with: - issue-number: ${{ steps.cpr.outputs.pull-request-number }} - body: 'CC: @Koenkk'