File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -17,12 +17,15 @@ jobs:
1717 - name : Check for changes
1818 id : changes
1919 run : |
20- if git diff --quiet; then
20+ if git diff --quiet inst/apa-old-doi-prefix.csl; then
21+ echo "::set-output name=changed::false"
2122 echo "No changes to commit"
22- exit 0
23+ else
24+ echo "::set-output name=changed::true"
2325 fi
2426
25- - name : Commit and push if changed
27+ - name : Commit and push
28+ if : steps.changes.outputs.changed == 'true'
2629 run : |
2730 git config --local user.email "[email protected] " 2831 git config --local user.name "GitHub Actions"
Original file line number Diff line number Diff line change 11Version: 1.0
2+ ProjectId: 528dae67-5fc0-40fd-bdab-0fcaa6eafbc2
23
34RestoreWorkspace: Default
45SaveWorkspace: Default
You can’t perform that action at this time.
0 commit comments