From 984507ccbd1da765f8447f122fa7c92e30cd1217 Mon Sep 17 00:00:00 2001 From: Birdee <85372418+BirdeeHub@users.noreply.github.com> Date: Mon, 13 Apr 2026 19:27:52 -0700 Subject: [PATCH] ci(dependabot): use dependabot for nix flake update --- .github/dependabot.yml | 4 ++++ .github/workflows/update.yml | 28 ---------------------------- 2 files changed, 4 insertions(+), 28 deletions(-) delete mode 100644 .github/workflows/update.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 23c4cb3..4e7866c 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,3 +5,7 @@ updates: directory: "/" schedule: interval: "weekly" + - package-ecosystem: "nix" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml deleted file mode 100644 index b4e5e65..0000000 --- a/.github/workflows/update.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: update-flake-lock -on: - workflow_dispatch: # allows manual triggering - schedule: - - cron: '0 0 * * 0' # runs weekly on Sunday at 00:00 - -jobs: - lockfile: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v6 - - name: Install Nix - uses: DeterminateSystems/nix-installer-action@main - - name: Update flake.lock - uses: DeterminateSystems/update-flake-lock@main - with: - token: ${{ secrets.PAT }} - pr-title: "chore(deps): update flake.lock" # Title of PR to be created - pr-labels: | # Labels to be set on the PR - dependencies - automated - commit-msg: "chore(deps): update flake.lock" - - uses: reitermarkus/automerge@v2 - with: - token: ${{ secrets.PAT }} - merge-method: squash - pull-request: ${{ github.event.inputs.pull-request }}