aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/test-generate.yml
blob: 0735f9f2cb650c2f47a04b9c981d4b8c45236e5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: Tests

on:
  pull_request:
    types: [unlabeled, labeled, opened, synchronize, reopened]
    branches:
      - "main"
  workflow_dispatch:

concurrency:
  group: ${{ github.workflow }}-generate-${{ github.ref }}
  cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
  check_compilation:
    name: Generate
    if: contains(github.event.pull_request.labels.*.name, 'ci:generate') || github.event_name == 'workflow_dispatch'
    uses: ./.github/workflows/test-core.yml
    with:
      type: "generate"