Skip to content

Commit 521b16c

Browse files
CI: Minor improvements to Markdown action (#14979)
1 parent 3172f74 commit 521b16c

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/ci-markdown.yml renamed to .github/workflows/markdown.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,37 @@
11
# SPDX-License-Identifier: Apache-2.0
22
# SPDX-FileCopyrightText: 2021 The Elixir Team
33

4-
name: CI for Markdown content
4+
name: Markdown Content
55

66
on:
77
push:
88
branches:
99
- "main"
1010

11-
paths:
11+
paths: &paths-filter
1212
- "**/*.md"
13-
- ".github/workflows/ci-markdown.yml"
14-
- ".markdownlint-cli2.jsonc"
13+
- .github/workflows/markdown.yml
14+
- .markdownlint-cli2.jsonc
1515

1616
pull_request:
17-
paths:
18-
- "**/*.md"
19-
- ".github/workflows/ci-markdown.yml"
20-
- ".markdownlint-cli2.jsonc"
17+
paths: *paths-filter
2118

2219
workflow_dispatch:
2320

2421
permissions:
2522
contents: read
2623

24+
env:
25+
LANG: C.UTF-8
26+
2727
jobs:
2828
lint:
2929
name: Lint Markdown content
30+
runs-on: ubuntu-latest
3031

3132
strategy:
3233
fail-fast: false
3334

34-
runs-on: ubuntu-latest
35-
3635
steps:
3736
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
3837

0 commit comments

Comments
 (0)