-
-
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
ci: fix pull_req時にAPI diffの実行ができない #12123
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #12123 +/- ##
===========================================
- Coverage 79.23% 79.18% -0.06%
===========================================
Files 939 939
Lines 100419 100561 +142
Branches 8161 8170 +9
===========================================
+ Hits 79569 79631 +62
- Misses 20850 20930 +80 ☔ View full report in Codecov by Sentry. |
OKだと思います |
元のスクリプトだとapi-base.json, api-head.jsonも同じArtifactに含まれていたのですが、Diffだけでなくこちらも改めて同梱するようにしていただけたら助かります:pray: 実際にユースケースとしてdiffの比較だけでなくapi-head.jsonもリファレンスとしてDL可能にすることを想定しているため |
Report API Diffのartifactsにもapi-{base,head}.jsonを含めるようにしました |
変更点とは関係ないとこで落ちてますね... |
|
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.
ありがとうございます:+1:
🙏🙏🙏 |
* initial commit for report-api-diff.yml * add api-{base,head}.json into api-artifact * try to get pull request id from github.event.workflow_run.pull_requests * Update report-api-diff.yml * Update report-api-diff.yml * remove save-pr-number
What
Fix #12122
Why
Additional info (optional)
default branchにworkflowがないと一切動作しないので、 https://github.com/anatawa12/misskey で
api-diff
(このprのhead)をdefault branchにしてるので、ここに適当なpullreq投げていただけると動作確認できると思います。anatawa12#1
Checklist