Skip to content

Bump Flake Inputs

Bump Flake Inputs #206

Workflow file for this run

name: Bump Flake Inputs
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
jobs:
update-lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Lix
run: |
curl -sSf -L https://install.lix.systems/lix | sh -s -- install --no-confirm
echo "trusted-users = root worker" | sudo tee -a /etc/nix/nix.conf
echo "experimental-features = nix-command flakes" | sudo tee -a /etc/nix/nix.conf
sudo systemctl restart nix-daemon
- name: Nix Magic Cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Update Lockfile
uses: DeterminateSystems/update-flake-lock@main
id: update
with:
pr-title: "chore(deps): flake inputs"
commit-msg: "chore(deps): flake inputs"
token: ${{ secrets.GITHUB_TOKEN }}
- name: Merge Changes
run: gh pr merge ${{ steps.update.outputs.pull-request-number }} --squash --delete-branch
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}