1
0
Fork 0
mirror of synced 2026-06-05 14:35:14 +00:00

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
commit eec7ab75b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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}'`);