Commit graph

10 commits

Author SHA1 Message Date
anatawa12
316ffcea54
ci: Get api.json from Misskeyでupload-artifact@v4で同名artifactでエラーになるのを修正 (#12770)
* ci: upload-artifact@v4で同名artifactでエラーになるのを修正

Co-authored-by: おさむのひと <46447427+samunohito@users.noreply.github.com>

* report-api-diff.ymlの最中にエラーが発生したときに分かりづらいので、PRにコメントを残すようにする

* 古いget-api-diffを使ってるactionとの互換性をもたせる

---------

Co-authored-by: おさむのひと <46447427+samunohito@users.noreply.github.com>
2023-12-24 14:20:43 +09:00
dependabot[bot]
ffa0470cf8
chore(deps): bump actions/setup-node from 4.0.0 to 4.0.1 (#12713)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4.0.0...v4.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-21 11:37:14 +09:00
dependabot[bot]
1260e8b74b
chore(deps): bump actions/upload-artifact from 2 to 4 (#12670)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  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-12-16 08:58:03 +09:00
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