Skip to content

Commit

Permalink
update github-repository-commit.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tsubakimoto authored Jul 18, 2023
1 parent 6ec8750 commit 6ad82ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/github-pull-request-creation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ name: GitHub pull request creation
on:
workflow_call:
inputs:
branch:
branch-name:
description: "Branch name"
required: true
type: string

env:
PR_TITLE: "PR from ${{ inputs.branch }}"
TITLE: "PR from ${{ inputs.branch-name }}"

jobs:
create-pull-request:
Expand All @@ -18,8 +18,8 @@ jobs:
- name: Create a pull request
run: |
gh pr create \
--base ${{ inputs.branch }} \
--title $PR_TITLE \
--base ${{ inputs.branch-name }} \
--title $TITLE \
--body ""
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/github-repository-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ jobs:
needs: commit-on-branch
uses: ./.github/workflows/github-pull-request-creation.yml
with:
branch: $BRANCH
branch-name: $BRANCH

0 comments on commit 6ad82ef

Please sign in to comment.