Skip to content

Commit

Permalink
lint yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
gboeing committed Jan 6, 2025
1 parent 7e449f8 commit 3c1dace
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
- package-ecosystem: github-actions
directory: /
schedule:
interval: "weekly"
interval: weekly
6 changes: 4 additions & 2 deletions .github/workflows/build_publish.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
%YAML 1.2
---
name: Build and Publish PDF

on:
Expand Down Expand Up @@ -25,6 +27,6 @@ jobs:
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_KEY }}
passphrase: ${{ secrets.SSH_KEY_PASSPHRASE }}
source: "cv-gboeing.pdf"
target: "~/public_html/share"
source: cv-gboeing.pdf
target: ~/public_html/share
use_insecure_cipher: true
12 changes: 12 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
args: [--maxkb=50]
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-merge-conflict
args: [--assume-in-merge]
- id: check-yaml
Expand All @@ -19,6 +21,16 @@ repos:
hooks:
- id: remove-tabs

- repo: https://github.com/adrienverge/yamllint
rev: v1.35.1
hooks:
- id: yamllint
args:
- --strict
- >
-d={extends: default, rules: {
quoted-strings: {quote-type: single, required: only-when-needed}}}
- repo: https://github.com/meliache/pre-commit-chktex
rev: v0.2.2
hooks:
Expand Down

0 comments on commit 3c1dace

Please sign in to comment.