1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-24 18:59:47 +01:00

Add flake.lock & workflow to update it (#1934)

This commit is contained in:
Imran Hossain 2022-08-22 16:49:13 -04:00 committed by GitHub
parent 688e5c85b7
commit 0160a0cef0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

20
.github/workflows/update-flake.yml vendored Normal file
View 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