-
Notifications
You must be signed in to change notification settings - Fork 59
57 lines (43 loc) · 1.23 KB
/
update-locks.yml
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Update lockfiles
on:
schedule:
# run every friday
- cron: "0 0 * * 5"
workflow_dispatch:
jobs:
flake:
name: Update flake.lock
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@V27
- uses: DeterminateSystems/update-flake-lock@v24
with:
path-to-flake-dir: "./dev"
commit-msg: "chore: update dev flake inputs"
pr-title: "chore: update dev flake inputs"
token: ${{ github.token }}
ports:
name: Update port sources
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@V27
- name: Install npins
run: nix profile install 'nixpkgs#npins'
- uses: getchoo/update-npins@v0.1.2
with:
npins-directory: "./.sources"
commit-message: "chore(modules): update ports"
pr-title: "chore(modules): update ports"
token: ${{ github.token }}