mirror of
https://github.com/nix-community/home-manager
synced 2024-11-10 07:04:17 +00:00
Add flake.lock & workflow to update it (#1934)
This commit is contained in:
parent
688e5c85b7
commit
0160a0cef0
1 changed files with 20 additions and 0 deletions
20
.github/workflows/update-flake.yml
vendored
Normal file
20
.github/workflows/update-flake.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
name: Update flake inputs
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
# Update every Sunday and Wednesday
|
||||||
|
- cron: "51 3 * * 0,3"
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Install Nix
|
||||||
|
uses: cachix/install-nix-action@v17
|
||||||
|
- name: Update flake.lock
|
||||||
|
uses: DeterminateSystems/update-flake-lock@v9
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
|
||||||
|
pr-labels: dependencies
|
Loading…
Reference in a new issue