build: update distribution (#4361)

Co-authored-by: peter-evans <18365890+peter-evans@users.noreply.github.com>
This commit is contained in:
actions-bot
2026-04-10 17:35:29 +01:00
committed by GitHub
parent 5f6978faf0
commit eec7ab75b2
+3 -1
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}'`);