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

upload-imageのoutputsにrevisionを追加 #56

Merged
merged 4 commits into from
Dec 26, 2023
Merged

Conversation

halkt
Copy link
Member

@halkt halkt commented Dec 25, 2023

  • .github/actions/upload-images.yamlのoutputsにrevisionを追加しました
  • .github/actions/push-draft.yamlでrevisionを受け取れるように変更しました

@halkt halkt assigned halkt and unassigned theoremoon Dec 26, 2023
@halkt halkt changed the title outputsを追加 upload-imageのoutputsにrevisionを追加 Dec 26, 2023
@@ -2,6 +2,10 @@ name: "[Reusable workflows] push draft to hatena blog"

on:
workflow_call:
inputs:
revision:
default: ${{ github.event.pull_request.head.sha }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actions/checkoutのrefのデフォルト値は'' のようなのでここもデフォルト空文字列にしておいて、なにもなければactions/checkout のデフォルトの挙動に合わせる、でもよいかな〜と思っていました

Copy link
Member

@theoremoon theoremoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

良いと思います

@halkt halkt merged commit 5869bd8 into main Dec 26, 2023
@halkt halkt deleted the add-outputs-upload-images branch December 26, 2023 03:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants