Skip to content

update flake lock

update flake lock #25

Workflow file for this run

name: update flake lock
on:
workflow_dispatch:
schedule:
# at 02:00 every tuesday
- cron: '0 2 * * 2'
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install nix
uses: DeterminateSystems/nix-installer-action@v14
- name: Update flake lock
uses: DeterminateSystems/update-flake-lock@v24
id: update-flake-lock
with:
git-author-name: 'github-actions[bot]'
git-author-email: 'github-actions[bot]@users.noreply.github.com'
git-committer-name: 'github-actions[bot]'
git-committer-email: 'github-actions[bot]@users.noreply.github.com'
env:
GIT_COMMIT_MESSAGE: "chore(nixos): flake update"
- name: Nix flake check
run: nix flake check github:rubenhoenle/NixOServer/update_flake_lock_action
- name: Automerge
if: ${{ steps.update-flake-lock.outputs.pull-request-operation == 'created' }}
run: "gh pr merge --auto --rebase ${{ steps.update-flake-lock.outputs.pull-request-number }}"
env:
GH_TOKEN: ${{ github.token }}