Update nvim plugins #148
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Update nvim plugins" | |
on: | |
repository_dispatch: | |
workflow_dispatch: | |
schedule: | |
- cron: "51 2 * * *" | |
jobs: | |
update-nvim-plugins: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: cachix/install-nix-action@v30 | |
- name: Update vim plugins | |
run: | | |
nix run .#nvim -- --headless "+Lazy! update" +qa | |
cp $HOME/.config/nvim-mic92/lazy-lock.json home/.config/nvim/lazy-lock.json | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
title: Update vim plugins | |
labels: merge-queue |