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
14
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
14
Kotlin 2.0.20 から標準ライブラリで UUID が使えるようになりました
ykws
1
210
コードの作者がいるうちに聞こう
ykws
2
460
アラートを効果的に扱おう
ykws
1
320
visionOS に備える
ykws
0
200
モバイルアプリの操作方法を疑ってみる
ykws
0
1.5k
Other Decks in Programming
See All in Programming
The rollercoaster of releasing an Android, iOS, and macOS app with Kotlin Multiplatform | droidcon Italy
prof18
0
150
わたしの星のままで一番星になる ~ 出産を機にSIerからEC事業会社に転職した話 ~
kimura_m_29
0
180
短期間での新規プロダクト開発における「コスパの良い」Goのテスト戦略」 / kamakura.go
n3xem
2
170
fs2-io を試してたらバグを見つけて直した話
chencmd
0
220
開発者とQAの越境で自動テストが増える開発プロセスを実現する
92thunder
1
180
useSyncExternalStoreを使いまくる
ssssota
6
1k
バグを見つけた?それAppleに直してもらおう!
uetyo
0
170
Fibonacci Function Gallery - Part 1
philipschwarz
PRO
0
210
複雑な仕様に立ち向かうアーキテクチャ
myohei
0
170
快速入門可觀測性
blueswen
0
330
テスト自動化失敗から再挑戦しチームにオーナーシップを委譲した話/STAC2024 macho
ma_cho29
1
1.3k
Semantic Kernelのネイティブプラグインで知識拡張をしてみる
tomokusaba
0
180
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
298
20k
GitHub's CSS Performance
jonrohan
1030
460k
How to Think Like a Performance Engineer
csswizardry
22
1.2k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
170
Why Our Code Smells
bkeepers
PRO
335
57k
Fireside Chat
paigeccino
34
3.1k
Thoughts on Productivity
jonyablonski
67
4.4k
Mobile First: as difficult as doing things right
swwweet
222
9k
How To Stay Up To Date on Web Technology
chriscoyier
789
250k
Visualization
eitanlees
146
15k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
66k
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
͕ಈ͘ͷ͔ɺ͜Ε ʹΑͬͯ੬ऑੑͷࠞೖͳͲෆ҆ཁૉ͕ੜ͡Δʣ Θ͔͍ͬͯͳ͍͜ͱ