Skip to content

Commit

Permalink
chore: Remove disallowed characters in commit message (axuno#430)
Browse files Browse the repository at this point in the history
  • Loading branch information
axunonb authored Jul 4, 2024
1 parent 16e432c commit 3cc88a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/CheckWikiUpdates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
DATE=$(git log -1 --format=%cd --date=iso)
FORMATTED_DATE=$(date -d"$DATE" +'%Y-%m-%d %H:%M:%S')
echo "updatedOn=$FORMATTED_DATE" >> $GITHUB_ENV
echo "commitMessage=$(git log -1 --pretty=%B)" | sed 's/%/%25/g' | sed 's/\r/%0D/g' | sed 's/\n/%0A/g' | sed 's/:/%3A/g' | sed 's/ /%20/g' >> $GITHUB_ENV
printf "commitMessage='%s'" "$(git log -1 --pretty=%B | tr "'" "_")" >> $GITHUB_ENV
echo "hash=$(git rev-parse HEAD)" >> $GITHUB_ENV
echo "commitCount=$(git rev-list --count --since='24 hours ago' HEAD)" >> $GITHUB_ENV
- name: Print variables
Expand Down

0 comments on commit 3cc88a0

Please sign in to comment.