Update neovim dependencies #65
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 neovim dependencies | |
on: | |
schedule: | |
- cron: '0 0 * * 0' | |
jobs: | |
update-nvim: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup nvim configuration directory | |
run: | | |
mkdir -p "${HOME}/.config" | |
ln -s "${{ github.workspace }}/nvim" "${HOME}/.config/nvim" | |
- name: Update neovim plugins | |
run: | | |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" | |
brew update | |
brew install neovim | |
nvim --headless "+Lazy! sync" +qa | |
- name: Create PR | |
uses: peter-evans/create-pull-request@v5 | |
id: cpr | |
with: | |
token: '${{ secrets.GH_PAT }}' | |
commit-message: Update NeoVim plugins | |
branch: update-plugins | |
base: main | |
signoff: false | |
delete-branch: true | |
title: Update NeoVim plugins | |
body: | | |
Weekly update of NeoVim plugins. | |
draft: false |