Skip to content

Commit

Permalink
update github-pull-request-creation.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tsubakimoto committed Jul 18, 2023
1 parent cda5e53 commit 83fbd63
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/github-pull-request-creation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,18 @@ jobs:
echo "**title**"
echo $TITLE
- name: Create a pull request
run: |
gh pr create \
--base main \
--head $BRANCH \
--title "$TITLE" \
--body ""
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
base: main
branch: ${{ env.BRANCH }}
title: ${{ env.TITLE }}
# - name: Create a pull request
# run: |
# gh pr create \
# --base main \
# --head $BRANCH \
# --title "$TITLE" \
# --body ""
# env:
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 83fbd63

Please sign in to comment.