Skip to content

Commit

Permalink
Add CI workflow for updating the flake lock (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrw authored Dec 6, 2023
1 parent 1972db6 commit 1b22def
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/update-flake-lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: update-flake-lock
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
on:
workflow_dispatch: # allows manual triggering
schedule:
- cron: '5 4 * * 5' # runs weekly on Friday morning at 04:05

jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
with:
extra-conf: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@v20
with:
pr-title: Update flake.lock
pr-labels: |
dependencies
automated
token: ${{ secrets.PIPELINE_TOKEN }}
base: main

0 comments on commit 1b22def

Please sign in to comment.