-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Use generate-api-json for api.json diff GitHub comment #12408
Use generate-api-json for api.json diff GitHub comment #12408
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #12408 +/- ##
========================================
Coverage 78.63% 78.63%
========================================
Files 176 176
Lines 23334 23334
Branches 495 495
========================================
Hits 18349 18349
Misses 4985 4985 ☔ View full report in Codecov by Sentry. |
3cb1d47
to
c4a16bf
Compare
フロントのビルド遅いから除こうと思ったけどだめですね。フルビルドに戻しました。 |
このPRによるapi.jsonの差分 差分はこちら |
ゆくゆくやろうと思ってはいたんですが動作する条件をpackages/backend以下が変更されたらに絞ってもいいかも |
たしかにそうですね。 |
本当はdiffがない場合のメッセージも変えようと思っているんですがさすがに自分でやる |
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.
このPRで動いているみたいなのと見た感じ問題なさそうなのでマージしても大丈夫な気がします
🙏🙏🙏 |
…2408) * ci: use generate-api-json to get api.json changes * restore copying default.yml * refactor: get api.json with single workflow * ci: api.jsonのdiffをbackendが変更されたときのみ取るように
What
githubのprへのコメントで使用するapi.jsonを #12402 で追加された
generate-api-json
で生成するようにしました。Why
Additional info (optional)
get-api-diff.yml
はpull_request
イベントで発火するため、pull requestのheadのget-api-diff.yml
が使われるはずなため、generate-api-json
コマンドがなくてエラーになることはないはずです。Checklist