Skip to content

Update nvim plugins #246

Update nvim plugins

Update nvim plugins #246

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
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.CI_APP_ID }}
private-key: ${{ secrets.CI_PRIVATE_KEY }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
title: Update vim plugins
token: ${{ steps.app-token.outputs.token }}
labels: |
auto-merge