fix: do not write `WORKSPACE` if `metadata` attribute is set
When a user is using `metadata` attribute, we do not write anything to `WORKSPACE`. Eventually, the writing of data to `WORKSPACE` will be removed in a breaking change release.
When a user is using `metadata` attribute, we do not write anything to `WORKSPACE`. Eventually, the writing of data to `WORKSPACE` will be removed in a breaking change release.