The link you sent me to describes restrictions on political contributions. I don’t believe that giving someone a heads up on political dirt on an opponent to fall under this.
The law: “A contribution or donation of money or other thing of value.” So it does not have to be money.