aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/update-readme.yml
diff options
context:
space:
mode:
authorObserverOfTime <chronobserver@disroot.org>2023-08-15 20:32:47 +0300
committerObserverOfTime <chronobserver@disroot.org>2023-08-18 11:09:57 +0300
commit1a4116aef1a8cde047b4cbe160ad18ebb00c134f (patch)
tree2037e7afb368e414e08cd8801271ecc185e20f87 /.github/workflows/update-readme.yml
parentci: add shebangs to scripts (diff)
downloadnvim-treesitter-1a4116aef1a8cde047b4cbe160ad18ebb00c134f.tar
nvim-treesitter-1a4116aef1a8cde047b4cbe160ad18ebb00c134f.tar.gz
nvim-treesitter-1a4116aef1a8cde047b4cbe160ad18ebb00c134f.tar.bz2
nvim-treesitter-1a4116aef1a8cde047b4cbe160ad18ebb00c134f.tar.lz
nvim-treesitter-1a4116aef1a8cde047b4cbe160ad18ebb00c134f.tar.xz
nvim-treesitter-1a4116aef1a8cde047b4cbe160ad18ebb00c134f.tar.zst
nvim-treesitter-1a4116aef1a8cde047b4cbe160ad18ebb00c134f.zip
ci: update workflows
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