snowflake/.forgejo/workflows/nix-flake-update.yml
notohh b3c0ba4633
Some checks reported warnings
flake check / check (push) Has been cancelled
deploy systems / deploy (push) Successful in 13s
fmt check / check (push) Successful in 41s
deploy: rollback test
2023-10-21 01:11:22 -04:00

24 lines
556 B
YAML

name: nix flake update
on:
schedule:
- cron: "0 4 1 * *"
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install nix action
uses: https://github.com/DeterminateSystems/nix-installer-action@v5
with:
github-token: ${{ secrets.GH_TOKEN }}
- name: create branch
run: |
git branch update-flake-lock
git checkout update-flake-lock
- name: update flake.lock
run: nix flake update
- name: commit changes
run: git