Skip to content

Commit

Permalink
Merge pull request #5 from mattlqx/language-version
Browse files Browse the repository at this point in the history
specify language version for sign hook
  • Loading branch information
mattlqx authored Nov 6, 2020
2 parents 2a69a87 + 6df5628 commit c86b517
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ repos:
rev: 0840dfbc1e11e2a9d159c2a9a30bb7f2e541b278
hooks:
- id: sign-commit
language_version: 2.7.2
verbose: true
1 change: 1 addition & 0 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
description: "Hashes some fields of the commit and adds a signature for verification by other systems"
entry: sign-commit
language: ruby
language_version: 2.7.2
pass_filenames: true
minimum_pre_commit_version: 0.15.4
stages:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This is a plugin for [pre-commit](https://pre-commit.com) that will sign your co
To sign commits as part of your pre-commit flow, just run the sign-commit hook of this repo. Note that you **must** have pre-commit installed as a commit-msg hook in order for this to run.

- repo: https://github.com/mattlqx/pre-commit-sign
rev: v1.1.1
rev: v1.1.2
hooks:
- id: sign-commit

Expand Down

0 comments on commit c86b517

Please sign in to comment.