Skip to content

Commit 050ac45

Browse files
committed
Add github-actions-lint workflow
1 parent 14e7555 commit 050ac45

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@145f4a885c4e3b5d78ba1d2d5d7a927706fc531b # v1.3.0
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@145f4a885c4e3b5d78ba1d2d5d7a927706fc531b # v1.3.0
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@145f4a885c4e3b5d78ba1d2d5d7a927706fc531b # v1.3.0
54+
with:
55+
github-token: ${{ github.token }}
56+
persona: auditor

0 commit comments

Comments
 (0)