adjust ERROR_PR_ALREADY_EXISTS based on updated failure message

Uses below error message as a basis:

Create or update the pull request
Attempting creation of pull request
::error::pull request already exists for these targets [id: 30, issue_id: 27, head_repo_id: 1, base_repo_id: 1, head_branch: update-flake-lock, base_branch: main]
This commit is contained in:
2025-03-04 09:42:42 -05:00
committed by GitHub Actions
parent 8d250d896c
commit 7a22337b7b
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@ -1319,7 +1319,7 @@ const core = __importStar(__nccwpck_require__(7484));
const octokit_client_1 = __nccwpck_require__(3489);
const p_limit_1 = __importDefault(__nccwpck_require__(7989));
const utils = __importStar(__nccwpck_require__(9277));
const ERROR_PR_ALREADY_EXISTS = 'A pull request already exists for';
const ERROR_PR_ALREADY_EXISTS = 'pull request already exists for';
const ERROR_PR_REVIEW_TOKEN_SCOPE = 'Validation Failed: "Could not resolve to a node with the global id of';
const ERROR_PR_FORK_COLLAB = `Fork collab can't be granted by someone without permission`;
const blobCreationLimit = (0, p_limit_1.default)(8);