Skip to content

Commit

Permalink
chore: Update pre-commit config
Browse files Browse the repository at this point in the history
  • Loading branch information
s-diez committed Jan 8, 2024
1 parent 1441887 commit b475902
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
repos:
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.72.2
rev: v1.77.0
hooks:
- id: terraform_fmt
- id: terraform_tflint
Expand All @@ -11,10 +11,14 @@ repos:
- id: terraform-docs-system
args: [./]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: check-added-large-files
- id: check-yaml
args: [--allow-multiple-documents]
- id: detect-private-key
- id: end-of-file-fixer
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.17.0
hooks:
- id: yamllint
args: [-c=.yaml-lint.yml]
15 changes: 15 additions & 0 deletions .releaserc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
branches:
- master
plugins:
- - "@semantic-release/commit-analyzer"
- preset: conventionalcommits
- - "@semantic-release/release-notes-generator"
- preset: conventionalcommits
- "@semantic-release/github"
- - "@semantic-release/changelog"
- changelogFile: CHANGELOG.md
changelogTitle: "# Changelog"
- - "@semantic-release/git"
- assets: CHANGELOG.md
message: "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}"
4 changes: 4 additions & 0 deletions .yaml-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
rules:
line-length:
max: 120

0 comments on commit b475902

Please sign in to comment.