Skip to content

Fix failing release action #382

@technophile-04

Description

@technophile-04

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:

  1. Fetches the existing "Version packages" PR from github api
  2. IF there is existing PR (force push the change to same PR / branch)
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions