build: update distribution

This commit is contained in:
peter-evans 2026-04-10 16:26:17 +00:00 committed by github-actions[bot]
parent 5f6978faf0
commit 82dbe86bf5

4
dist/index.js vendored
View file

@ -1509,7 +1509,9 @@ class GitHubHelper {
const isEventualConsistencyError = (e) => e instanceof request_error_1.RequestError &&
e.status === 422 &&
e.message.includes('Could not resolve to a node');
const withRetryForNewPr = (fn) => pull.created ? utils.retryWithBackoff(fn, isEventualConsistencyError) : fn();
const withRetryForNewPr = (fn) => pull.created
? utils.retryWithBackoff(fn, isEventualConsistencyError)
: fn();
// Apply milestone
if (inputs.milestone) {
core.info(`Applying milestone '${inputs.milestone}'`);