instructlab / sdg

Python library for Synthetic Data Generation
Apache License 2.0
5 stars 13 forks source link

Copy pypi release automation from `instructlab/instructlab` repo #17

Closed russellb closed 2 weeks ago

russellb commented 2 weeks ago

commit 1f01ce86d59917d6800e1b9d5d4a84331eb5e25a Author: Russell Bryant rbryant@redhat.com Date: Wed Jun 12 10:22:56 2024 -0400

Copy pypi release automation from `instructlab/instructlab` repo

This also includes hardening changes from https://github.com/instructlab/schema/blob/52d22f4a0ebdc9b057bbd7c4e525df0c84d5d5cd/.github/workflows/pypi.yml

Signed-off-by: Russell Bryant <rbryant@redhat.com>
nathan-weinberg commented 2 weeks ago

Adding myself so I can do the same for https://github.com/instructlab/eval

bjhargrave commented 2 weeks ago

You may want to look at https://github.com/instructlab/schema/pull/27/files#diff-1baea138c19b06c7531655c5e977dbbcca5bd9147709625e2ee40984905502c5 which is a hardened version from the cli repo.

russellb commented 2 weeks ago

You may want to look at https://github.com/instructlab/schema/pull/27/files#diff-1baea138c19b06c7531655c5e977dbbcca5bd9147709625e2ee40984905502c5 which is a hardened version from the cli repo.

Thanks - I copied what was currently in the CLI repo. I'll look at what you have

russellb commented 2 weeks ago

You may want to look at https://github.com/instructlab/schema/pull/27/files#diff-1baea138c19b06c7531655c5e977dbbcca5bd9147709625e2ee40984905502c5 which is a hardened version from the cli repo.

Thanks - I copied what was currently in the CLI repo. I'll look at what you have

done!

tiran commented 2 weeks ago

You need to follow these instructions: https://docs.pypi.org/trusted-publishers/creating-a-project-through-oidc/

russellb commented 2 weeks ago

You need to follow these instructions: https://docs.pypi.org/trusted-publishers/creating-a-project-through-oidc/

perfect, thanks! This part is done.