We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8efab5f commit 2d1e210Copy full SHA for 2d1e210
.github/workflows/yaml2json.yml
@@ -35,11 +35,9 @@ jobs:
35
for file in *.yaml ; do
36
target=`basename -s .yaml $file`.json
37
echo "converting $file to $target ..."
38
- if [ "$file" != "api-with-examples.yaml" ] ; then
39
- vendor/bin/php-openapi convert --read-yaml $file --write-json $target
40
- vendor/bin/indent --tabs --tabstop=4 $target
41
- vendor/bin/indent --spaces --tabstop=2 $target
42
- fi
+ vendor/bin/php-openapi convert --read-yaml $file --write-json $target
+ vendor/bin/indent --tabs --tabstop=4 $target
+ vendor/bin/indent --spaces --tabstop=2 $target
43
done
44
45
- name: cleanup
@@ -51,7 +49,7 @@ jobs:
51
49
run: |
52
50
cd examples/v3.0
53
git add *.json
54
- git diff --staged
+ git --no-pager -c color.diff=always diff --staged
55
56
- name: Create Pull Request
57
uses: peter-evans/create-pull-request@v1
0 commit comments