lazy update plugins workflow

This commit is contained in:
cy 2025-01-03 06:18:01 -05:00
parent 2692df5d8b
commit 81f860b0b7

22
.github/workflows/lazy-update.yml vendored Normal file
View 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