Skip to content

Commit

Permalink
Test #1
Browse files Browse the repository at this point in the history
  • Loading branch information
donhardman committed Oct 28, 2024
1 parent 62e6f09 commit 23e5edb
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions actions/update-deps/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,15 @@ runs:
git push -u origin ${{ steps.branch.outputs.branch }}
fi
pr_url=$(gh pr list --head ${{ steps.branch.outputs.branch }} --json url --jq '.[0].url')
if [ -z "$pr_url" ]; then
gh pr create --base ${{ steps.branch.outputs.target }} --head ${{ steps.branch.outputs.branch }} \
--title "${{ steps.commit-message.outputs.title }}" \
--body-file "${{ steps.commit-message.outputs.body-path }}"
else
gh pr edit "$pr_url" \
--title "${{ steps.commit-message.outputs.title }}" \
--body-file "${{ steps.commit-message.outputs.body-path }}"
fi
# pr_url=$(gh pr list --head ${{ steps.branch.outputs.branch }} --json url --jq '.[0].url')
# if [ -z "$pr_url" ]; then
# gh pr create --base ${{ steps.branch.outputs.target }} --head ${{ steps.branch.outputs.branch }} \
# --title "${{ steps.commit-message.outputs.title }}" \
# --body-file "${{ steps.commit-message.outputs.body-path }}"
# else
# gh pr edit "$pr_url" \
# --title "${{ steps.commit-message.outputs.title }}" \
# --body-file "${{ steps.commit-message.outputs.body-path }}"
# fi
cd ..

0 comments on commit 23e5edb

Please sign in to comment.