-
Notifications
You must be signed in to change notification settings - Fork 19
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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- name: Run actionlint
uses: raven-actions/actionlint@3d39aea434753780c3b3d4a1a31c854b4dbf49d7 # v2.2.0
- name: Run zizmor
uses: zizmorcore/zizmor-action@3dc1ecc9bcb9e94e9b2c709687979e1298497054 # v0.6.2
with:
# Don't integrate with GitHub Advanced Security
advanced-security: false