Skip to content

Commit

Permalink
ci: add update-flake workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
getchoo committed Nov 10, 2023
1 parent 4330e98 commit f510ba4
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/update-flake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Update flake.lock

on:
schedule:
# run every saturday
- cron: "0 0 * * 6"
workflow_dispatch:

jobs:
update:
runs-on: ubuntu-latest

permissions:
contents: write
pull-requests: write

steps:
- uses: actions/checkout@v4

- name: Install Nix
uses: nixbuild/nix-quick-install-action@v26

- name: Update lockfile
uses: DeterminateSystems/update-flake-lock@v20
id: update
with:
commit-msg: "flake: update inputs"
pr-title: "flake: update inputs"
token: ${{ github.token }}

0 comments on commit f510ba4

Please sign in to comment.