diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..45b8d4e --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,23 @@ +{ + "version": 2, + "updates": [ + { + "package-ecosystem": "github-actions", + "directory": "/", + "schedule": { + "interval": "daily", + "time": "04:00" + }, + "open-pull-requests-limit": 10, + "reviewers": [ + "Gerg-L" + ], + "assignees": [ + "Gerg-L" + ], + "labels": [ + "CI" + ] + } +] +} diff --git a/.github/workflows/flake-update.yml b/.github/workflows/flake-update.yml new file mode 100644 index 0000000..87e6ae2 --- /dev/null +++ b/.github/workflows/flake-update.yml @@ -0,0 +1,41 @@ +{ + "name": "flake-update", + "on": { + "workflow_dispatch": null, + "schedule": [ + { + "cron": "0 1 * * *" + } + ] +}, + "jobs": { + "lockfile": { + "runs-on": "ubuntu-latest", + "steps": [ + { + "name": "checkout", + "uses": "actions/checkout@v3.5.3" + }, + { + "name": "install", + "uses": "DeterminateSystems/nix-installer-action@v4" + }, + { + "name": "update", + "uses": "DeterminateSystems/update-flake-lock@v19", + "with": { + "pr-title": "Update flake.lock", + "pr-labels": "CI" + } + }, + { + "name": "merge", + "run": "gh pr merge ${{ steps.update.outputs.pull-request-number }} --squash --delete-branch\n", + "env": { + "GITHUB_TOKEN": "${{ secrets.GITHUB_TOKEN }}" + } + } + ] + } +} +} diff --git a/flake.lock b/flake.lock index 1dc611e..a030a3c 100644 --- a/flake.lock +++ b/flake.lock @@ -74,11 +74,11 @@ }, "master": { "locked": { - "lastModified": 1688939778, - "narHash": "sha256-RrP6VIhCPPWatKY3Kv+aZ/Vsfl8ihHQlDZGfKwL8YdI=", + "lastModified": 1688946397, + "narHash": "sha256-Mixnpq8GKFOFYBfMIBqwPEV3zCn9gGlxkRQuNFvG/vo=", "owner": "nixos", "repo": "nixpkgs", - "rev": "1ffc00aa22e393d3b16e6c642c639bb98f007ae5", + "rev": "198d11ecbe75de3a7f92634850ca8d83cfe0c61c", "type": "github" }, "original": {