Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tamada committed Jul 14, 2023
1 parent 2b8f665 commit 2968ed2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/create_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,11 @@ jobs:
echo "tag=${TAG}" >> $GITHUB_OUTPUT
COMMIT_MESSAGE=$(echo "${HEAD_MESSAGE}" | sed -n -e 1p)
echo "message=${COMMIT_MESSAGE}" >> "$GITHUB_OUTPUT"
echo "tag: ${TAG}, check pr: $(gh pr list -S "Release v${TAG}"in:title)"
echo "count=$(gh pr list -S "Release v${TAG}"in:title | wc -l)" >> "$GITHUB_OUTPUT"
- name: Create Release Pull Request
if: ${{ steps.check_pr.outputs.count == 0 }}
run: |
echo "count: ${{ steps.check_pr.outputs.count }}"
gh pr create \
-B main \
-t 'Release v${{ steps.check_pr.outputs.tag }} ${{ steps.check_pr.outputs.message }}' \
Expand Down

0 comments on commit 2968ed2

Please sign in to comment.