Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/actions/create-draft-pull-request/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ runs:
done
shell: bash
- name: move draft and update metadata
uses: hatena/hatenablog-workflows/.github/actions/move-draft-and-update-metadata@2c159def2fce5ebed56e62d70136a4a93a435725 # v2.0.5
uses: hatena/hatenablog-workflows/.github/actions/move-draft-and-update-metadata@ce4c0e01255ad9348842e5ce09809c3ec499e43d # v2.0.5
- name: get pull request template
id: get-pull-request-template
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/create-draft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
with:
fetch-depth: 0
- name: setup
uses: hatena/hatenablog-workflows/.github/actions/setup@2c159def2fce5ebed56e62d70136a4a93a435725 # v2.0.5
uses: hatena/hatenablog-workflows/.github/actions/setup@ce4c0e01255ad9348842e5ce09809c3ec499e43d # v2.0.5
- name: setup draft
run: |
yq --front-matter="process" ".Title=strenv(TITLE)" draft.template > draft
Expand All @@ -47,7 +47,7 @@ jobs:
run: |
blogsync fetch ${{ steps.post-draft.outputs.ENTRY_PATH }}
- name: pull draft by title
uses: hatena/hatenablog-workflows/.github/actions/create-draft-pull-request@2c159def2fce5ebed56e62d70136a4a93a435725 # v2.0.5
uses: hatena/hatenablog-workflows/.github/actions/create-draft-pull-request@ce4c0e01255ad9348842e5ce09809c3ec499e43d # v2.0.5
with:
title: ${{ inputs.title }}
draft: ${{ inputs.draft }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/initialize.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
with:
fetch-depth: 0
- name: setup
uses: hatena/hatenablog-workflows/.github/actions/setup@2c159def2fce5ebed56e62d70136a4a93a435725 # v2.0.5
uses: hatena/hatenablog-workflows/.github/actions/setup@ce4c0e01255ad9348842e5ce09809c3ec499e43d # v2.0.5
- name: set blog domain
id: set-domain
run: |
Expand All @@ -34,7 +34,7 @@ jobs:
blogsync pull ${{ steps.set-domain.outputs.BLOG_DOMAIN }}
- name: move draft and update metadata
if: inputs.is_draft_included == true
uses: hatena/hatenablog-workflows/.github/actions/move-draft-and-update-metadata@2c159def2fce5ebed56e62d70136a4a93a435725 # v2.0.5
uses: hatena/hatenablog-workflows/.github/actions/move-draft-and-update-metadata@ce4c0e01255ad9348842e5ce09809c3ec499e43d # v2.0.5
- name: delete draft files
if: inputs.is_draft_included == false
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pull-draft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
with:
fetch-depth: 0
- name: setup
uses: hatena/hatenablog-workflows/.github/actions/setup@2c159def2fce5ebed56e62d70136a4a93a435725 # v2.0.5
uses: hatena/hatenablog-workflows/.github/actions/setup@ce4c0e01255ad9348842e5ce09809c3ec499e43d # v2.0.5
- name: set blog domain
id: set-domain
run: |
Expand All @@ -52,7 +52,7 @@ jobs:
fi
echo "ENTRY_PATH=$entry_path" >> $GITHUB_OUTPUT
- name: pull draft by title
uses: hatena/hatenablog-workflows/.github/actions/create-draft-pull-request@2c159def2fce5ebed56e62d70136a4a93a435725 # v2.0.5
uses: hatena/hatenablog-workflows/.github/actions/create-draft-pull-request@ce4c0e01255ad9348842e5ce09809c3ec499e43d # v2.0.5
with:
title: ${{ inputs.title }}
draft: ${{ inputs.draft }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
fetch-depth: 0
- name: setup
uses: hatena/hatenablog-workflows/.github/actions/setup@2c159def2fce5ebed56e62d70136a4a93a435725 # v2.0.5
uses: hatena/hatenablog-workflows/.github/actions/setup@ce4c0e01255ad9348842e5ce09809c3ec499e43d # v2.0.5
- name: set blog domain
id: set-domain
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/push-draft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
upload-images:
uses: hatena/hatenablog-workflows/.github/workflows/upload-images.yaml@2c159def2fce5ebed56e62d70136a4a93a435725 # v2.0.5
uses: hatena/hatenablog-workflows/.github/workflows/upload-images.yaml@ce4c0e01255ad9348842e5ce09809c3ec499e43d # v2.0.5
secrets:
OWNER_API_KEY: ${{ secrets.OWNER_API_KEY }}
push-draft:
Expand All @@ -23,7 +23,7 @@ jobs:
ref: ${{ needs.upload-images.result == 'success' && needs.upload-images.outputs.revision || '' }}
fetch-depth: 0
- name: setup
uses: hatena/hatenablog-workflows/.github/actions/setup@2c159def2fce5ebed56e62d70136a4a93a435725 # v2.0.5
uses: hatena/hatenablog-workflows/.github/actions/setup@ce4c0e01255ad9348842e5ce09809c3ec499e43d # v2.0.5
- name: Get changed draft files
id: changed-draft-files
uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47.0.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-published-entries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ on:
jobs:
upload-images:
if: github.event.pull_request.merged == false
uses: hatena/hatenablog-workflows/.github/workflows/upload-images.yaml@2c159def2fce5ebed56e62d70136a4a93a435725 # v2.0.5
uses: hatena/hatenablog-workflows/.github/workflows/upload-images.yaml@ce4c0e01255ad9348842e5ce09809c3ec499e43d # v2.0.5
secrets:
OWNER_API_KEY: ${{ secrets.OWNER_API_KEY }}
2 changes: 1 addition & 1 deletion .github/workflows/push-when-publishing-from-draft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
with:
fetch-depth: 0
- name: setup
uses: hatena/hatenablog-workflows/.github/actions/setup@2c159def2fce5ebed56e62d70136a4a93a435725 # v2.0.5
uses: hatena/hatenablog-workflows/.github/actions/setup@ce4c0e01255ad9348842e5ce09809c3ec499e43d # v2.0.5
- name: Get changed draft files
id: changed-draft-files
uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47.0.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
with:
fetch-depth: 0
- name: setup
uses: hatena/hatenablog-workflows/.github/actions/setup@2c159def2fce5ebed56e62d70136a4a93a435725 # v2.0.5
uses: hatena/hatenablog-workflows/.github/actions/setup@ce4c0e01255ad9348842e5ce09809c3ec499e43d # v2.0.5
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47.0.0
Expand Down