Skip to content

Commit

Permalink
Add flake.lock & workflow to update it (#1934)
Browse files Browse the repository at this point in the history
  • Loading branch information
i077 authored Aug 22, 2022
1 parent 688e5c8 commit 0160a0c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/update-flake.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0160a0c

Please sign in to comment.