Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update v1 tag whenever a v1.x version is released #12

Open
sethidden opened this issue Apr 25, 2024 · 2 comments
Open

Update v1 tag whenever a v1.x version is released #12

sethidden opened this issue Apr 25, 2024 · 2 comments

Comments

@sethidden
Copy link

You can see how the official GitHub actions do it: https://github.com/actions/checkout/tags

image

When v4.1.3 was released, the v4 tag was also updated. This means that people that write "actions/checkout@v4" in their .yml will always use the latest version.

Currently in ggshield action I have written v1.22.0 so each time a new version is released I need to manually update the minor version number. I'd like to just write ggshield-action@v1 and always get the latest minor patch version. Currently @v1.0.0 (which is different than @v1 btw) points to an old version https://github.com/GitGuardian/ggshield-action/releases/tag/v1.0.0

I could just of course write ggshield-action@main but I don't want to be that bleeding edge :P

@askpatrickw
Copy link

Please do this.

@agateau-gg
Copy link
Collaborator

Agreed, that makes sense. Going to see how we can fit this in our upcoming sprints.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants