has_milestone = github.pr_json["milestone"] != nil
warn "͋ΕΕʁϚΠϧετʔϯ͕ઃఆ͞Εͯͳ͍Αʁ" unless has_milestone
warn "WIPͳͷʁ͘ऴΘΔͱ͍͍Ͷʔʂ" if github.pr_title.include? "[WIP]" or
github.pr_labels.include?("WIP")
if github.branch_for_head.start_with?(“release/") then
message "ҎԼͷWikiͷखॱʹैͬͯ҆શʹϦϦʔε͠Αʔ :rocket: \n
Release Workflow”
end
if github.branch_for_head.start_with?("release/") then
warn "mapping file͕มߋ͞Εͯͳ͍͚Ͳେৎ͔ͳʔʁ" unless
git.diff_for_file("app/mapping/mapping.txt")
end
Dangerfile