Skip to content

Commit fdab23d

Browse files
committed
Remove check markdown format action
We can use a linting tool for this rather than needing to bring in Docker and all its dependencies.
1 parent 8d52062 commit fdab23d

File tree

5 files changed

+0
-139
lines changed

5 files changed

+0
-139
lines changed

.github/actions/check-markdown-format/action.yaml

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/workflows/stage-1-commit.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,6 @@ jobs:
5151
fetch-depth: 0 # Full history is needed to compare branches
5252
- name: "Check file format"
5353
uses: ./.github/actions/check-file-format
54-
check-markdown-format:
55-
name: "Check Markdown format"
56-
runs-on: ubuntu-latest
57-
timeout-minutes: 2
58-
steps:
59-
- name: "Checkout code"
60-
uses: actions/checkout@v4
61-
with:
62-
fetch-depth: 0 # Full history is needed to compare branches
63-
- name: "Check Markdown format"
64-
uses: ./.github/actions/check-markdown-format
6554
check-english-usage:
6655
name: "Check English usage"
6756
runs-on: ubuntu-latest

docs/user-guides/Run_Git_hooks_on_commit.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ The [pre-commit](https://pre-commit.com/) framework is a powerful tool for manag
1515

1616
- Scripts
1717
- [`check-file-format.sh`](../../scripts/githooks/check-file-format.sh)
18-
- [`check-markdown-format.sh`](../../scripts/githooks/check-markdown-format.sh)
1918
- [`scan-secrets.sh`](../../scripts/githooks/scan-secrets.sh)
2019
- Configuration
2120
- [`pre-commit.yaml`](../../scripts/config/pre-commit.yaml)

scripts/config/pre-commit.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,6 @@ repos:
1515
args: ["check=staged-changes"]
1616
language: script
1717
pass_filenames: false
18-
- repo: local
19-
hooks:
20-
- id: check-markdown-format
21-
name: Check Markdown format
22-
entry: ./scripts/githooks/check-markdown-format.sh
23-
args: ["check=staged-changes"]
24-
language: script
25-
pass_filenames: false
2618
- repo: local
2719
hooks:
2820
- id: check-english-usage

scripts/githooks/check-markdown-format.sh

Lines changed: 0 additions & 109 deletions
This file was deleted.

0 commit comments

Comments
 (0)