You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The push event handler function is only awaited and not returned. The function itself doesn't return anything anyway, so it would need to be modified to return something to fix this issue.
Since it's not returned, this causes the throw to be hit when processing a push event, since the result is undefined.
if (Array.isArray(result)) {
logger.info("More than one result, using first result for action output");
singleResult = result[0];
} else if (result != null) {
singleResult = result;
} else {
throw new Error("invalid result!");
}
I am attempting to create pull requests to develop/staging when I merge to main, and then immediately merge all prs labeled auto-merge, but it seems like this step doesn't find all prs with the given label and merge them, it needs to be triggered by an event which would pass in the pullrequest number into the process. Is that correct or is there a way to just auto merge all the prs labeled automerge with this?
automerge-action/lib/api.js
Line 97 in 7961b8b
The push event handler function is only awaited and not returned. The function itself doesn't return anything anyway, so it would need to be modified to return something to fix this issue.
Since it's not returned, this causes the throw to be hit when processing a push event, since the result is undefined.
I am attempting to create pull requests to develop/staging when I merge to main, and then immediately merge all prs labeled auto-merge, but it seems like this step doesn't find all prs with the given label and merge them, it needs to be triggered by an event which would pass in the pullrequest number into the process. Is that correct or is there a way to just auto merge all the prs labeled automerge with this?
Here's what I'm trying to do atm
The text was updated successfully, but these errors were encountered: