Skip to content

Commit

Permalink
github/workflows: add update-flake-lock action to bump deps (#284)
Browse files Browse the repository at this point in the history
This daily tests if nixpkgs updates breaks our interface.
  • Loading branch information
inclyc authored Dec 30, 2023
1 parent b68503e commit 2f77fbc
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/update-flake-lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: update-flake-lock
on:
workflow_dispatch: # allows manual triggering
schedule:
- cron: '00 17 * * *' # runs daily.

jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Nix
uses: cachix/install-nix-action@v16
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@v16
with:
pr-title: "flake: update the lock" # Title of PR to be created
pr-labels: | # Labels to be set on the PR
dependencies
automated
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}

0 comments on commit 2f77fbc

Please sign in to comment.