Skip to content

Commit de16e88

Browse files
willieyzmkannwischer
authored andcommitted
CI: Move Markdown linting to separate workflow
- Ported from mlkem-native PR#1241 - The markdown linting regularly fails because of unavailable servers. - To prevent it from blocking the full CI to be run, this commit hoists it into a separate workflow. Signed-off-by: willieyz <[email protected]>
1 parent 70e55b7 commit de16e88

File tree

3 files changed

+21
-5
lines changed

3 files changed

+21
-5
lines changed

.github/workflows/all.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ jobs:
1919
id-token: 'write'
2020
uses: ./.github/workflows/base.yml
2121
secrets: inherit
22+
lint-markdown:
23+
name: Lint Markdown
24+
permissions:
25+
contents: 'read'
26+
id-token: 'write'
27+
uses: ./.github/workflows/lint_markdown.yml
2228
nix:
2329
name: Nix
2430
permissions:

.github/workflows/base.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ jobs:
2424
nix-shell: ci-linter
2525
gh_token: ${{ secrets.GITHUB_TOKEN }}
2626
cross-prefix: "aarch64-unknown-linux-gnu-"
27-
lint-markdown-link:
28-
runs-on: ubuntu-latest
29-
steps:
30-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
31-
- uses: gaurav-nelson/github-action-markdown-link-check@3c3b66f1f7d0900e37b71eca45b63ea9eedfce31 # v1.0.17
3227
quickcheck:
3328
strategy:
3429
fail-fast: false
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# SPDX-License-Identifier: Apache-2.0 OR ISC OR MIT
2+
3+
name: Lint-Markdown
4+
permissions:
5+
contents: read
6+
on:
7+
workflow_call:
8+
workflow_dispatch:
9+
10+
jobs:
11+
lint-markdown-link:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
15+
- uses: gaurav-nelson/github-action-markdown-link-check@3c3b66f1f7d0900e37b71eca45b63ea9eedfce31 # v1.0.17

0 commit comments

Comments
 (0)