Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StorybookのVRTにファイル一覧の同期チェックを追加 #2385
StorybookのVRTにファイル一覧の同期チェックを追加 #2385
Changes from 17 commits
8558f54
43a3139
100e768
39813ec
70004d4
caf6be7
82147fb
72c74e4
2e8684d
66e9293
d8ce87c
02d8d48
d2956bf
ff6d6e9
3f73fc7
717f742
c2a076c
96d61c1
1124829
311626a
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(細かいけど)
このpatchesの移動も不要だったりしそう?
/tmp/
、windowsでの挙動がよーわからんので避けたいモチベがほんの少しあるかも、くらいですが。(あと差分がきれい!)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
個人的に、Gitのworkdirはあんまり汚したくないんですよね…特にコミットが絡んでくると尚更。
これはubuntu-latestで実行されるのでWindowsは無視していいと思います。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
なるほど。
tmpを使うのも万能じゃなくて、他でtmp使うものが同じファイル名で書き出してたときにわけのわからない挙動になりますね。
基本globalなものはすべて恐ろしく、避けたい。
あとtmpは結構特別な扱いになってることも多いので意外と厄介な印象です。
今はlinuxでしか使ってないけど、という感じ。気軽に使って痛い目見るやつ。
ぱっと見つけたmacの例 https://autopp-tech.hatenablog.com/entry/2020/07/12/220856
ただ作業スペースを汚したくないのもわかります・・・。
今回の場合、リポジトリルートにpatchesというファイルができてもバグりますね・・・。
voicevox-update-snapshots-patches
みたいな名前にし、ディレクトリ丸ごと.gitignoreに追加して使うというのはどうでしょう?(
voicevox
プレフィックス付けてるのは他で衝突しないようにくらいの意図です)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
うーん、多分プロジェクトルートに
.actions-tmp
みたいなフォルダを作ってignoreに入れて、それを共用で使うのが良さそうな気がします(.actions-tmp/patches
みたいな)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
それでも良いと思います!
名前は
github actions
だとわかるようにしたいかもです。あるいは今回の用途だと
RUNNER_TEMP
のが良いかもです。https://docs.github.com/ja/actions/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables#:~:text=%E3%81%A7%E3%81%99%E3%80%82%20%E3%81%9F%E3%81%A8%E3%81%88%E3%81%B0%E3%80%81Windows-,RUNNER_TEMP,-%E3%83%A9%E3%83%B3%E3%83%8A%E3%83%BC%E4%B8%8A%E3%81%AE%E4%B8%80%E6%99%82
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RUNNER_TEMPを使うようにしました(なんかあったな〜って記憶はあったけど出てこなかった)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
同じくです AIに思い出してもらってました
https://chatgpt.com/share/674f0852-bf00-8008-8028-d58103737724
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(前のコメントから移動)
削除した旨をログで出しつつ、あとファイルの一番上で案内も! 🙏