-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (33 loc) · 970 Bytes
/
lint.yml
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
---
name: lint
on:
push:
# Run superlinter on pushes to default branch
branches:
- main
# Run superlinter on pull request events
pull_request_target:
# Declare default permissions as read-only
permissions: read-all
jobs:
super-linter:
runs-on: ubuntu-24.04
permissions:
contents: read
packages: read
statuses: write
steps:
- name: 🔒 harden runner
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
with:
egress-policy: audit
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0
- name: 🧹 run superlinter
uses: super-linter/super-linter@e1cb86b6e8d119f789513668b4b30bf17fe1efe4 # v7.2.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
YAML_CONFIG_FILE: '.yamllint.yml'
VALIDATE_ALL_CODEBASE: false
MULTI_STATUS: false