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
scala-ojisan
Search
Toshiyuki Takahashi
March 30, 2021
Programming
0
130
scala-ojisan
scala-stewardを自前運用してみました
Toshiyuki Takahashi
March 30, 2021
Tweet
Share
More Decks by Toshiyuki Takahashi
See All by Toshiyuki Takahashi
Purely Functional Programming with Cats Effect 3 and Scala 3 [ScalaMatsuri2022]
tototoshi
0
6.8k
5年ぶりにPHPを書いた話
tototoshi
0
320
Steps to master the Play source code
tototoshi
1
500
flyway-play
tototoshi
2
2.1k
Template Engines in Scala
tototoshi
1
3.9k
Play と Scala のこれまでとこれから
tototoshi
1
2.1k
Other Decks in Programming
See All in Programming
奥深くて厄介な「改行」と仲良くなる20分
oguemon
1
610
アセットのコンパイルについて
ojun9
0
130
さようなら Date。 ようこそTemporal! 3年間先行利用して得られた知見の共有
8beeeaaat
3
1.5k
Updates on MLS on Ruby (and maybe more)
sylph01
1
190
CJK and Unicode From a PHP Committer
youkidearitai
PRO
0
120
知っているようで知らない"rails new"の世界 / The World of "rails new" You Think You Know but Don't
luccafort
PRO
1
250
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
430
1から理解するWeb Push
dora1998
7
2k
How Android Uses Data Structures Behind The Scenes
l2hyunwoo
0
490
CloudflareのChat Agent Starter Kitで簡単!AIチャットボット構築
syumai
2
520
JSONataを使ってみよう Step Functionsが楽しくなる実践テクニック #devio2025
dafujii
1
650
🔨 小さなビルドシステムを作る
momeemt
4
700
Featured
See All Featured
Designing for Performance
lara
610
69k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
820
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.4k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
31
2.2k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.6k
Git: the NoSQL Database
bkeepers
PRO
431
66k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
GraphQLとの向き合い方2022年版
quramy
49
14k
Rails Girls Zürich Keynote
gr2m
95
14k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.1k
Side Projects
sachag
455
43k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
127
53k
Transcript
scala-ojisan @tototoshi / rpscala #264
scala-steward-org/scala-steward ⾃動で Scala 関係のバージョンをあげてくれる bot renovatebot / dependabot / @xuwei-k
的なやつ
便利 でも設定めんどくさいんでしょう? 簡単です!!
使い⽅ repos-github.md に Pull Request するだけ
でも... すごく個⼈的なしょぼいやつを公式のリストに載せるのが気が引ける ⾃分で運⽤したい
⾃前運⽤ scala-steward は単体で動かせるのでどこかで稼働させる GitHub Actions を使う GitHub 使ってるなら多分これが⼀番楽 リポジトリごとに設定してもよし 1
つのリポジトリで全部管理してもよし
採⽤した⽅法 1 つのリポジトリで管理する tototoshi/scala-ojisan というリポジトリを作って repos.md を置く scala-steward-action を設定する tototoshi/scala-ojisan
の GitHub Actions で各リポジトリにプルリクを 送る scala-ojisan という個⼈⽤の GitHub App を作ってそのトークンを使う 権限は⾃分のリポジトリに対して content と pull-request の read/write
tototoshi/scala-ojisan
ディレクトリ構成 ├── │ └── │ └── └── これだけ でも困りポイントがいくつか
困りポイント GitHub のどのトークン使えば良いかわからん p - デフォルトのやつだと CI がキックされない 個⼈のトークン使うと bot
ではなく⾃分のコミットになってしまう
詳しくはこちら GitHub Actions と scala-steward を組み合わせて token や bot account
の ⽤意すらせずに pull req を送ってもらう⽅法 - xuwei-k's blog scala-steward を独⾃に作った GitHub App(bot)で動かす⽅法 - xuwei-k's blog
感想など 最新バージョンを追えるので便利 ちょっと放置してしまってたリポジトリの作業を再開するのに便利 常に新鮮なプロジェクトテンプレートが⼿に⼊る 細かいアップデートのコミットが増えるので merge コミットがうざくな ってくる vs vs
戦争が勃発しそう 以上です
Q & A Pull Requestが増えて⼤変そう 設定でPull Requestの頻度(daily/weekly/monthly)を変えると良さそう ⾃動マージなどを活⽤すると良さそう