Commit Graph

7 Commits

Author SHA1 Message Date
anatawa12 c41d03018c
ci: use refs/pull/*/merge to get head (#12508) 2023-11-30 01:06:11 +09:00
syuilo 06ed64f26f update node to 20.10.0 2023-11-24 09:20:41 +09:00
anatawa12 44a378c46e
Use generate-api-json for api.json diff GitHub comment (#12408)
* 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が変更されたときのみ取るように
2023-11-23 20:17:21 +09:00
dependabot[bot] 38c163d67c
chore(deps): bump actions/setup-node from 3.8.1 to 4.0.0 (#12128)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.8.1 to 4.0.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3.8.1...v4.0.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-30 12:43:29 +09:00
anatawa12 7e15f71916
ci: fix pullreq number may not get correctly (#12127)
* Revert "remove save-pr-number"

This reverts commit 085f4bd76992fa0b3e4219a5c132b72f68c3d2cc.

* Revert "Update report-api-diff.yml"

This reverts commit b73daf4c0ec4240ea39b183a6b93f209b63e6d81.

* Revert "Update report-api-diff.yml"

This reverts commit cbf2b5ad8a7cba769446fa9bcf1f129c6f03db8c.

* Revert "try to get pull request id from github.event.workflow_run.pull_requests"

This reverts commit 07517ce501c12e75da03d325c23968d75ac37d00.
2023-10-24 14:02:06 +09:00
anatawa12 b22066b9a2
ci: fix pull_req時にAPI diffの実行ができない (#12123)
* 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
2023-10-24 06:16:40 +09:00
taichan 3e5c55c14e
chore: Pull Request時にapi.jsonの差分を表示するActions workflow (#12090)
* chore: Pull Request時にapi.jsonのdiffを出力するworkflow

* refactor: job names

* fix: set repository to get api diff

* chore: set permission to workflow

* set sleep 30s (shorter)

* chore: set label of diff

* chore: more attempts to fetch misskey

* chore: add full diff output of api.js

* chore: save full-diff to Artifact

* chore: add message to download diff Artifact
2023-10-21 07:45:47 +09:00