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
160
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
scala-ojisan
scala-stewardを自前運用してみました
Toshiyuki Takahashi
March 30, 2021
More Decks by Toshiyuki Takahashi
See All by Toshiyuki Takahashi
Purely Functional Programming with Cats Effect 3 and Scala 3 [ScalaMatsuri2022]
tototoshi
0
7.6k
5年ぶりにPHPを書いた話
tototoshi
0
350
Steps to master the Play source code
tototoshi
1
550
flyway-play
tototoshi
2
2.2k
Template Engines in Scala
tototoshi
1
4k
Play と Scala のこれまでとこれから
tototoshi
1
2.1k
Other Decks in Programming
See All in Programming
Foundation Models frameworkで画像分析
ryodeveloper
1
600
ソフトウェア設計に溶けるインフラ ― AWS CDK のインフラ認識論
konokenj
3
770
壊れたパーサから始める関数型設計と構成的なパーサ #fp_matsuri
raiga0310
2
450
使いながら育てる Claude Code — 開発フローの1コマンド化 × 繰り返し指摘の自動仕組み化
shiki_kakaku
0
1.7k
Japan Community Day at Kubecon + CloudNativeCon Japan 2026: Learning Container Privilege Control by Building My Own Low-Level Container Runtime
ternbusty
1
150
yield再入門 #phpcon
o0h
PRO
0
980
the container ship “Apple Silicon”@WWDC26 Recap -Japan-\(region).swift
shingangan
0
110
Welcome to the "Parametricity" 🏙️ − Generic だけど Specific な世界 −
guvalif
PRO
1
200
そこに3びきプロダクトがいるじゃろう——生成AI時代における“価値が届かない理由”の構造
kosuket
0
430
源内ハンズオン概要編
hideg
0
130
ドリフトを絶対に許さない(?)CDK運用 / CDK Ops with Zero Tolerance for Drifts (?)
akihisaikeda
1
180
人間の目はかわらない、だからJPEGは30年もつ
yuzneri
12
18k
Featured
See All Featured
Building AI with AI
inesmontani
PRO
1
1.1k
Odyssey Design
rkendrick25
PRO
2
750
Game over? The fight for quality and originality in the time of robots
wayneb77
1
240
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
420
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.5k
Bash Introduction
62gerente
615
220k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.9k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.1k
Docker and Python
trallard
47
4.1k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.1k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
650
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)を変えると良さそう ⾃動マージなどを活⽤すると良さそう