Similar change to https://github.com/Homebrew/brew/pull/6791.
This prevents the action being run in the fork, which will generate errors due to missing token.