File tree Expand file tree Collapse file tree 9 files changed +13
-13
lines changed
actions/create-draft-pull-request Expand file tree Collapse file tree 9 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 4343 done
4444 shell : bash
4545 - name : move draft and update metadata
46- uses : hatena/hatenablog-workflows/.github/actions/move-draft-and-update-metadata@ce4c0e01255ad9348842e5ce09809c3ec499e43d # v2.0.5
46+ uses : hatena/hatenablog-workflows/.github/actions/move-draft-and-update-metadata@819612d4ea1218f10ead435144b1e7c264493127 # v2.0.6
4747 - name : get pull request template
4848 id : get-pull-request-template
4949 env :
Original file line number Diff line number Diff line change 2727 with :
2828 fetch-depth : 0
2929 - name : setup
30- uses : hatena/hatenablog-workflows/.github/actions/setup@ce4c0e01255ad9348842e5ce09809c3ec499e43d # v2.0.5
30+ uses : hatena/hatenablog-workflows/.github/actions/setup@819612d4ea1218f10ead435144b1e7c264493127 # v2.0.6
3131 - name : setup draft
3232 run : |
3333 yq --front-matter="process" ".Title=strenv(TITLE)" draft.template > draft
4747 run : |
4848 blogsync fetch ${{ steps.post-draft.outputs.ENTRY_PATH }}
4949 - name : pull draft by title
50- uses : hatena/hatenablog-workflows/.github/actions/create-draft-pull-request@ce4c0e01255ad9348842e5ce09809c3ec499e43d # v2.0.5
50+ uses : hatena/hatenablog-workflows/.github/actions/create-draft-pull-request@819612d4ea1218f10ead435144b1e7c264493127 # v2.0.6
5151 with :
5252 title : ${{ inputs.title }}
5353 draft : ${{ inputs.draft }}
Original file line number Diff line number Diff line change 2323 with :
2424 fetch-depth : 0
2525 - name : setup
26- uses : hatena/hatenablog-workflows/.github/actions/setup@ce4c0e01255ad9348842e5ce09809c3ec499e43d # v2.0.5
26+ uses : hatena/hatenablog-workflows/.github/actions/setup@819612d4ea1218f10ead435144b1e7c264493127 # v2.0.6
2727 - name : set blog domain
2828 id : set-domain
2929 run : |
3434 blogsync pull ${{ steps.set-domain.outputs.BLOG_DOMAIN }}
3535 - name : move draft and update metadata
3636 if : inputs.is_draft_included == true
37- uses : hatena/hatenablog-workflows/.github/actions/move-draft-and-update-metadata@ce4c0e01255ad9348842e5ce09809c3ec499e43d # v2.0.5
37+ uses : hatena/hatenablog-workflows/.github/actions/move-draft-and-update-metadata@819612d4ea1218f10ead435144b1e7c264493127 # v2.0.6
3838 - name : delete draft files
3939 if : inputs.is_draft_included == false
4040 run : |
Original file line number Diff line number Diff line change 2727 with :
2828 fetch-depth : 0
2929 - name : setup
30- uses : hatena/hatenablog-workflows/.github/actions/setup@ce4c0e01255ad9348842e5ce09809c3ec499e43d # v2.0.5
30+ uses : hatena/hatenablog-workflows/.github/actions/setup@819612d4ea1218f10ead435144b1e7c264493127 # v2.0.6
3131 - name : set blog domain
3232 id : set-domain
3333 run : |
5252 fi
5353 echo "ENTRY_PATH=$entry_path" >> $GITHUB_OUTPUT
5454 - name : pull draft by title
55- uses : hatena/hatenablog-workflows/.github/actions/create-draft-pull-request@ce4c0e01255ad9348842e5ce09809c3ec499e43d # v2.0.5
55+ uses : hatena/hatenablog-workflows/.github/actions/create-draft-pull-request@819612d4ea1218f10ead435144b1e7c264493127 # v2.0.6
5656 with :
5757 title : ${{ inputs.title }}
5858 draft : ${{ inputs.draft }}
Original file line number Diff line number Diff line change 2020 with :
2121 fetch-depth : 0
2222 - name : setup
23- uses : hatena/hatenablog-workflows/.github/actions/setup@ce4c0e01255ad9348842e5ce09809c3ec499e43d # v2.0.5
23+ uses : hatena/hatenablog-workflows/.github/actions/setup@819612d4ea1218f10ead435144b1e7c264493127 # v2.0.6
2424 - name : set blog domain
2525 id : set-domain
2626 run : |
Original file line number Diff line number Diff line change 88
99jobs :
1010 upload-images :
11- uses : hatena/hatenablog-workflows/.github/workflows/upload-images.yaml@ce4c0e01255ad9348842e5ce09809c3ec499e43d # v2.0.5
11+ uses : hatena/hatenablog-workflows/.github/workflows/upload-images.yaml@819612d4ea1218f10ead435144b1e7c264493127 # v2.0.6
1212 secrets :
1313 OWNER_API_KEY : ${{ secrets.OWNER_API_KEY }}
1414 push-draft :
2323 ref : ${{ needs.upload-images.result == 'success' && needs.upload-images.outputs.revision || '' }}
2424 fetch-depth : 0
2525 - name : setup
26- uses : hatena/hatenablog-workflows/.github/actions/setup@ce4c0e01255ad9348842e5ce09809c3ec499e43d # v2.0.5
26+ uses : hatena/hatenablog-workflows/.github/actions/setup@819612d4ea1218f10ead435144b1e7c264493127 # v2.0.6
2727 - name : Get changed draft files
2828 id : changed-draft-files
2929 uses : tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47.0.0
Original file line number Diff line number Diff line change 99jobs :
1010 upload-images :
1111 if : github.event.pull_request.merged == false
12- uses : hatena/hatenablog-workflows/.github/workflows/upload-images.yaml@ce4c0e01255ad9348842e5ce09809c3ec499e43d # v2.0.5
12+ uses : hatena/hatenablog-workflows/.github/workflows/upload-images.yaml@819612d4ea1218f10ead435144b1e7c264493127 # v2.0.6
1313 secrets :
1414 OWNER_API_KEY : ${{ secrets.OWNER_API_KEY }}
Original file line number Diff line number Diff line change 2323 with :
2424 fetch-depth : 0
2525 - name : setup
26- uses : hatena/hatenablog-workflows/.github/actions/setup@ce4c0e01255ad9348842e5ce09809c3ec499e43d # v2.0.5
26+ uses : hatena/hatenablog-workflows/.github/actions/setup@819612d4ea1218f10ead435144b1e7c264493127 # v2.0.6
2727 - name : Get changed draft files
2828 id : changed-draft-files
2929 uses : tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47.0.0
Original file line number Diff line number Diff line change 2323 with :
2424 fetch-depth : 0
2525 - name : setup
26- uses : hatena/hatenablog-workflows/.github/actions/setup@ce4c0e01255ad9348842e5ce09809c3ec499e43d # v2.0.5
26+ uses : hatena/hatenablog-workflows/.github/actions/setup@819612d4ea1218f10ead435144b1e7c264493127 # v2.0.6
2727 - name : Get changed files
2828 id : changed-files
2929 uses : tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47.0.0
You can’t perform that action at this time.
0 commit comments