From 3708fded4dc77ebcd36811d51f63bbd794590546 Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Mon, 5 May 2025 19:55:12 +0200 Subject: [PATCH] chore: fully switch to Dependabot --- .github/dependabot.yml | 24 +++++++------ .github/workflows/update_dependencies.yml | 44 ----------------------- 2 files changed, 14 insertions(+), 54 deletions(-) delete mode 100644 .github/workflows/update_dependencies.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index de0acb5..5e8629c 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,12 +1,16 @@ version: 2 updates: - - package-ecosystem: "npm" - directory: "/" - schedule: - interval: "weekly" - groups: - minor-patch: - applies-to: version-updates - update-types: - - "minor" - - "patch" + - package-ecosystem: npm + directory: / + schedule: + interval: weekly + groups: + minor-patch: + applies-to: version-updates + update-types: + - minor + - patch + - 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 40d8b3a..0000000 --- a/.github/workflows/update_dependencies.yml +++ /dev/null @@ -1,44 +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/zigbee-OTA' - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - token: ${{ secrets.GH_TOKEN }} - - - uses: pnpm/action-setup@v4 - - - uses: actions/setup-node@v4 - with: - node-version: 22 - cache: pnpm - - - run: | - 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'