Skip to content

Commit

Permalink
ci: Add workflow - fix command
Browse files Browse the repository at this point in the history
  • Loading branch information
noritakaIzumi committed Nov 4, 2024
1 parent c387649 commit e1e02fb
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/create-pr-code-owner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,13 @@ jobs:
- name: Create PR (after clean)
working-directory: .github
run: |
gh pr close ${{ steps.extract_branch.outputs.branch }} --comment "This PR is deprecated." || true
gh pr close ${{ github.event.ref }} --comment "This PR is deprecated." || true
gh pr create \
--base ${{ env.base-branch }} \
--head ${{ steps.extract_branch.outputs.branch }} \
--title ${{ steps.extract_branch.outputs.branch }} \
--head ${{ github.event.ref }} \
--title ${{ github.event.ref }} \
--body-file "pull_request_template.md" \
--reviewer ${{ env.reviewers }} \
--assignee ${{ github.actor }} \
--draft
--assignee ${{ github.actor }}
env:
GH_TOKEN: ${{ steps.generate-token.outputs.token }}

0 comments on commit e1e02fb

Please sign in to comment.