Skip to content

Update Grammars

Update Grammars #216

name: Update Grammars
on:
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target:
- actionscript
- ada
- agda
- arduino
- asm
- astro
- bash
- beancount
- bibtex
- c
- c-sharp
- clojure
- cmake
- comment
- commonlisp
- cpp
- css
- csv
- d
- dart
- dockerfile
- elisp
- elixir
- elm
- erlang
- fennel
- fish
- fluent
- fortran
- gdscript
- git-rebase
- gitattributes
- gitcommit
- gitignore
- gleam
- glsl
- go
- gpr
- groovy
- haskell
- haxe
- hcl
- heex
- hlsl
- html
- jai
- janet-simple
- java
- javascript
- jsdoc
- json
- jsonnet
- julia
- kotlin
- latex
- llvm
- llvm-mir
- lua
- magik
- make
- markdown
- markdown-inline
- mermaid
- meson
- ninja
- nix
- noir
- ocaml
- ocaml-interface
- org
- pascal
- perl
- pgn
- php
- prisma
- python
- r
- racket
- rst
- ruby
- rust
- scala
- scheme
- smithy
- solidity
- sql
- svelte
- swift
- tablegen
- tcl
- toml
- twig
- typescript
- typst
- verilog
- vhdl
- xml
- yaml
- zig
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
- name: Update ${{ matrix.target }} submodule
run: |
git submodule init repos/${{ matrix.target }}
git submodule update --checkout repos/${{ matrix.target }}
git submodule update --remote --merge repos/${{ matrix.target }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
title: 'chore: Bump ${{ matrix.target }} grammar'
body: ''
commit-message: 'chore: Bump ${{ matrix.target }} grammar'
branch: bump-${{ matrix.target }}
delete-branch: true