Skip to content

Commit 131bab2

Browse files
committed
fix: minor fixes
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
1 parent 96c4edc commit 131bab2

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

docs/pages/guides/gha_basic.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,16 @@ you use a develop branch, you probably will want to include that. You can also
5353
specify specific branches for pull requests instead of running on all PRs (will
5454
run on PRs targeting those branches only).
5555
56-
## Pre-commit
56+
## Prek / Pre-commit
5757
58-
If you use [pre-commit][] (or [prek][]) in CI, you can run it directly in GitHub
58+
If you use [prek][] or [pre-commit][] in CI, you can run it directly in GitHub
5959
Actions. Prek is a faster Rust rewrite of pre-commit that supports most real
60-
world usage.
60+
world usage and supports the same configuraiton and hooks.
6161
6262
{% tabs runner %} {% tab prek Prek %}
6363
64+
Prek can run using the official action:
65+
6466
```yaml
6567
lint:
6668
name: Lint

docs/pages/guides/style.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ a custom pre-commit hook before; it's quite elegant and does not add or commit
4747
the changes, it just makes the changes and allows you to check and add them. You
4848
can always override the hook with `-n`.
4949

50-
[pre-commit]: https://pre-commit.com
51-
5250
{% rr PC100 %} Here is a minimal `.pre-commit-config.yaml` file with some handy
5351
options:
5452

@@ -1047,6 +1045,8 @@ You also might like the following hook, which cleans Jupyter outputs:
10471045
[schemastore]: https://schemastore.org
10481046
[typos]: https://github.com/crate-ci/typos
10491047
[typos-ref]: https://github.com/crate-ci/typos/blob/master/docs/reference.md
1048+
[pre-commit]: https://pre-commit.com
1049+
[prek]: https://prek.j178.dev
10501050

10511051
<!-- prettier-ignore-end -->
10521052

0 commit comments

Comments
 (0)