Skip to content

[gh] PR creation returns an error #413

@juanjosevazquezgil

Description

@juanjosevazquezgil

Motivation

When using this module within our other modules PRs are created, but an error is returned: https://github.com/jvazquez-prefapp/claims/actions/runs/22390513879/job/64811035794#step:4:1570

This probably happens because we are executing gh commands one after the other within our code without giving GitHub any time to process them. To fix this we can either add some sort of sleep() call or some new retry logic (this would be the preferred approach IMO)

Acceptance criteria

  • No error happens when creating a PR unless an error has actually happened and the PR could not be created

Metadata

Metadata

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