aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorObserverOfTime <chronobserver@disroot.org>2023-01-04 18:25:04 +0200
committerChristian Clason <c.clason@uni-graz.at>2023-01-04 17:35:52 +0100
commitb1569394614804aaad4e994731161f253ff61bcc (patch)
tree9cb52876ed1ff1affb31eecd6dae645d7a1442c7 /.github
parentfix: do not force syntax=ON on detach (diff)
downloadnvim-treesitter-b1569394614804aaad4e994731161f253ff61bcc.tar
nvim-treesitter-b1569394614804aaad4e994731161f253ff61bcc.tar.gz
nvim-treesitter-b1569394614804aaad4e994731161f253ff61bcc.tar.bz2
nvim-treesitter-b1569394614804aaad4e994731161f253ff61bcc.tar.lz
nvim-treesitter-b1569394614804aaad4e994731161f253ff61bcc.tar.xz
nvim-treesitter-b1569394614804aaad4e994731161f253ff61bcc.tar.zst
nvim-treesitter-b1569394614804aaad4e994731161f253ff61bcc.zip
ci: properly fix lockfile action
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/update-lockfile.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/update-lockfile.yml b/.github/workflows/update-lockfile.yml
index 41ab41308..eaceb9647 100644
--- a/.github/workflows/update-lockfile.yml
+++ b/.github/workflows/update-lockfile.yml
@@ -45,7 +45,7 @@ jobs:
git config user.name "GitHub"
git config user.email "noreply@github.com"
git add lockfile.json
- UPDATED_PARSERS=$(/tmp/jd -set /tmp/old_lockfile.json lockfile.json | sed -n '/@/s/","revision"]//;s/"]//;s/@ \["//p' | sed 'N;s/\n/, /')
+ UPDATED_PARSERS=$(/tmp/jd -f merge /tmp/old_lockfile.json lockfile.json | jq -r 'keys | join(", ")')
echo "UPDATED_PARSERS=$UPDATED_PARSERS" >> $GITHUB_ENV
git commit -m "Update parsers: $UPDATED_PARSERS" || echo 'No commit necessary!'
git clean -xf