Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

下書き用の記事のPull Requestの作成時はPull Request自体もdraft状態で作成する #80

Merged
merged 1 commit into from
Jun 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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