aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2020-11-29 13:30:46 +0100
committerThomas Vigouroux <tomvig38@gmail.com>2020-11-30 11:19:22 +0100
commit3b3c0098a6d856f739df1ebc109918ddf8d6f31b (patch)
tree8910b797cfd59060f1a78956dc906d02ceade3bf /.github
parentAdd "Update parsers workflow" (diff)
downloadnvim-treesitter-3b3c0098a6d856f739df1ebc109918ddf8d6f31b.tar
nvim-treesitter-3b3c0098a6d856f739df1ebc109918ddf8d6f31b.tar.gz
nvim-treesitter-3b3c0098a6d856f739df1ebc109918ddf8d6f31b.tar.bz2
nvim-treesitter-3b3c0098a6d856f739df1ebc109918ddf8d6f31b.tar.lz
nvim-treesitter-3b3c0098a6d856f739df1ebc109918ddf8d6f31b.tar.xz
nvim-treesitter-3b3c0098a6d856f739df1ebc109918ddf8d6f31b.tar.zst
nvim-treesitter-3b3c0098a6d856f739df1ebc109918ddf8d6f31b.zip
Fix update-parsers workflow
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/update-parsers-pr.yml15
1 files changed, 11 insertions, 4 deletions
diff --git a/.github/workflows/update-parsers-pr.yml b/.github/workflows/update-parsers-pr.yml
index cded1e6e6..cf7b0532a 100644
--- a/.github/workflows/update-parsers-pr.yml
+++ b/.github/workflows/update-parsers-pr.yml
@@ -1,14 +1,18 @@
name: Make Parser Update PR
-on: push
+on:
+ push:
+ branches:
+ - master
jobs:
update-parsers:
name: Update parsers
runs-on: ubuntu-latest
- #if: github.ref == 'master'
steps:
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v2
+ with:
+ fetch-depth: 0
- name: Prepare
run: |
@@ -19,10 +23,13 @@ jobs:
mkdir -p ~/.local/share/nvim/site/pack/nvim-treesitter/start
ln -s $(pwd) ~/.local/share/nvim/site/pack/nvim-treesitter/start
- # inspired by nvim-lspconfigs
- name: Update parsers
run: |
./nvim.appimage --headless -c "luafile ./scripts/write-lockfile.lua" -c "q"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
+ with:
+ commit-message: Update lockfile.json
+ title: Update lockfile.json
+ branch: update-lockfile-pr