Skip to content

Commit

Permalink
Merge pull request #3 from Piwero/piwero/yaml-linters-setup
Browse files Browse the repository at this point in the history
Repo setup
  • Loading branch information
Piwero authored Apr 17, 2024
2 parents 139efbb + a08b7ba commit 4e5c13a
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/markdown-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
contents: read
steps:
- name: Install mardownlint
run: npm install -g markdownlint-cli@0.33.0
run: npm install -g markdownlint-cli@0.39.0
- name: Checkout project
uses: actions/checkout@cd7d8d697e10461458bc61a30d094dc601a8b017
- name: Execute markdownlint
Expand Down
7 changes: 7 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"default": true,
"MD013": false,
"MD029": { "style": "ordered" },
"MD033": false,
"MD047": false
}
1 change: 1 addition & 0 deletions .markdownlintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
LICENSE.md
8 changes: 7 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ repos:
hooks:
- id: check-yaml
args: [--allow-multiple-documents]

- repo: https://github.com/gruntwork-io/pre-commit
rev: v0.0.9
hooks:
- id: helmlint
- id: helmlint

- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.39.0
hooks:
- id: markdownlint
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# PiwHelm

Reusable Helm template chart to deploy different K8s objects like deployments, configmaps, secrets, ingress ...

# TL;DR
...
## TL;DR

## Development

# Development
1. Give execution permissions to all sh files
`find . -name '*.sh' | xargs git update-index --chmod=+x`
2. Install pre-commit
Expand Down

0 comments on commit 4e5c13a

Please sign in to comment.