Skip to content

Commit

Permalink
Extend GitHub actions guidance
Browse files Browse the repository at this point in the history
  • Loading branch information
alnoki committed Feb 1, 2024
1 parent 3af71d5 commit 15afbfc
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,11 @@ From the repository root directory:
```sh
source src/sh/pre-commit.sh
```

See the `cfg/` directory for assorted formatter and linter configurations.

### GitHub actions

This repository uses [GitHub actions](https://docs.github.com/en/actions) to perform
assorted status checks. For example if you submit a pull request but do not run
[`pre-commit`](#pre-commit) then your pull request might get blocked.
3 changes: 3 additions & 0 deletions cfg/markdownlint-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
MD013:
strict: true
default: true
6 changes: 5 additions & 1 deletion cfg/pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ repos:
rev: '0.7.17'
-
hooks:
- id: 'markdownlint-fix'
-
args:
- '--config'
- 'cfg/markdownlint-config.yaml'
id: 'markdownlint-fix'
repo: 'https://github.com/igorshubovych/markdownlint-cli'
rev: 'v0.39.0'
-
Expand Down
1 change: 0 additions & 1 deletion cfg/yamllint-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Used by pre-commit.
extends: 'default'
rules:
braces:
Expand Down

0 comments on commit 15afbfc

Please sign in to comment.