Skip to content

Commit

Permalink
Create flake update job
Browse files Browse the repository at this point in the history
  • Loading branch information
ThetaSinner committed Mar 15, 2024
1 parent 37ce202 commit 287ac3d
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/flake_update.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "flake_update"

on:
schedule:
# At 7:00am on Monday
- cron: "0 7 * * 1"

jobs:
flake_update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Flake update
run: |
nix flake update
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
commit-message: "Update flake.lock"
title: "Update flake.lock"
body: "This PR updates the flake.lock file."
branch: "update-flake-lock"
branch-suffix: "short-commit-hash"
base: "main"

0 comments on commit 287ac3d

Please sign in to comment.