Commit 6bfab2aa authored by chenhe's avatar chenhe

fix

parent 6f998a91
......@@ -60,8 +60,6 @@ jobs:
fi
done
git config user.name github-actions
git config user.email github-actions@github.com
git add --all
GIT_STATUS=$(git status --porcelain)
......@@ -70,6 +68,9 @@ jobs:
if [ -z "$GIT_STATUS" ]; then
echo "Nothing to commit, skipping push"
else
git config user.name github-actions
git config user.email github-actions@github.com
git commit -m "Sync how-to markdown files from PR #${{ github.event.pull_request.number }} on main repo"
echo "Pushing files to $TARGET_BRANCH branch of $TARGET_REPO"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment