From e4d7bc84ec27cf05bf2b8058807cfd2573e09594 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Renato?= <55444699+joserdf@users.noreply.github.com> Date: Thu, 8 Aug 2024 18:07:03 -0300 Subject: [PATCH] wip --- .github/workflows/update-profile.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update-profile.yml b/.github/workflows/update-profile.yml index c489005..3b68a1a 100644 --- a/.github/workflows/update-profile.yml +++ b/.github/workflows/update-profile.yml @@ -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