forked from Tufin/oasdiff-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
30 lines (30 loc) · 821 Bytes
/
action.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
name: 'OpenAPI Spec Diff with stdout support'
description: 'A diff tool for OpenAPI Specification 3'
inputs:
base:
description: 'Path of original OpenAPI spec in YAML or JSON format'
required: true
revision:
description: 'Path of revised OpenAPI spec in YAML or JSON format'
required: true
format:
description: 'Output format'
required: false
default: 'yaml'
breaking-only:
description: 'Display breaking changes only'
required: false
default: false
fail-on-diff:
description: 'Fail with exit code 1 if a difference is found'
required: false
default: false
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.base }}
- ${{ inputs.revision }}
- ${{ inputs.format }}
- ${{ inputs.breaking-only }}
- ${{ inputs.fail-on-diff }}