Do gambling bots break any guidelines?

Would posting a gambling bot to GitHub (publicly) break any guidelines / risk any actions being taken against me by GitHub?

With posting you mean creating a repository with the source code? No, it wouldn’t.