Skip to content

Commit

Permalink
Add github action to update flake lock each Monday morning
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonFriberg committed Oct 27, 2024
1 parent 2dc02d8 commit f6c430b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/update-home-manager-deps-actions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: update-flake-lock
on:
workflow_dispatch: # allows manual triggering
schedule:
- cron: '35 06 * * MON' # runs weekly on Monday at 06:45

jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v1
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@vX
with:
git-author-name: 'Anton Frost'
git-author-email: '[email protected]'
git-committer-name: 'Anton Frost'
git-committer-email: '[email protected]'

0 comments on commit f6c430b

Please sign in to comment.