Skip to content

Commit

Permalink
Merge pull request #80 from hatena/update-create-draft-pull-request
Browse files Browse the repository at this point in the history
下書き用の記事のPull Requestの作成時はPull Request自体もdraft状態で作成する
  • Loading branch information
halkt committed Jun 24, 2024
2 parents 8924b8c + be22a86 commit 10f8b51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/create-draft-pull-request/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ runs:
shell: bash
- name: move draft and update metadata
uses: hatena/hatenablog-workflows/.github/actions/move-draft-and-update-metadata@v1
- name: create pull request
- name: create draft pull request
uses: peter-evans/create-pull-request@v6
env:
OWNER_NAME: ${{ steps.set-owner.outputs.OWNER_NAME }}
Expand All @@ -57,3 +57,4 @@ runs:
- 編集ページのURL: https://blog.hatena.ne.jp/${{ env.OWNER_NAME }}/${{ inputs.BLOG_DOMAIN }}/edit?entry=${{ env.ENTRY_ID }}
- プレビューへのURL: ${{ env.PREVIEW_URL == 'null' && 'なし' || env.PREVIEW_URL }}
delete-branch: true
draft: true

0 comments on commit 10f8b51

Please sign in to comment.