Skip to content

Commit

Permalink
chore(ci): Add CI job to update flake dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 committed Mar 8, 2024
1 parent 1fb24a7 commit 7863b98
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/update-flake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Update flake dependencies

on:
schedule:
- cron: '0 16 * * 5'
workflow_dispatch: # for allowing manual triggers of the workflow

jobs:
update-dependencies:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: update flake.lock
run: nix flake update
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
commit-message: "flake: update dependencies"
title: "[automation] update flake dependencies"
branch: "automation/update-flake-dependencies"

0 comments on commit 7863b98

Please sign in to comment.