"Have been". It hasn't even happened yet lol. If he did tell the Gorosei about Luffy, then he legitimately is an antagonist.
If Oda seriously goes all out perfectly tying every question mark roaming around Shanks', he would be the most morally questionable, best written character that came out of this show.