-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (33 loc) · 979 Bytes
/
nvim.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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