The three-year fundraising pledge has been made by the Skipton Building Society.