diff --git a/.github/workflows/update-flake-lock.yml b/.github/workflows/update-flake-lock.yml deleted file mode 100644 index c7c53fa..0000000 --- a/.github/workflows/update-flake-lock.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: update-flake-lock -on: - workflow_dispatch: # allows manual triggering - schedule: - - cron: '0 0 * * 1,4' # Run twice a week - -jobs: - lockfile: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - name: Install Nix - uses: cachix/install-nix-action@v23 - with: - extra_nix_config: | - access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - - name: Update flake.lock - uses: DeterminateSystems/update-flake-lock@v20 - with: - token: ${{ secrets.GH_TOKEN_FOR_UPDATES }} - pr-labels: | # Labels to be set on the PR - merge-queue diff --git a/.mergify.yml b/.mergify.yml index f4ade59..a8cf23a 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -1,13 +1,8 @@ queue_rules: - name: default merge_conditions: - - check-success=Evaluate flake.nix - - check-success=check treefmt [x86_64-linux] - - check-success=devShell default [x86_64-linux] - - check-success=package default [x86_64-linux] - - check-success=package nix-eval-jobs [x86_64-linux] - - check-success=tests (macos-latest) - - check-success=tests (ubuntu-latest) + - author=renovate[bot] + - check-success=collect defaults: actions: queue: diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..03086d7 --- /dev/null +++ b/renovate.json @@ -0,0 +1,15 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:base" + ], + "lockFileMaintenance": { + "enabled": true, + "extends": [ + "schedule:weekly" + ] + }, + "nix": { + "enabled": true + } +}