suzuki-shunsuke / issue

MIT License
4 stars 0 forks source link

`Squash and merge`, `Rebase and merge` でも ci-info が PR 番号を取得できるか確認 #87

Closed suzuki-shunsuke closed 2 years ago

suzuki-shunsuke commented 2 years ago

ci-info の問題というより、 GitHub API の問題

https://docs.github.com/en/rest/reference/commits#list-pull-requests-associated-with-a-commit

https://github.com/suzuki-shunsuke/ci-info

image

suzuki-shunsuke commented 2 years ago

squash merge: https://github.com/suzuki-shunsuke/test-github-action/pull/22

https://github.com/suzuki-shunsuke/test-github-action/runs/4883976649?check_suite_focus=true

取れている

suzuki-shunsuke commented 2 years ago

rebase merge: https://github.com/suzuki-shunsuke/test-github-action/pull/23

suzuki-shunsuke commented 2 years ago

rebase merge だと empty commit 消えるのか

suzuki-shunsuke commented 2 years ago

rebase merge: https://github.com/suzuki-shunsuke/test-github-action/pull/24

取れている