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
A Journey of Contribution and Collaboration in Open Source
ivargrimstad
0
960
型付き API リクエストを実現するいくつかの手法とその選択 / Typed API Request
euxn23
8
2.2k
PHP でアセンブリ言語のように書く技術
memory1994
PRO
1
170
どうして僕の作ったクラスが手続き型と言われなきゃいけないんですか
akikogoto
1
120
Why Jakarta EE Matters to Spring - and Vice Versa
ivargrimstad
0
1.1k
「今のプロジェクトいろいろ大変なんですよ、app/services とかもあって……」/After Kaigi on Rails 2024 LT Night
junk0612
5
2.2k
見せてあげますよ、「本物のLaravel批判」ってやつを。
77web
7
7.8k
ピラミッド、アイスクリームコーン、SMURF: 自動テストの最適バランスを求めて / Pyramid Ice-Cream-Cone and SMURF
twada
PRO
10
1.3k
Less waste, more joy, and a lot more green: How Quarkus makes Java better
hollycummins
0
100
CSC509 Lecture 09
javiergs
PRO
0
140
最新TCAキャッチアップ
0si43
0
190
聞き手から登壇者へ: RubyKaigi2024 LTでの初挑戦が 教えてくれた、可能性の星
mikik0
1
130
Featured
See All Featured
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
42
9.2k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
8.2k
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
Statistics for Hackers
jakevdp
796
220k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
Optimising Largest Contentful Paint
csswizardry
33
2.9k
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
͕ಈ͘ͷ͔ɺ͜Ε ʹΑͬͯ੬ऑੑͷࠞೖͳͲෆ҆ཁૉ͕ੜ͡Δʣ Θ͔͍ͬͯͳ͍͜ͱ