-
Notifications
You must be signed in to change notification settings - Fork 6
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
release: trigger release processes when release workflow succeeded #47
base: main
Are you sure you want to change the base?
Conversation
3700adc
to
a82b318
Compare
GitHub: groongaGH-43 In this PR, we set up how release flow is triggered from webhook requests.
a82b318
to
e4f8727
Compare
I'm thinking I will add the test at the following PRs because this PR has already had a lots of changes. |
private | ||
|
||
def workflow_tag? | ||
return if branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return if branch | |
return false unless branch |
条件合ってます?
?
なので真偽値を返すと良さげ。
require_relative "response" | ||
require_relative "source-archive" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
このファイルはコミット漏れ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mainの変更を取り込めてなかったので、後ほどrebaseします 🙏🏾
|
||
def parse_payload(request, response) | ||
unless request.media_type == "application/json" | ||
response.set(:bad_request, "invalid payload format") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
parse_payload
で response.set
までしちゃうのは越権行為な気がするんですがどうでしょうか。
parse
ならばそれだけに専念したほうが良さそうに思います。
GitHub: GH-43
In this PR, we set up how release flow is triggered from webhook
requests.