blob: d37d8edf3bfc1780d74cbfef94e16df13c855c67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
name: update nixpkgs inputs
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
update-lock:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v3
- name: install nix
uses: cachix/install-nix-action@v20
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: update inputs
run: nix flake lock --update-input nixpkgs --update-input nixpkgsUnstable
- name: add and commit
uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
message: "chore: update nixpkgs inputs"
|