From 5e2ab2aeaecddc7fc0677336ff33220cdbb78d95 Mon Sep 17 00:00:00 2001 From: Noritaka IZUMI Date: Mon, 4 Nov 2024 20:08:28 +0900 Subject: [PATCH] ci: Add workflow - fix command --- .github/workflows/create-pr-code-owner.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/create-pr-code-owner.yml b/.github/workflows/create-pr-code-owner.yml index 2a0f16f..045f54e 100644 --- a/.github/workflows/create-pr-code-owner.yml +++ b/.github/workflows/create-pr-code-owner.yml @@ -17,11 +17,6 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - name: Extract branch name - id: extract_branch - shell: bash - run: echo "branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT - - uses: actions/create-github-app-token@v1 id: generate-token with: @@ -38,6 +33,7 @@ jobs: --title ${{ github.event.ref }} \ --body-file "pull_request_template.md" \ --reviewer ${{ env.reviewers }} \ - --assignee ${{ github.actor }} + --assignee ${{ github.actor }} \ + --draft env: GH_TOKEN: ${{ steps.generate-token.outputs.token }}