-
Notifications
You must be signed in to change notification settings - Fork 154
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
actionlint-docker
pre-commit hook should specify Docker image tag
#116
Comments
I would be happy to work on that, but the current release process is initiated after pushing a tag, whereas the bumping in |
If we decide to specify the version explicitly, when should we update it? If it is updated to the latest version on new release, I think it is the same behavior as not specifying tag since it fetches Since I'm not a user of pre-commit, I may miss some point here. |
It should be updated before tagging. Let's take the following repos:
- repo: https://github.com/rhysd/actionlint
rev: v1.6.8
hooks:
- id: actionlint-docker Given the above config, pre-commit will clone the https://github.com/rhysd/actionlint repo at the v1.6.8 tag and look up the |
I'm sorry for pending discussion. Now I'd like to resume this. @KSmanis Thank you for your explanation. I understood why it is necessary. We need to change the |
The
actionlint-docker
pre-commit hook should specify a tag for the Docker image in theentry
field:Currently the
latest
tag is always pulled, which beats the purpose of specifying a version in therev
field:This version specifier should be bumped before every release, i.e., it should be part of the tag.
The text was updated successfully, but these errors were encountered: