mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
Add scaffolding for model diff job
This commit is contained in:
27
.github/workflows/java-model-diff.yml
vendored
Normal file
27
.github/workflows/java-model-diff.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
name: Diff generated Models as Data
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
projects:
|
||||
description: "The projects to generate models for"
|
||||
required: true
|
||||
default: '["netty/netty"]'
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- "java/ql/src/utils/model-generator/**/*.*"
|
||||
|
||||
jobs:
|
||||
model-diff:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Clone self (github/codeql) for baseline
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
path: codeql-baseline
|
||||
ref: ${{ github.base_ref }}
|
||||
Reference in New Issue
Block a user