Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
joserdf authored Aug 8, 2024
1 parent 1521cd2 commit e4d7bc8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/update-profile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:

- name: Check if the profile README is up-to-date
run: |
LAST_COMMIT=$(git log -1 --pretty=format:"%s" -- ./profile/README.md)
echo "Last commit message: '$LAST_COMMIT'"
last_msg=$(git log -1 --pretty=format:"%s" -- ./profile/README.md)
echo "Last commit message: '$last_msg'"
CI_COMMIT="CI: Update date information in README.md"
if [[ "$LAST_COMMIT" == "$CI_COMMIT" ]]; then
if [[ "$last_msg" == "$CI_COMMIT" ]]; then
echo "Profile README is up-to-date"
exit 1
fi
Expand Down

0 comments on commit e4d7bc8

Please sign in to comment.