mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -04:00
20 lines
529 B
YAML
20 lines
529 B
YAML
name: Generate from grammar
|
|
|
|
on:
|
|
pull_request:
|
|
types: [unlabeled, labeled, opened, synchronize, reopened]
|
|
branches:
|
|
- "main"
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
|
|
|
jobs:
|
|
check_compilation:
|
|
name: Build
|
|
if: contains(github.event.pull_request.labels.*.name, 'ci:generate') || github.event_name == 'workflow_dispatch'
|
|
uses: ./.github/workflows/test-core.yml
|
|
with:
|
|
type: "generate"
|