How to bind multiple actions at once with unity's new input system?

I’m doing a game that has multiple action maps, some of the inputs are the same between these action maps like sprinting. I understand how to bind sprint on one action map but how do I bind it on the other without asking the player to press the button again?

using UnityEngine.InputSystem;

InputActionRebindingExtensions.RebindingOperation rebindingOp;
void StartRebind ()
{
    rebindingOp = actionMapBinding.action.PerformInteractiveRebinding()
        .WithControlsExcluding("Mouse")
        .WithCancelingThrough("Touchpad")
        .WithCancelingThrough("Escape")
        .WithCancelingThrough("Select")
        .WithCancelingThrough("Start")
        .OnMatchWaitForAnother(.1f)
        .OnComplete(operation => RebindComplete())
        .Start();
}
void RebindComplete ()
{
    int bindingIndex = actionMapBinding.action.GetBindingIndexForControl(actionMapBinding.action.controls[0]);

    if (HasDuplicateBindings(actionMapBinding.action, bindingIndex, false))
    {
        Debug.Log("Binding already taken");
        actionMapBinding.action.RemoveBindingOverride(bindingIndex);
        rebindingOp.Dispose();
        StartRebind();
        return;
    }

    inputs[selection].GetComponentInChildren<TMP_Text>().text = InputControlPath.ToHumanReadableString(
        actionMapBindings.action.bindings[bindingIndex].effectivePath ,
        InputControlPath.HumanReadableStringOptions.OmitDevice
    );
}

using UnityEngine.InputSystem;

void OnRebindingComplete (
    InputActionRebindingExtensions.RebindingOperation operation ,
    int bindingIndex ,
    params InputAction[] duplicates
)
{
    foreach( var duplicate in duplicates )
        duplicate.ApplyBindingOverride( bindingIndex , operation.selectedControl.path );
}