-
Notifications
You must be signed in to change notification settings - Fork 18
39 lines (34 loc) · 964 Bytes
/
Copy pathlint_workflows.yml
File metadata and controls
39 lines (34 loc) · 964 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Lint GitHub Actions workflows
on:
push:
branches:
- main
paths:
- '.github/workflows/**'
- '.github/dependabot.yml'
- '.github/zizmor.yml'
pull_request:
paths:
- '.github/workflows/**'
- '.github/dependabot.yml'
- '.github/zizmor.yml'
permissions: {}
jobs:
lint_workflows:
name: "Run linters"
runs-on: ubuntu-latest
permissions:
contents: read
actions: read
steps:
- name: Check out repo
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- name: Run actionlint
uses: raven-actions/actionlint@205b530c5d9fa8f44ae9ed59f341a0db994aa6f8 # v2.1.2
- name: Run zizmor
uses: zizmorcore/zizmor-action@5f14fd08f7cf1cb1609c1e344975f152c7ee938d # v0.5.6
with:
# Don't integrate with GitHub Advanced Security
advanced-security: false