add workflow to update flake
This commit is contained in:
parent
89bd03d400
commit
003652b5d3
1 changed files with 20 additions and 0 deletions
20
.github/workflows/update-flake-lock.yml
vendored
Normal file
20
.github/workflows/update-flake-lock.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
name: "Update flakes"
|
||||
on:
|
||||
repository_dispatch:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 3 * * *"
|
||||
permissions:
|
||||
pull-requests: write
|
||||
contents: write
|
||||
jobs:
|
||||
createPullRequest:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@v30
|
||||
with:
|
||||
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Update flake.lock
|
||||
uses: DeterminateSystems/update-flake-lock@v24
|
Loading…
Add table
Reference in a new issue