supercharge / mongodb-github-action

Use MongoDB in GitHub Actions
MIT License
222 stars 46 forks source link

Could you release major version(s) of your GitHub action? #31

Closed jmfayard closed 2 years ago

jmfayard commented 2 years ago

Bonjour! 🇫🇷

I contribute to GitHub Actions Kotlin DSL which provides an alternative to write GitHub Actions not in YAML but in a type-safe programming language: Kotlin.

To this end we provide type-safe wrappers for currently 72 (and counting) wrapper actions. Those type-safe wrappers are generated from its action.yml which we update when it goes to a new major version, for example actions/cache@v2 to actions/cache@v3

And of course we support your action as well!

Unfortunately when an action don't have a major version, which is what GitHub recommands, we are forced to update manually for every minor version, like from appleboy/scp-action/v0.1.2 to appleboy/scp-action/v0.1.3

See our issue here

Would you consider creating a major version for your action? That would make our life easier, and the life of your users easier in general.

You can find here the recommendations from GitHub:

https://github.com/actions/toolkit/blob/main/docs/action-versioning.md (see Recommendations in particular)

marcuspoehls commented 2 years ago

@jmfayard Hey Jean-Michel, thank you for reaching out. I’ll look into this next week

jmfayard commented 2 years ago

Note: in practice this is done by pushing a tag v1 to your latest 1.x.y release

git tag -fa v1 -m "Update v1 tag"
git push origin v1 --force
marcuspoehls commented 2 years ago

@jmfayard Hey Jean, I’ve published a v1 tag pointing to the latest 1.x.y release

jmfayard commented 2 years ago

Awesome thank you

Le ven. 29 juil. 2022 à 04:47, Marcus Pöhls @.***> a écrit :

@jmfayard https://github.com/jmfayard Hey Jean, I’ve published a v1 tag pointing to the latest 1.x.y release

— Reply to this email directly, view it on GitHub https://github.com/supercharge/mongodb-github-action/issues/31#issuecomment-1198824633, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADQFSGZKPJLB3IAIF5ABXTVWNA3FANCNFSM5ZCRIDDA . You are receiving this because you were mentioned.Message ID: @.***>