ci: PR title text format update (#24589)

## Description
- This PR fixes the issue in getting in PR title for push workflows
This commit is contained in:
Aishwarya-U-R 2023-06-18 23:17:49 +05:30 committed by GitHub
parent 80dadf71dd
commit d49df9ca5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -287,7 +287,7 @@ jobs:
if [[ ${{ inputs.pr }} -ne 0 ]]; then
echo "COMMIT_INFO_MESSAGE=${{ env.COMMIT_INFO_MESSAGE }}" >> $GITHUB_ENV
else
echo COMMIT_INFO_MESSAGE="${{ env.EVENT_COMMITS }}" | awk -F '\\\\n' '{print $1}' >> $GITHUB_ENV
echo "COMMIT_INFO_MESSAGE=${{ env.EVENT_COMMITS }}" | awk -F '\\\\n' '{print $1}' >> $GITHUB_ENV
fi
- name: Run the cypress test