aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-05-03 19:55:41 +0200
committerChristian Clason <c.clason@uni-graz.at>2025-05-12 18:43:41 +0200
commitdc8f3415a7d5955f2dba5835fa989927b0ed0d24 (patch)
tree85a1764c54403380f4d028fda473bba6246bee32 /.github/workflows
parentfeat(locals)!: remove locals module (diff)
downloadnvim-treesitter-dc8f3415a7d5955f2dba5835fa989927b0ed0d24.tar
nvim-treesitter-dc8f3415a7d5955f2dba5835fa989927b0ed0d24.tar.gz
nvim-treesitter-dc8f3415a7d5955f2dba5835fa989927b0ed0d24.tar.bz2
nvim-treesitter-dc8f3415a7d5955f2dba5835fa989927b0ed0d24.tar.lz
nvim-treesitter-dc8f3415a7d5955f2dba5835fa989927b0ed0d24.tar.xz
nvim-treesitter-dc8f3415a7d5955f2dba5835fa989927b0ed0d24.tar.zst
nvim-treesitter-dc8f3415a7d5955f2dba5835fa989927b0ed0d24.zip
feat!: update tier 1 parsers to versions
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/update-parsers.yml15
1 files changed, 10 insertions, 5 deletions
diff --git a/.github/workflows/update-parsers.yml b/.github/workflows/update-parsers.yml
index ba3286428..351beef67 100644
--- a/.github/workflows/update-parsers.yml
+++ b/.github/workflows/update-parsers.yml
@@ -10,7 +10,11 @@ env:
jobs:
update-parsers:
- name: Update parsers
+ strategy:
+ fail-fast: false
+ matrix:
+ tier: [1, 2]
+ name: Update parsers tier ${{ matrix.tier }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@@ -35,7 +39,7 @@ jobs:
(cd "$BIN_DIR"; unzip stylua*.zip)
- name: Update parsers
- run: ./scripts/update-parsers.lua
+ run: ./scripts/update-parsers.lua --tier=${{ matrix.tier }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
@@ -44,12 +48,13 @@ jobs:
token: ${{ steps.app-token.outputs.token }}
sign-commits: true
commit-message: "bot(parsers): update ${{ env.UPDATED_PARSERS }}"
- title: "Update parsers: ${{ env.UPDATED_PARSERS }}"
+ title: "Update parsers (tier ${{ matrix.tier }}): ${{ env.UPDATED_PARSERS }}"
body: "[beep boop](https://github.com/peter-evans/create-pull-request)"
- branch: update-parsers-pr
+ branch: update-parsers-tier-${{ matrix.tier }}
base: ${{ github.head_ref }}
- name: Enable Pull Request Automerge
+ if: ${{ matrix.tier == 2 }}
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
- run: gh pr merge --rebase --auto update-parsers-pr
+ run: gh pr merge --rebase --auto update-parsers-tier-2