-
Notifications
You must be signed in to change notification settings - Fork 2
39 lines (38 loc) · 1.34 KB
/
flake-lock.yaml
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
name: Update flake.lock
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 6" # At 00:00 on Saturday
# TODO: Add nvfetcher
jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Nix
uses: cachix/install-nix-action@v20
with:
nix_path: nixpkgs=channel:nixos-23.05
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- uses: cachix/cachix-action@v12
with:
name: truelecter
extraPullNames: cuda-maintainers, mic92, nix-community, nrdxp
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Update nvfetcher packages
run: |
nix develop '.#ci' --command bash -c "update-cell-sources ALL"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config user.name "github-actions[bot]"
git commit -am "deps(sources): Updated cell sources"
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@v19
with:
commit-msg: "deps(flake-lock): Updated flake.lock"
pr-title: "[Automated] Update 'flake.lock' and sources"
branch: "auto/upgrade-dependencies"
pr-labels: |
dependencies
automated