Github has a setting "Allow GitHub to use my data for AI model training" which defaults to Enabled. You might want to turn it off, thought it's probably too late and likely won't stop other bots crawling your code.

https://github.com/settings/copilot/features

Build software better, together

GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.

GitHub
@dougbinks And if your library is popular enough, it's 100% copied under some other person's project repo, so that option is pretty useless.
@sol_hsa @dougbinks Signalling dissent is important for political change, even if it's practically useless right now..
I suppose from that POV, having a transitive licence that just procludes training as a suppliment to whatever code use licence you have might be a good thing.