We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98625b3 commit b1f4cf0Copy full SHA for b1f4cf0
action.yml
@@ -72,8 +72,10 @@ runs:
72
- name: Update mapping file
73
# https://github.com/actions/checkout/tree/2d1c1198e79c30cca5c3957b1e3b65ce95b5356e#push-a-commit-using-the-built-in-token
74
run: |
75
- git config user.name github-actions
76
- git config user.email github-actions@github.com
77
- git commit -am "Update mapping file"
78
- git push
+ if [ -n "$(git status --porcelain)" ]; then
+ git config user.name github-actions
+ git config user.email github-actions@github.com
+ git commit -am "Update mapping file"
79
+ git push
80
+ fi
81
shell: sh
0 commit comments