Skip to content

Commit

Permalink
Update CheckWikiUpdates.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
axunonb authored Jul 6, 2024
1 parent a31698d commit 35ae290
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
printf "commitMessage=\"%s\"\n" "$(git log -1 --pretty=%B) | tr '\n' ' !NL! '" >> $GITHUB_ENV
printf "commitMessage=\"%s\"\n" "$(git log -1 --pretty=%B | tr '\n' ' _NL_ ' | 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 35ae290

Please sign in to comment.