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
10
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
9
Kotlin 2.0.20 から標準ライブラリで UUID が使えるようになりました
ykws
1
190
コードの作者がいるうちに聞こう
ykws
2
440
アラートを効果的に扱おう
ykws
1
310
visionOS に備える
ykws
0
190
モバイルアプリの操作方法を疑ってみる
ykws
0
1.5k
Other Decks in Programming
See All in Programming
WebフロントエンドにおけるGraphQL(あるいはバックエンドのAPI)との向き合い方 / #241106_plk_frontend
izumin5210
4
1.4k
Amazon Qを使ってIaCを触ろう!
maruto
0
400
PHP でアセンブリ言語のように書く技術
memory1994
PRO
1
170
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
1
100
シェーダーで魅せるMapLibreの動的ラスタータイル
satoshi7190
1
480
Flutterを言い訳にしない!アプリの使い心地改善テクニック5選🔥
kno3a87
1
160
ECS Service Connectのこれまでのアップデートと今後のRoadmapを見てみる
tkikuc
2
250
『ドメイン駆動設計をはじめよう』のモデリングアプローチ
masuda220
PRO
8
540
「今のプロジェクトいろいろ大変なんですよ、app/services とかもあって……」/After Kaigi on Rails 2024 LT Night
junk0612
5
2.1k
CSC509 Lecture 11
javiergs
PRO
0
180
OSSで起業してもうすぐ10年 / Open Source Conference 2024 Shimane
furukawayasuto
0
100
Ethereum_.pdf
nekomatu
0
460
Featured
See All Featured
Automating Front-end Workflow
addyosmani
1366
200k
Unsuck your backbone
ammeep
668
57k
How STYLIGHT went responsive
nonsquared
95
5.2k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
42
9.2k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
Facilitating Awesome Meetings
lara
50
6.1k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
47
2.1k
10 Git Anti Patterns You Should be Aware of
lemiorhan
654
59k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
Into the Great Unknown - MozCon
thekraken
32
1.5k
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
͕ಈ͘ͷ͔ɺ͜Ε ʹΑͬͯ੬ऑੑͷࠞೖͳͲෆ҆ཁૉ͕ੜ͡Δʣ Θ͔͍ͬͯͳ͍͜ͱ