Skip to content

Commit

Permalink
actions: add a flake update action
Browse files Browse the repository at this point in the history
  • Loading branch information
detroyejr committed Sep 16, 2024
1 parent 5a19d25 commit 56dd71a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/flake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: update-flake-lock
on:
workflow_dispatch: # allows manual triggering
schedule:
- cron: '0 0 */3 * *' # runs every 3 days

jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v14
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@v24
with:
token: ${{ secrets.GITHUB_TOKEN }}
pr-title: "flake: bump flake.lock"
commit-msg: "flake: bump flake.lock"

0 comments on commit 56dd71a

Please sign in to comment.