You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using hoverkraft-tech/ci-github-common/actions/create-and-merge-pull-request, if the a pull request exist already, it sometimes fails: Error: Cannot read properties of undefined (reading 'number')
Create a pull request with the proper branch name, the call the hoverkraft-tech/ci-github-common/actions/create-and-merge-pull-request
Expected behavior
When this case occurs it should retry to create the pull request
Screenshots
Run peter-evans/[email protected]
with:
token: ***
signoff: true
base: main
delete-branch: true
branch: feat/deploy-www-pr-751
title: feat(www): deploy 3.13.0-pr-751-e7b1d433 to review-apps
body: Deploy 3.13.0-pr-751-e7b1d433 to review-apps
commit-message: feat(www): deploy 3.13.0-pr-751-e7b1d433 to review-apps"
[skip ci]
author: github-actions[bot] <41898[28](https://github.com/aircorsica/argo-app-of-the-apps/actions/runs/8830909931/job/24245047467#step:9:33)2+github-actions[bot]@users.noreply.github.com>
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
draft: false
Prepare git configuration
Determining the base and head repositories
Pull request branch target repository set to aircorsica/argo-app-of-the-apps
Configuring credential for HTTPS authentication
Checking the base repository state
Pull request branch to create or update set to 'feat/deploy-www-pr-751'
Configuring the committer and author
Create or update the pull request branch
Pushing pull request branch to 'origin/feat/deploy-www-pr-7[51](https://github.com/aircorsica/argo-app-of-the-apps/actions/runs/8830909931/job/24245047467#step:9:59)'
Create or update the pull request
Restore git configuration*
Attempting creation of pull request
A pull request already exists for aircorsica:feat/deploy-www-pr-751
Fetching existing pull request
Attempting update of pull request
Error: Cannot read properties of undefined (reading 'number')
The text was updated successfully, but these errors were encountered:
Describe the bug
When using hoverkraft-tech/ci-github-common/actions/create-and-merge-pull-request, if the a pull request exist already, it sometimes fails:
Error: Cannot read properties of undefined (reading 'number')
There is a flaw in the action
peter-evans/create-pull-request
: https://github.com/peter-evans/create-pull-request/blob/6d6857d36972b65feb161a90e484f2984215f83e/src/github-helper.ts#L91To Reproduce
Create a pull request with the proper branch name, the call the
hoverkraft-tech/ci-github-common/actions/create-and-merge-pull-request
Expected behavior
When this case occurs it should retry to create the pull request
Screenshots
The text was updated successfully, but these errors were encountered: