From 53f8419d5c96bd96a199ffdffa37ccc1ffc73e99 Mon Sep 17 00:00:00 2001 From: Rehan Butt Date: Mon, 12 Feb 2024 21:32:13 -0800 Subject: [PATCH] Update version-check.yml --- .github/workflows/version-check.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/version-check.yml b/.github/workflows/version-check.yml index 2c58c35d..6f2da047 100644 --- a/.github/workflows/version-check.yml +++ b/.github/workflows/version-check.yml @@ -30,10 +30,11 @@ jobs: echo "Version incremented. Check passed." else echo "Error: Version in 'config.yml' was not incremented. Please update the version before merging." - exit 1 + exit 1 # This line triggers a failure by exiting with a non-zero code fi else - echo "config.yml not modified. Skipping version check." + echo "Error: config.yml not modified in this pull request. Please make changes to config.yml before merging." + exit 1 # This line triggers a failure by exiting with a non-zero code fi env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}