-
Notifications
You must be signed in to change notification settings - Fork 3
72 lines (71 loc) · 2.33 KB
/
update-flake-lock-individual.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
name: update-flake-lock-individual
# This workflow is intended for individual updates of the inputs,
# in case the update-flake-lock action fails.
on:
workflow_dispatch: # allows manual triggering
schedule:
- cron: '0 7 * * SUN' # runs weekly on sunday at 07:00
jobs:
input-lockfile-flake-utils:
runs-on: ubuntu-latest
environment: "update"
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v30
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@v24
with:
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
pr-labels: |
dependencies
nix
inputs: flake-utils
branch: update_input_action_flake_utils
pr-title: "flake.lock: update flake-utils"
input-lockfile-nixpkgs:
runs-on: ubuntu-latest
environment: "update"
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v30
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@v24
with:
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
pr-labels: |
dependencies
nix
inputs: nixpkgs
branch: update_input_action_nixpkgs
pr-title: "flake.lock: update nixpkgs"
input-lockfile-rust-overlay:
runs-on: ubuntu-latest
environment: "update"
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v30
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@v24
with:
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
pr-labels: |
dependencies
nix
inputs: rust-overlay
branch: update_input_action_rust_overlay
pr-title: "flake.lock: update rust-overlay"