Skip to content

update-flake-lock

update-flake-lock #4

name: update-flake-lock
on:
workflow_dispatch: # allows manual triggering
schedule:
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- name: Setup SSH
uses: webfactory/ssh-agent@v0.7.0
with:
ssh-private-key: ${{ secrets.PRIVATE_SSH_KEY }}
- name: Add the host key
run: |
line='[alex.gulo.dev]:37084 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHCOcR1CTLQ7ATvIuwvshI/EM1mqQ5inK5xhj2XWN1lL'
echo "$line" >> ~/.ssh/known_hosts
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v1
- name: Update flake.lock and create PR
uses: DeterminateSystems/update-flake-lock@v24
with:
pr-title: "Update flake.lock" # Title of PR to be created
pr-labels: | # Labels to be set on the PR
automated