Skip to content

Commit

Permalink
test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
chen.xiaojie 陳暁傑 committed May 11, 2024
1 parent cdde2db commit 227bcdc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,8 @@ jobs:
git config --global user.name "GitHub Action Bot"
commit_message=$(git log --format=%B -n 1)
if [[ "$commit_message" != *"Fix characters"* ]]; then
git diff --name-only ${{ github.event.before }} ${{ github.event.after }} | while IFS= read -r file; do
echo "$file"
if [[ "$file" == *.md ]]; then
sed -i 's/:/: /g; s/(/(/g; s/)/)/g' "$file"
fi
done
else
echo "Commit message contains 'Fix characters'. Skipping further steps."
Expand Down

0 comments on commit 227bcdc

Please sign in to comment.