We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7af6831 commit 1426beaCopy full SHA for 1426bea
.github/workflows/build.yml
@@ -51,13 +51,14 @@ jobs:
51
run: |
52
set -e
53
COMMIT_INFO=$(curl -s https://whatthecommit.com/index.txt)
54
+ echo "$(git status --porcelain)"
55
if [ -n "$(git status --porcelain)" ]; then
56
git config --global user.name "github-actions[bot]"
57
git config --global user.email "github-actions[bot]@users.noreply.github.com"
58
echo "Push to changes"
59
git add --all
60
git commit -m "$COMMIT_INFO"
- git push origin master
61
+ git push origin HEAD:master
62
else
63
echo "No changes to commit"
64
fi
0 commit comments