Skip to content

Commit ee9a0d2

Browse files
committed
[CI] Add a github action linter.
The linter checks all action configs in the .github/workflows folder.
1 parent c2da4d4 commit ee9a0d2

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: 'Lint Action Configs'
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- '**'
7+
paths:
8+
- '.github/workflows/**'
9+
10+
jobs:
11+
lint-action-files:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
17+
- name: actionlint
18+
uses: raven-actions/actionlint@v2
19+
flags: "-ignore SC2086" # Variable quoting error in shellcheck

0 commit comments

Comments
 (0)