Skip to content

Commit

Permalink
nix: add dependabot and flake update automation (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
schonfinkel authored Sep 21, 2024
1 parent 08e3ab1 commit d9a5fd3
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
target-branch: "main"
schedule:
interval: "weekly"
commit-message:
prefix: "ci:"
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:
workflow_dispatch: # allows manual triggering
schedule:
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00

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"
pr-labels: |
dependencies

0 comments on commit d9a5fd3

Please sign in to comment.