-
Notifications
You must be signed in to change notification settings - Fork 7
48 lines (42 loc) · 1.3 KB
/
actionlint.yml
File metadata and controls
48 lines (42 loc) · 1.3 KB
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
40
41
42
43
44
45
46
47
48
---
# Copyright (c) NetApp, Inc.
# SPDX-License-Identifier: Apache-2.0
name: Lint
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
with:
egress-policy: audit
- name: Checkout code
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
fetch-depth: 0
- name: Super-linter
uses: super-linter/super-linter@a8150b40c89574adb5f68bf9502b890a236a06b3 # v5.7.2
env:
DEFAULT_BRANCH: main
# To report GitHub Actions status checks, you must provide a GitHub token.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_BASH: true
VALIDATE_BASH_EXEC: true
BASH_SEVERITY: "error"
VALIDATE_GITHUB_ACTIONS: true
# VALIDATE_MARKDOWN: true
# VALIDATE_NATURAL_LANGUAGE: true
VALIDATE_POWERSHELL: true
# VALIDATE_TERRAFORM_FMT: true
VALIDATE_TERRAFORM_TFLINT: true
VALIDATE_YAML: true
VALIDATE_PYTHON_PYLINT: true
VALIDATE_TYPESCRIPT_ES: true