aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/update-readme.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/update-readme.yml')
-rw-r--r--.github/workflows/update-readme.yml14
1 files changed, 5 insertions, 9 deletions
diff --git a/.github/workflows/update-readme.yml b/.github/workflows/update-readme.yml
index c8673a6a0..7b2c80102 100644
--- a/.github/workflows/update-readme.yml
+++ b/.github/workflows/update-readme.yml
@@ -17,19 +17,15 @@ jobs:
env:
NVIM_TAG: stable
run: |
- sudo apt install libfuse2
- wget https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/nvim.appimage
- chmod u+x nvim.appimage
- mkdir -p ~/.local/share/nvim/site/pack/nvim-treesitter/start
- ln -s $(pwd) ~/.local/share/nvim/site/pack/nvim-treesitter/start
+ bash ./scripts/ci-install-ubuntu-latest.sh
- name: Check README
run: |
- git config user.email "actions@github"
- git config user.name "Github Actions"
- ./nvim.appimage --headless -c "luafile ./scripts/update-readme.lua" -c "q" || echo "Needs update"
+ git config user.email 'actions@github'
+ git config user.name 'Github Actions'
+ nvim -l scripts/update-readme.lua || echo 'Needs update'
git add README.md
- git commit -m "Update README" || echo 'No commit necessary!'
+ git commit -m 'Update README' || echo 'No commit necessary!'
git clean -xf
- name: Create Pull Request