diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index a073333..c64568f 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -48,8 +48,12 @@ jobs: ### ✅ PR Title Formatted Correctly The title of this PR has been updated to match the correct format. Thank you! - - name: Fail the job - if: ${{ steps.check.outputs.success == 'false'}} + - name: Validate PR title format run: | - echo "PR title is not formatted correctly. Please update the title to match the format." - exit 1 + if [ "${{ steps.check.outputs.success }}" = "true" ]; then + echo "PR title format is correct." + exit 0 + else + echo "PR title is not formatted correctly. Please update the title to match the format." + exit 1 + fi diff --git a/README.md b/README.md index 85e29e6..8935b4f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # Version Playground -Testing... \ No newline at end of file +Testing.... \ No newline at end of file