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
15
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
rails stats で紐解く ANDPAD のイマを支える技術たち
andpad
1
290
Symfony Mapper Component
soyuka
2
730
The Efficiency Paradox and How to Save Yourself and the World
hollycummins
1
440
MCP with Cloudflare Workers
yusukebe
2
220
わたしの星のままで一番星になる ~ 出産を機にSIerからEC事業会社に転職した話 ~
kimura_m_29
0
180
Cloudflare MCP ServerでClaude Desktop からWeb APIを構築
kutakutat
1
550
テスト自動化失敗から再挑戦しチームにオーナーシップを委譲した話/STAC2024 macho
ma_cho29
1
1.3k
たのしいparse.y
ydah
3
120
Spatial Rendering for Apple Vision Pro
warrenm
0
110
Асинхронность неизбежна: как мы проектировали сервис уведомлений
lamodatech
0
770
Monixと常駐プログラムの勘どころ / Scalaわいわい勉強会 #4
stoneream
0
280
RWC 2024 DICOM & ISO/IEC 2022
m_seki
0
210
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
88
5.7k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Raft: Consensus for Rubyists
vanstee
137
6.7k
A Philosophy of Restraint
colly
203
16k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
Designing for Performance
lara
604
68k
Become a Pro
speakerdeck
PRO
26
5k
Making Projects Easy
brettharned
116
5.9k
Unsuck your backbone
ammeep
669
57k
Typedesign – Prime Four
hannesfritz
40
2.4k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
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
͕ಈ͘ͷ͔ɺ͜Ε ʹΑͬͯ੬ऑੑͷࠞೖͳͲෆ҆ཁૉ͕ੜ͡Δʣ Θ͔͍ͬͯͳ͍͜ͱ