Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
GitHub PR Milestone Check を使ってみた
Search
KAWASHIMA Yoshiyuki
October 24, 2024
Programming
0
19
GitHub PR Milestone Check を使ってみた
KAWASHIMA Yoshiyuki
October 24, 2024
Tweet
Share
More Decks by KAWASHIMA Yoshiyuki
See All by KAWASHIMA Yoshiyuki
SwiftUI Drag & Drop で困った話
ykws
0
24
Kotlin 2.0.20 から標準ライブラリで UUID が使えるようになりました
ykws
1
210
コードの作者がいるうちに聞こう
ykws
2
480
アラートを効果的に扱おう
ykws
1
330
visionOS に備える
ykws
0
210
モバイルアプリの操作方法を疑ってみる
ykws
0
1.5k
Other Decks in Programming
See All in Programming
ChatGPT とつくる PHP で OS 実装
memory1994
PRO
3
190
情報漏洩させないための設計
kubotak
5
1.3k
混沌とした例外処理とエラー監視に秩序をもたらす
morihirok
13
2.3k
月刊 競技プログラミングをお仕事に役立てるには
terryu16
1
1.2k
watsonx.ai Dojo #6 継続的なAIアプリ開発と展開
oniak3ibm
PRO
0
170
QA環境で誰でも自由自在に現在時刻を操って検証できるようにした話
kalibora
1
140
Внедряем бюджетирование, или Как сделать хорошо?
lamodatech
0
940
shadcn/uiを使ってReactでの開発を加速させよう!
lef237
0
300
Lookerは可視化だけじゃない。UIコンポーネントもあるんだ!
ymd65536
1
130
CQRS+ES の力を使って効果を感じる / Feel the effects of using the power of CQRS+ES
seike460
PRO
0
240
良いユニットテストを書こう
mototakatsu
11
3.6k
カンファレンス動画鑑賞会のススメ / Osaka.swift #1
hironytic
0
170
Featured
See All Featured
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
98
18k
Mobile First: as difficult as doing things right
swwweet
222
9k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.5k
How to Ace a Technical Interview
jacobian
276
23k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Raft: Consensus for Rubyists
vanstee
137
6.7k
Fashionably flexible responsive web design (full day workshop)
malarkey
406
66k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
Designing for humans not robots
tammielis
250
25k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
Transcript
YUMEMI.grow Mobile #17 2024.10.24 GitHub PR Milestone Check Λ ͬͯΈͨ
KAWASHIMA Yoshiyuki
• GitHub PR Milestone Check ͷಋೖखॱ • GitHub PR Milestone
Check Λͬͯେৎʁ ࠓ͍͑ͨ͜ͱ
GitHub ͬͯ·͔͢ʁ
Milestone ͬͯ·͔͢ʁ
PR ͷ Milestone ͕ઃఆ͞Ε͍ͯͳ͍·· Ϛʔδ͞Εͯࠔͬͨ͜ͱ͋Γ·͔͢ʁ
None
• GitHub ͰϦϙδτϦΛ৽نʹ࡞͢Δͱ PR Milestone Check ͕બͰ͖ΔΑ͏ʹͳͬͨ
Pull Request ʹ Milestone ͕ઃఆ ͞Ε͍ͯΔ͔νΣοΫͯ͘͠Ε·͢
None
None
• Marketplace Ͱ͞Ε͍ͯΔ • ແྉ • Ϣʔβʔ·ͨ Organization ͝ͱʹΠϯετʔϧ͕ඞཁ •
ແྉ͕ͩɺݸਓΞΧϯτͰΫϨδοτใ͕ະొͷ߹ɺొ ͕ඞཁʹͳΔ PR Milestone Check
• Settings • Third-party Access • GitHub Apps • PR
Milestone Check • Con fi gure • Repository access • Only Select repositories طଘͷϦϙδτϦͷద༻
• Read access to issues, metadata, and pull requests •
Read and write access to commit statuses ΞϓϦʹඞཁͳ Permissions
• Milestone ͕ະઃఆͩͱ Pending ʹ • ͜ͷঢ়ଶͩͱ Pending ͷ··Ϛʔδ͕Ͱ͖ͯ͠·͏
• Rulesets ͱΈ߹ΘͤΔ • Require status check to pass •
Add Checks ͔Β Milestone Check ΛՃ Milestone ະઃఆͰϚʔδϒϩοΫ
None
• Milestone ͕ະઃఆͩͱ Pending ʹ • ͜ͷঢ়ଶͩͱ Pending ͷ··ͰϚʔδͰ͖ͳ͍
None
εʔύʔϚαΧϦκʔϯ
None
࣮ମʁ
• https://github.com/scholzj/milestone-check • Star 9 • Installs 134 • Java
• Quarkus milestone-check ͷ࣮ମ
• Quarkus Maven Plugin • Apache Maven Compiler Plugin •
Maven Sure fi re Plugin • Maven Failsafe Plugin pom.xml ґଘؔ
ιʔείʔυҰͭ
• Milestone ͷมߋʹରͯ͠ͷ Issue ΠϕϯτͷϑοΫ • Issue ͜ͷΠϕϯτͰ্͕ͬͯ͘ΔͷͰɺ PR ͔ఆͯ͠ɺhandlePullRequest
ʹྲྀ͢
• Pull Request ͷϓογϡΠϕϯτͷϑοΫ • PR ͔དྷͳ͍ͷͰͦͷ··ɺhandlePullRequest ʹྲྀ͢
• Milestone ͕ઃఆ͞Ε͍ͯΔ͔ఆͯ͠ॲཧΛذ
• PR ͷ Status Λߋ৽
• FAILURE_STATE ͱͯ͠ GHCommitState.PENDING Λ͍ͯ͠Δ ͷͰ PR Ͱ Pending ͱදࣔ͞Ε͍ͯΔ
• τʔΫϯͷ՝ΛճආͰ͖ΔͷͰϑΥʔΫʹରԠ͍͢͠ • pull_request Πϕϯτͱ issues Πϕϯτͷ྆ํΛѻ͏ඞཁ͕͋Δ https://github.com/scholzj/milestone-check/issues/7 GitHub App
ͱͯ͠ఏڙ͍ͯ͠Δཧ༝
• GitHub App ͷ࣮ߦϩάݟΔ͜ͱ͕Ͱ͖Δʁ • GitHub App ͷ࣮ߦ͞ΕΔ࣮ମͲ͜ʹ͋ΔʁʢΠϯετʔϧ͞ Εͨ࣌ͷόʔδϣϯ͕ಈ͘ͷ͔ɺৗʹ latest
͕ಈ͘ͷ͔ɺ͜Ε ʹΑͬͯ੬ऑੑͷࠞೖͳͲෆ҆ཁૉ͕ੜ͡Δʣ Θ͔͍ͬͯͳ͍͜ͱ