Skip to content

Commit

Permalink
Edit flags on gh pr commands
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-riggs committed Aug 22, 2024
1 parent 4f85439 commit 98d5ef9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/scripts/create-orm-update-pull-request
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ echo "https://${GITHUB_TOKEN}:@github.com" > .git/credentials
echo

echo "##[section]Check for existing pull request"
gh pr list -B ${BRANCH} -f '%H%n' | grep "^orm-update$" && {
gh pr list -B ${BRANCH} | grep "orm-update" && {
echo Pull request already exists. Stopping here.
exit
} || {
Expand All @@ -31,8 +31,7 @@ echo

echo "##[section]Creating pull request"
git push -f --set-upstream origin orm-update
gh pr create -B ${BRANCH} -H orm-update -f -m "ISPyB ORM schema update v${DATABASE_SCHEMA}
gh pr create -B ${BRANCH} -H orm-update -t "ISPyB ORM schema update v${DATABASE_SCHEMA}" -b "
This is an automated pull request to update the ISPyB ORM schema.
Before merging this pull request you may want to
Expand Down

0 comments on commit 98d5ef9

Please sign in to comment.