build: update distribution (#4361)
Co-authored-by: peter-evans <18365890+peter-evans@users.noreply.github.com>
This commit is contained in:
parent
5f6978faf0
commit
eec7ab75b2
1 changed files with 3 additions and 1 deletions
4
dist/index.js
vendored
4
dist/index.js
vendored
|
|
@ -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}'`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue