-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (41 loc) · 1.35 KB
/
model-diff-on-update.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Model Diff on Update
on:
workflow_dispatch:
inputs:
model_handle:
description: "Data model handle (e.g. GDC)"
required: true
prev_model_files:
description: "Prev model file names to compare"
required: true
default: |
dss-classification-scheme.yml dss-props.yml dss-terms.yml
new_model_files:
description: "New model file names to compare"
required: true
default: |
dss-classification-scheme.yml dss-props.yml dss-terms.yml
model_directory:
description: "Directory containing model files"
required: true
default: model-desc
prev_ref:
description: "Previous commit ref to check out"
required: true
new_ref:
description: "New commit ref to check out"
required: true
jobs:
model-diff:
runs-on: ubuntu-latest
steps:
- name: Get Model Diff
id: get-diff
uses: CBIIT/bento-workflows/.github/workflows/[email protected]
with:
model_handle: ${{ inputs.model_handle }}
model_directory: ${{ inputs.model_directory }}
prev_model_files: ${{ inputs.prev_model_files }}
new_model_files: ${{ inputs.new_model_files }}
prev_ref: ${{ inputs.prev_ref }}
new_ref: ${{ inputs.new_ref }}