Commit 2d1e210 1 parent 8efab5f commit 2d1e210 Copy full SHA for 2d1e210
File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 35
35
for file in *.yaml ; do
36
36
target=`basename -s .yaml $file`.json
37
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
38
+ vendor/bin/php-openapi convert --read-yaml $file --write-json $target
39
+ vendor/bin/indent --tabs --tabstop=4 $target
40
+ vendor/bin/indent --spaces --tabstop=2 $target
43
41
done
44
42
45
43
- name : cleanup
51
49
run : |
52
50
cd examples/v3.0
53
51
git add *.json
54
- git diff --staged
52
+ git --no-pager -c color.diff=always diff --staged
55
53
56
54
- name : Create Pull Request
57
55
uses : peter-evans/create-pull-request@v1
You can’t perform that action at this time.
0 commit comments