Skip to content

Commit

Permalink
Merge pull request #31 from opencrvs/fix-fix
Browse files Browse the repository at this point in the history
testing
  • Loading branch information
adskyiproger authored Feb 27, 2025
2 parents 2071b4f + 257d2a5 commit e3b076a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/on-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,11 @@ jobs:
"""
This PR updates the ${BASE_BRANCH} branch with the latest changes from
the original repository opencrvs:${BASE_BRANCH}.
"""
""" 1>result.txt 2>&1; _res=$?
if [ $? -eq 0 ]; then
printf "PR created successfully: $(grep ${FORK_REPOSITORY_PATH} result.txt)\n"
else
grep ${FORK_REPOSITORY_PATH} result.txt 1>/dev/null &&\
printf "PR already exists: $(grep ${FORK_REPOSITORY_PATH} result.txt)\n" ||\
echo "Failed to create PR"
fi

0 comments on commit e3b076a

Please sign in to comment.