AllenCell / AllenCell/allencell-segmenter-ml

Enable publish workflow to edit itself to list current version

Đang mở
#190 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
5
Fork
3
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

I originally wanted to list the current version in the description for the publish workflow (what you see above the text entry box), but I ran into [this issue](https://github.com/AllenCell/allencell-ml-segmenter/actions/runs/8071346070/job/22050775076) where I could not update the version in the workflow file from a GitHub runner.

I think a possible solution is to create a PAT with workflow permissions, then use this within the publish workflow. The annoying thing is that we would have to update the PAT each time it expires. So, not sure if the tradeoff is worth it, but figured we could document it in case anyone wants to implement it later.

Update: Since we moved to a dropdown input now, it would also be cool to update the dropdown options depending on the current version (e.g. if we are on dev version, only allow bumping dev or patch)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.