lazy update plugins workflow
This commit is contained in:
parent
2692df5d8b
commit
81f860b0b7
1 changed files with 22 additions and 0 deletions
22
.github/workflows/lazy-update.yml
vendored
Normal file
22
.github/workflows/lazy-update.yml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
name: "update lazy plugins"
|
||||
on:
|
||||
repository_dispatch:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 3 * * *"
|
||||
jobs:
|
||||
update-lazy-plugins:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
- uses: cachix/install-nix-action@v30
|
||||
- name: Update vim plugins
|
||||
run: |
|
||||
export XDG_CONFIG_HOME=$PWD/home
|
||||
nix run nixpkgs#neovim -- --headless "+Lazy! update" +qa
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v7
|
||||
with:
|
||||
title: update lazy plugins
|
Loading…
Add table
Reference in a new issue