Skip to content

Commit

Permalink
set freeze enabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
brokenpip3 committed Feb 1, 2025
1 parent 343bf56 commit e8d07b1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
repos:
- repo: https://github.com/sirosen/check-jsonschema
rev: 0.22.0
rev: a20fe80ebdd4aec6791598c9ff559985580f91ea # frozen: 0.31.1
hooks:
- id: check-github-workflows
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0
hooks:
- id: detect-private-key
- id: trailing-whitespace
- id: end-of-file-fixer

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Update pre-commit hooks
uses: brokenpip3/action-pre-commit-update@0.0.1
uses: brokenpip3/action-pre-commit-update@0.0.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
```
Expand All @@ -28,7 +28,7 @@ jobs:
| pr-targetbranch | `main` | false | PR Target branch |
| github-token | | false | Github Token, required if PR create is true |
| update-latest | `false` | false | Instead of using the latest tag use the latest commit, equals to run with '--bleeding-edge' |
| update-freeze | `false` | false | Store hashes in rev instead of tag names, equals to run with '--freeze' |
| update-freeze | `true` | false | Store hashes in rev instead of tag names, equals to run with '--freeze' |
| update-repo | | false | Only update a specifi repository, equals to run with '--repo' |
| update-allfiles | `false` | false | Run hooks vs all the files of the repo |

Expand Down
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ inputs:
update-freeze:
description: "Store hashes in rev instead of tag names, equals to run with '--freeze'"
required: false
default: false
default: true
update-repo:
description: "Only update a specifi repository, equals to run with '--repo'"
required: false
Expand Down

0 comments on commit e8d07b1

Please sign in to comment.