Skip to content

Commit f41b614

Browse files
committed
chore: Create github actions lint workflow
1 parent dc4f2a0 commit f41b614

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: GitHub Actions Lint
2+
3+
permissions: {}
4+
5+
on:
6+
pull_request:
7+
paths:
8+
- ".github/**"
9+
push:
10+
branches:
11+
- main
12+
paths:
13+
- ".github/**"
14+
15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.ref }}
17+
cancel-in-progress: true
18+
19+
jobs:
20+
actionlint:
21+
timeout-minutes: 5
22+
runs-on: ubuntu-latest
23+
permissions:
24+
contents: read
25+
steps:
26+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
27+
with:
28+
persist-credentials: false
29+
- uses: koki-develop/github-actions-lint/actionlint@62dfef5c9854a07712bad7af3bee7edb0c1109b1 # v1.4.1
30+
31+
ghalint:
32+
timeout-minutes: 5
33+
runs-on: ubuntu-latest
34+
permissions:
35+
contents: read
36+
steps:
37+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
38+
with:
39+
persist-credentials: false
40+
- uses: koki-develop/github-actions-lint/ghalint@62dfef5c9854a07712bad7af3bee7edb0c1109b1 # v1.4.1
41+
with:
42+
action-path: ./.github/actions/**/action.yml
43+
44+
zizmor:
45+
timeout-minutes: 5
46+
runs-on: ubuntu-latest
47+
permissions:
48+
contents: read
49+
steps:
50+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
51+
with:
52+
persist-credentials: false
53+
- uses: koki-develop/github-actions-lint/zizmor@62dfef5c9854a07712bad7af3bee7edb0c1109b1 # v1.4.1
54+
with:
55+
github-token: ${{ github.token }}
56+
persona: auditor

0 commit comments

Comments
 (0)