Skip to content

Commit 8c56222

Browse files
committed
Add actionlint checks
1 parent cb818fc commit 8c56222

1 file changed

Lines changed: 17 additions & 3 deletions

File tree

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,37 @@
1-
name: GitHub Actions Security Analysis with zizmor
1+
name: GitHub Actions Security Analysis
22

33
on:
44
push:
55
branches: [8.x]
66
paths:
77
- ".github/workflows/**"
88
- ".github/actions/**"
9-
- "zizmor.yml"
9+
- "security-analysis.yml"
1010
pull_request:
1111
types: [opened, reopened, synchronize]
1212
paths:
1313
- ".github/workflows/**"
1414
- ".github/actions/**"
15-
- "zizmor.yml"
15+
- "security-analysis.yml"
1616
workflow_dispatch:
1717

1818
permissions: {}
1919

2020
jobs:
21+
actionlint:
22+
name: Run actionlint
23+
runs-on: ubuntu-latest
24+
permissions:
25+
contents: read
26+
steps:
27+
- name: Checkout repository
28+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
29+
with:
30+
persist-credentials: false
31+
32+
- name: Run actionlint
33+
run: go run github.com/rhysd/actionlint/cmd/actionlint@v1.7.12
34+
2135
zizmor:
2236
name: Run zizmor
2337
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)