-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (36 loc) · 1.04 KB
/
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
36
37
38
---
name: lint
on:
workflow_dispatch:
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@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: 🧹 run superlinter
uses: super-linter/super-linter@85f7611e0f7b53c8573cca84aa0ed4344f6f6a4d # v7.2.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LINTER_RULES_PATH: '.'
YAML_CONFIG_FILE: '.yamllint'
VALIDATE_GIT_COMMITLINT: false
VALIDATE_ALL_CODEBASE: false
MULTI_STATUS: false