Skip to content

Commit

Permalink
Merge pull request #1353 from peterbecich/automatic-nix-flake-update
Browse files Browse the repository at this point in the history
GitHub Action to update Nix Flake lock
  • Loading branch information
peterbecich authored Dec 28, 2024
2 parents 8882476 + 92f2970 commit 03afc62
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/update-flake-lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# https://github.com/DeterminateSystems/update-flake-lock
name: update-flake-lock
on:
workflow_dispatch: # allows manual triggering
schedule:
- cron: '0 0 1 * *' # runs on first day of the month

jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@main
with:
pr-title: "Update flake.lock" # Title of PR to be created
pr-labels: | # Labels to be set on the PR
dependencies
automated

0 comments on commit 03afc62

Please sign in to comment.