Skip to content

Bump nix-clawdbot #1160

Bump nix-clawdbot

Bump nix-clawdbot #1160

name: Bump nix-clawdbot
on:
schedule:
- cron: "*/5 * * * *"
workflow_dispatch: {}
permissions:
contents: write
jobs:
bump:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Nix
uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Update nix-clawdbot input
run: |
set -euo pipefail
nix flake update --update-input nix-clawdbot
if git diff --quiet flake.lock; then
echo "No nix-clawdbot changes."
exit 0
fi
git config user.name "clawdbot-ci"
git config user.email "ci@clawdbot.local"
git add flake.lock
git commit -m "chore: bump nix-clawdbot"
git push