Skip to content

Commit 3e869e6

Browse files
committed
Add YAML linter
1 parent 1ddbd73 commit 3e869e6

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/yaml.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
on: pull_request
3+
name: YAML
4+
permissions:
5+
contents: read
6+
7+
# Detect if this action is already running, and cancel it.
8+
# This most likely happened because a second push has been made to a branch.
9+
concurrency:
10+
group: ${{ github.repository_id }}-${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
yaml-cs-fixer:
15+
name: Yamllint
16+
runs-on: ubuntu-24.04
17+
steps:
18+
- uses: actions/checkout@v5
19+
- name: Run Yamllint
20+
uses: frenck/action-yamllint@v1.5.0
21+
with:
22+
strict: true

0 commit comments

Comments
 (0)