Context:
The probable culprit of the problem seems with the github api is a bit bad or the some case is not handled in changeset action code.
But the way how release.yml work action work is:
- Fetches the existing "Version packages" PR from github api
- IF there is existing PR (force push the change to same PR / branch)
- Else create a new PR.
But due to sometime gihtub api not working proplerly when changeset/actions tries to fetch the existing "Version packages" PR it gets an empty array. So it tries to create a new "Version packages" PR but it fails saying "PR is already there".
Ideally github api should return an exsiting PR and changeset should force push to the same PR.
Reference:
changesets/action#396
#381
#204
Context:
The probable culprit of the problem seems with the github api is a bit bad or the some case is not handled in changeset action code.
But the way how
release.ymlwork action work is:But due to sometime gihtub api not working proplerly when changeset/actions tries to fetch the existing "Version packages" PR it gets an empty array. So it tries to create a new "Version packages" PR but it fails saying "PR is already there".
Ideally github api should return an exsiting PR and changeset should force push to the same PR.
Reference:
changesets/action#396
#381
#204